summaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/af_packet/af_packet.h
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2022-08-30 13:29:06 +0000
committerBeno�t Ganne <bganne@cisco.com>2022-08-31 09:15:31 +0000
commit89733a15ce329a69bb37ea91ceab7a50064ec0a0 (patch)
treeea817f63b00b8dedbb4ba1e300e13ecdb09de44d /src/vnet/devices/af_packet/af_packet.h
parent36cb2f03ae4448332869ca1d43c88ed91609f45b (diff)
devices: add support for polling mode
Type: improvement Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com> Change-Id: I8d84dc8b7f5c5e863c32838cfafc3d366e2a7e00
Diffstat (limited to 'src/vnet/devices/af_packet/af_packet.h')
-rw-r--r--src/vnet/devices/af_packet/af_packet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/devices/af_packet/af_packet.h b/src/vnet/devices/af_packet/af_packet.h
index e5dc6151361..940acbb1372 100644
--- a/src/vnet/devices/af_packet/af_packet.h
+++ b/src/vnet/devices/af_packet/af_packet.h
@@ -118,6 +118,7 @@ typedef struct
CLIB_CACHE_LINE_ALIGN_MARK (cacheline0);
af_packet_if_t *interfaces;
+ u32 polling_count;
/* rx buffer cache */
u32 **rx_buffers;