summaryrefslogtreecommitdiffstats
path: root/src/plugins/avf/avf.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-05-30 12:49:32 +0200
committerDamjan Marion <damarion@cisco.com>2018-06-02 11:50:23 +0200
commitba614d63a8dabaf95f012323c5f9bfba4a23f5cf (patch)
tree8d177ddd31bc0277df74a59b253422abc508b981 /src/plugins/avf/avf.h
parent4bc1796b346efd10f3fb19b176ff089179263a24 (diff)
AVF input node rework
Change-Id: Ib121b24935d5c706cfba6e4b6d321086a38cad91 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/avf/avf.h')
-rw-r--r--src/plugins/avf/avf.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/avf/avf.h b/src/plugins/avf/avf.h
index 5db40746541..bd5af01adf8 100644
--- a/src/plugins/avf/avf.h
+++ b/src/plugins/avf/avf.h
@@ -122,15 +122,13 @@ typedef struct
typedef struct
{
- u32 bi;
u32 status;
u16 length;
- u16 tail_length;
u8 ptype;
u8 error;
} avf_rx_vector_entry_t;
-STATIC_ASSERT_SIZEOF (avf_rx_vector_entry_t, 16);
+STATIC_ASSERT_SIZEOF (avf_rx_vector_entry_t, 8);
#define AVF_RX_VECTOR_SZ VLIB_FRAME_SIZE
@@ -146,6 +144,7 @@ typedef struct
CLIB_CACHE_LINE_ALIGN_MARK (cacheline0);
avf_rx_vector_entry_t rx_vector[AVF_RX_VECTOR_SZ];
u32 *to_free;
+ vlib_buffer_t buffer_template;
} avf_per_thread_data_t;
typedef struct