X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fmemif%2Fprivate.h;h=187888d5b9591cceb9c6d12cb37c090863ef4e28;hb=e7c8396982607634b4c747870499671ffa53868e;hp=a938b85e7da1aa3c60ec38f73eb4d85783beaf89;hpb=d9818dd68c162079f3ddb5443a78d0d91d55d0fe;p=vpp.git diff --git a/src/plugins/memif/private.h b/src/plugins/memif/private.h index a938b85e7da..187888d5b95 100644 --- a/src/plugins/memif/private.h +++ b/src/plugins/memif/private.h @@ -123,6 +123,7 @@ typedef struct u16 last_head; u16 last_tail; u32 *buffers; + u8 buffer_pool_index; /* interrupts */ int int_fd; @@ -224,9 +225,9 @@ typedef struct 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 @@ -254,7 +255,7 @@ extern memif_main_t memif_main; 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,