aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/avf/input.c
diff options
context:
space:
mode:
authorDau Do <daudo@yahoo.com>2024-08-29 03:03:16 -0700
committerDau Do <daudo@yahoo.com>2024-08-29 03:06:34 -0700
commitb8d4490d9ce46ecb17899c9d40cdaae0744403fc (patch)
tree08965b1b44e745b002377426d65ccb5ac69e874a /src/plugins/avf/input.c
parentb4808de24779cd0037568cff003b915e25edbdc6 (diff)
avf: add num tx/rx packets per queue
Type: improvement Change-Id: I3459dba86eb7a784448633b69492d6d3f49db720 Signed-off-by: Dau Do <daudo@yahoo.com>
Diffstat (limited to 'src/plugins/avf/input.c')
-rw-r--r--src/plugins/avf/input.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/avf/input.c b/src/plugins/avf/input.c
index 06007db540d..890259c88ab 100644
--- a/src/plugins/avf/input.c
+++ b/src/plugins/avf/input.c
@@ -539,6 +539,8 @@ done:
else
avf_rxq_refill (vm, node, rxq, 0 /* use_va_dma */ );
+ rxq->total_packets += n_rx_packets;
+
return n_rx_packets;
}