u16 last_head;
u16 last_tail;
u32 *buffers;
+ u8 buffer_pool_index;
/* interrupts */
int int_fd;
memif_copy_op_t *copy_ops;
u32 *buffers;
+ memif_desc_t desc_template;
/* buffer template */
vlib_buffer_t buffer_template;
- memif_desc_t desc_template;
} memif_per_thread_data_t;
typedef struct
extern vnet_device_class_t memif_device_class;
extern vlib_node_registration_t memif_input_node;
-enum
+typedef enum
{
MEMIF_PROCESS_EVENT_START = 1,
MEMIF_PROCESS_EVENT_STOP = 2,