From 0f208be22b1bfeb73df20cfc77df158f92135995 Mon Sep 17 00:00:00 2001 From: Greg Rose Date: Fri, 31 Aug 2012 05:59:28 +0000 Subject: [PATCH] --- yaml --- r: 328065 b: refs/heads/master c: ac6ed8f00aca7dd1abf0c90bcb3c8e46e7f44243 h: refs/heads/master i: 328063: cd3e41ca4467be768cc2476da3e4fb1de325a187 v: v3 --- [refs] | 2 +- trunk/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 4792105b3f57..47a47842d32b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b3d58a8fa6c8d4bcd6b2b64656be166aff9183b0 +refs/heads/master: ac6ed8f00aca7dd1abf0c90bcb3c8e46e7f44243 diff --git a/trunk/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c b/trunk/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c index cb215c65f463..37bbd86529e3 100644 --- a/trunk/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c +++ b/trunk/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c @@ -263,6 +263,8 @@ static bool ixgbevf_clean_tx_irq(struct ixgbevf_q_vector *q_vector, tx_ring->total_bytes += total_bytes; tx_ring->total_packets += total_packets; u64_stats_update_end(&tx_ring->syncp); + q_vector->tx.total_bytes += total_bytes; + q_vector->tx.total_packets += total_packets; return count < tx_ring->count; } @@ -488,6 +490,8 @@ static bool ixgbevf_clean_rx_irq(struct ixgbevf_q_vector *q_vector, rx_ring->total_packets += total_rx_packets; rx_ring->total_bytes += total_rx_bytes; u64_stats_update_end(&rx_ring->syncp); + q_vector->rx.total_packets += total_rx_packets; + q_vector->rx.total_bytes += total_rx_bytes; return !!budget; }