aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r--drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c b/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
index cb215c65f463..37bbd86529e3 100644
--- a/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
+++ b/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
@@ -263,6 +263,8 @@ cont_loop:
263 tx_ring->total_bytes += total_bytes; 263 tx_ring->total_bytes += total_bytes;
264 tx_ring->total_packets += total_packets; 264 tx_ring->total_packets += total_packets;
265 u64_stats_update_end(&tx_ring->syncp); 265 u64_stats_update_end(&tx_ring->syncp);
266 q_vector->tx.total_bytes += total_bytes;
267 q_vector->tx.total_packets += total_packets;
266 268
267 return count < tx_ring->count; 269 return count < tx_ring->count;
268} 270}
@@ -488,6 +490,8 @@ next_desc:
488 rx_ring->total_packets += total_rx_packets; 490 rx_ring->total_packets += total_rx_packets;
489 rx_ring->total_bytes += total_rx_bytes; 491 rx_ring->total_bytes += total_rx_bytes;
490 u64_stats_update_end(&rx_ring->syncp); 492 u64_stats_update_end(&rx_ring->syncp);
493 q_vector->rx.total_packets += total_rx_packets;
494 q_vector->rx.total_bytes += total_rx_bytes;
491 495
492 return !!budget; 496 return !!budget;
493} 497}