ixgbe: Fix erroneous display of stats by ethtool -S
authorAjit Khaparde <ajitk@serverengines.com>
Tue, 13 Oct 2009 01:47:33 +0000 (01:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Oct 2009 18:48:26 +0000 (11:48 -0700)
commit29c3a050f83c524218b1baa4e43aedd21501b338
tree8ed7d65427171884413d40f84f5d377657adee66
parent70f9cf8951e5253cfef821f8dcb92f6fc3af50c6
ixgbe: Fix erroneous display of stats by ethtool -S

Commit 59aa3cc4 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/ixgbe/ixgbe_ethtool.c