ixgb: Fix erroneous display of stats by ethtool -S
authorAjit Khaparde <ajitk@serverengines.com>
Tue, 13 Oct 2009 01:46:56 +0000 (01:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Oct 2009 18:48:29 +0000 (11:48 -0700)
commitd189a7e85835dbfb22b1d04eb7f3ab575ccacb96
tree9013f68edbde3dd07f090235a3c11248e8433a41
parent231835e4163cf14c90e295f1729004f571ee1cc7
ixgb: Fix erroneous display of stats by ethtool -S

Commit 5675f221 overlooked the way offsets for netdev stats were considered.
Because of this some of the stats shown by ethtool -S were wrong.
This patch fixes it.

Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgb/ixgb_ethtool.c