diff options
author | Mohsin Kazmi <sykazmi@cisco.com> | 2022-09-14 11:25:54 +0000 |
---|---|---|
committer | Beno�t Ganne <bganne@cisco.com> | 2022-09-16 16:16:53 +0000 |
commit | dd0144a4563212e193b517d05b231350d58fa53e (patch) | |
tree | e4634fcf73ab639292aebebd22f76fa9e5928c9a /src/vnet/devices/virtio/virtio.h | |
parent | c795b8836d83b4b062aa21423f842aa765269c2c (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.h | 1 |
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 |