]> git.baikalelectronics.ru Git - kernel.git/commit
qlcnic: Fix ethtool statistics length calculation
authorShahed Shaikh <shahed.shaikh@qlogic.com>
Thu, 9 Jan 2014 17:41:05 +0000 (12:41 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Jan 2014 18:25:29 +0000 (13:25 -0500)
commitc51b955c779e5134d2c492ffc372c949eea90679
tree969390a2222d317eed63b62ca07e76f103bc2c2a
parentc10cbab5843e5d85bf44f35ec47710f01ec07fb3
qlcnic: Fix ethtool statistics length calculation

o Consider number of Tx queues while calculating the length of
  Tx statistics as part of ethtool stats.
o Calculate statistics lenght properly for 82xx and 83xx adapter

Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c