]> git.karo-electronics.de Git - linux-beck.git/commit
qlcnic: Enhance logic to calculate msix vectors.
authorHimanshu Madhani <himanshu.madhani@qlogic.com>
Thu, 23 Jan 2014 22:18:33 +0000 (17:18 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Jan 2014 00:13:09 +0000 (16:13 -0800)
commitcb9327d567be71ae9248d1a9bbc9c274831f5b6a
treed4cea4d1a62524136ee8059271321ed46e6e7091
parenta514722afebc59cf9d98387ee4db81ee62154df0
qlcnic: Enhance logic to calculate msix vectors.

o Refactored MSI-x vector calculation for All adapters.
  Decoupled logic in the code which was using same call to
  request MSI-x vectors in default driver load, as well as
  during set_channel() operation for TSS/RSS. This refactoring
  simplifies code for TSS/RSS code path as well as probe path
  of the driver load for all adapters.

Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c