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)
commitd6e9c89a8d3cf0a5184badbcd50169179af27721
tree969390a2222d317eed63b62ca07e76f103bc2c2a
parent1ac6762a0b8f5f2dc35ea869a08da25c68d7a8ba
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