diff options
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2008-08-26 04:27:05 -0700 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-09-03 10:03:33 -0400 |
commit | 036c9b097034b4ea82974f7c98d10ec7fbf81902 (patch) | |
tree | 17a57a64482d57ae9b4c4315666c70ce24e1aea4 /drivers/net/ixgbe | |
parent | 2c5645cf65dc6dce15dac47a7cdfabb85224fede (diff) | |
download | kernel_samsung_aries-036c9b097034b4ea82974f7c98d10ec7fbf81902.zip kernel_samsung_aries-036c9b097034b4ea82974f7c98d10ec7fbf81902.tar.gz kernel_samsung_aries-036c9b097034b4ea82974f7c98d10ec7fbf81902.tar.bz2 |
ixgbe: do not update stats twice each receive
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@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/ixgbe')
-rw-r--r-- | drivers/net/ixgbe/ixgbe_main.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c index 87ef2db..50737cc 100644 --- a/drivers/net/ixgbe/ixgbe_main.c +++ b/drivers/net/ixgbe/ixgbe_main.c @@ -664,9 +664,6 @@ next_desc: if (cleaned_count) ixgbe_alloc_rx_buffers(adapter, rx_ring, cleaned_count); - adapter->net_stats.rx_bytes += total_rx_bytes; - adapter->net_stats.rx_packets += total_rx_packets; - rx_ring->total_packets += total_rx_packets; rx_ring->total_bytes += total_rx_bytes; adapter->net_stats.rx_bytes += total_rx_bytes; |