]> 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)
commit7b7c01ee921c59cba6aec271935c19be32f8d866
tree969390a2222d317eed63b62ca07e76f103bc2c2a
parent14390dea0dd14255dcf8292f49d8805e9ab15a02
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