e1000e: Fix erroneous display of stats by ethtool -S
authorAjit Khaparde <ajitk@serverengines.com>
Tue, 13 Oct 2009 01:45:09 +0000 (01:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Oct 2009 18:48:27 +0000 (11:48 -0700)
commite0f36a95c7adb6551188cdcc5a7031ce106fccbf
tree9314f67e01886500400c6753e66f79053aa6f403
parent29c3a050f83c524218b1baa4e43aedd21501b338
e1000e: Fix erroneous display of stats by ethtool -S

Commit fd8235bb 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/e1000e/ethtool.c