diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2008-07-08 18:07:24 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-07-11 01:20:31 -0400 |
commit | e21ed3538f1946ea623caf28f1c44ede50224275 (patch) | |
tree | b4ba81094a95de0d9396ded4e992699cbc3f6393 /drivers/net/igb/igb_main.c | |
parent | 661086df6cf35f62d0aec09ccb9164eb2baaaecd (diff) |
igb: update ethtool stats to support multiqueue
Addesses problems seen earlier with igb driver not correctly reporting rx
and tx stats.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/igb/igb_main.c')
-rw-r--r-- | drivers/net/igb/igb_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c index e11a5dae668a..f975bfec2265 100644 --- a/drivers/net/igb/igb_main.c +++ b/drivers/net/igb/igb_main.c | |||
@@ -3431,6 +3431,8 @@ done_cleaning: | |||
3431 | } | 3431 | } |
3432 | tx_ring->total_bytes += total_bytes; | 3432 | tx_ring->total_bytes += total_bytes; |
3433 | tx_ring->total_packets += total_packets; | 3433 | tx_ring->total_packets += total_packets; |
3434 | tx_ring->tx_stats.bytes += total_bytes; | ||
3435 | tx_ring->tx_stats.packets += total_packets; | ||
3434 | adapter->net_stats.tx_bytes += total_bytes; | 3436 | adapter->net_stats.tx_bytes += total_bytes; |
3435 | adapter->net_stats.tx_packets += total_packets; | 3437 | adapter->net_stats.tx_packets += total_packets; |
3436 | return retval; | 3438 | return retval; |