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

Commit 337e067d 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/igb/igb_ethtool.c