summaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/virtio/virtio.h
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2022-09-14 11:25:54 +0000
committerBeno�t Ganne <bganne@cisco.com>2022-09-16 16:16:53 +0000
commitdd0144a4563212e193b517d05b231350d58fa53e (patch)
treee4634fcf73ab639292aebebd22f76fa9e5928c9a /src/vnet/devices/virtio/virtio.h
parentc795b8836d83b4b062aa21423f842aa765269c2c (diff)
virtio: add support for per queue packet counter
Type: improvement Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com> Change-Id: I21a701a556b88a9d81f0e074a59fa34b3746b1d9
Diffstat (limited to 'src/vnet/devices/virtio/virtio.h')
-rw-r--r--src/vnet/devices/virtio/virtio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/devices/virtio/virtio.h b/src/vnet/devices/virtio/virtio.h
index e12198c3bf8..431b1d25c26 100644
--- a/src/vnet/devices/virtio/virtio.h
+++ b/src/vnet/devices/virtio/virtio.h
@@ -110,6 +110,7 @@ typedef struct
vnet_hw_if_rx_mode mode;
virtio_vring_buffering_t *buffering;
gro_flow_table_t *flow_table;
+ u64 total_packets;
} vnet_virtio_vring_t;
typedef union