diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-07-23 13:44:21 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-24 20:43:19 -0700 |
commit | 55bad82385f036a844429ff8989732f0ea3bfff9 (patch) | |
tree | 29d3a16f12e526d7aa6482acaa4c5a0178408369 /net/llc/llc_c_ac.c | |
parent | 9963a8bde60f3c139b7683e2ec7e0bf83c0d7581 (diff) |
ixgbe: fix ethtool stats
In latest changes about 64bit stats on 32bit arches,
[commit 28172739f0a276eb8 (net: fix 64 bit counters on 32 bit arches)],
I missed ixgbe uses a bit of magic in its ixgbe_gstrings_stats
definition.
IXGBE_NETDEV_STAT() must now assume offsets relative to
rtnl_link_stats64, not relative do dev->stats.
As a bonus, we also get 64bit stats on ethtool -S
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/llc/llc_c_ac.c')
0 files changed, 0 insertions, 0 deletions