diff options
author | Himanshu Madhani <himanshu.madhani@qlogic.com> | 2013-12-16 15:36:58 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-17 16:24:50 -0500 |
commit | f9566265d7b44fea789072dcfa9a454e7e433af6 (patch) | |
tree | dad3b78e251ba491fb1b63f7a897780789f0233d /drivers/net/appletalk/cops_ffdrv.h | |
parent | 3bf517df0d99f1cf5d369c73ab68e0afe6a3c2f9 (diff) |
qlcnic: Fix TSS/RSS ring validation logic.
o TSS/RSS ring validation does not take into account that either
of these ring values can be 0. This patch fixes this validation
and would fail set_channel operation if any of these ring value
is 0. This regression was added as part of commit id
34e8c406fda5b5a9d2e126a92bab84cd28e3b5fa ("qlcnic: refactor Tx/SDS
ring calculation and validation in driver.")
Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/appletalk/cops_ffdrv.h')
0 files changed, 0 insertions, 0 deletions