e1000: Fix erroneous display of stats by ethtool -S
authorAjit Khaparde <ajitk@serverengines.com>
Tue, 13 Oct 2009 01:45:48 +0000 (01:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Oct 2009 18:48:28 +0000 (11:48 -0700)
commit8328c38fcda2743249fd142174acf025d4cdd21f
tree40c920ed68896e0c71290d2e0b00cac5108ac8b5
parente0f36a95c7adb6551188cdcc5a7031ce106fccbf
e1000: Fix erroneous display of stats by ethtool -S

Commit 23d26497 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/e1000/e1000_ethtool.c