bfd: add tracing support to bfd-process
[vpp.git] / src / vnet / devices / af_packet / af_packet.h
index 64daaa1..940acbb 100644 (file)
@@ -36,6 +36,7 @@ typedef enum
 {
   AF_PACKET_IF_FLAGS_QDISC_BYPASS = 1,
   AF_PACKET_IF_FLAGS_CKSUM_GSO = 2,
+  AF_PACKET_IF_FLAGS_FANOUT = 4,
 } af_packet_if_flags_t;
 
 typedef struct
@@ -81,6 +82,7 @@ typedef struct
   u32 rx_frame_offset;
   u16 num_rx_pkts;
   u8 is_rx_pending;
+  u8 is_tx_pending;
   vnet_hw_if_rx_mode mode;
 } af_packet_queue_t;
 
@@ -108,6 +110,7 @@ typedef struct
 
   af_packet_ring_t *rings;
   u8 is_qdisc_bypass_enabled;
+  u8 is_fanout_enabled;
 } af_packet_if_t;
 
 typedef struct
@@ -115,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;