diff options
author | Himanshu Madhani <himanshu.madhani@qlogic.com> | 2013-11-04 13:31:31 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-11-04 15:33:19 -0500 |
commit | 34e8c406fda5b5a9d2e126a92bab84cd28e3b5fa (patch) | |
tree | 7867f7b76c97c693425d76e424ce54aa7e0dcbd2 /mm/page_isolation.c | |
parent | f27c75b3903ab02bfe295aa58ad61ef5b756b065 (diff) | |
download | talos-obmc-linux-34e8c406fda5b5a9d2e126a92bab84cd28e3b5fa.tar.gz talos-obmc-linux-34e8c406fda5b5a9d2e126a92bab84cd28e3b5fa.zip |
qlcnic: refactor Tx/SDS ring calculation and validation in driver.
o Current driver has duplicate code for validating user input
for changing Tx/SDS rings using set_channel ethtool interface.
This patch removes duplicate code and refactored Tx/SDS ring
validation for 82xx/83xx/84xx series adapter.
o Refactored code now calculates maximum Tx/Rx ring driver can
support based on Default, NPAR and SRIOV PF/VF mode of driver.
Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/page_isolation.c')
0 files changed, 0 insertions, 0 deletions