X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fpg%2Fpg.h;h=16463c2a8c50e586e214f535e4e7fa1b9d6d2581;hb=3c8e14684d32c19529c471a747bc9693a2801335;hp=ab3ae44aed6360a7d146f052515555033f30677e;hpb=b7b929931a07fbb27b43d5cd105f366c3e29807e;p=vpp.git diff --git a/src/vnet/pg/pg.h b/src/vnet/pg/pg.h index ab3ae44aed6..16463c2a8c5 100644 --- a/src/vnet/pg/pg.h +++ b/src/vnet/pg/pg.h @@ -43,7 +43,7 @@ #include /* for VLIB_N_RX_TX */ #include #include /* for buffer_fifo */ -#include +#include #include extern vnet_device_class_t pg_dev_class; @@ -89,8 +89,6 @@ typedef struct /* Buffers pre-initialized with fixed buffer data for this stream. */ u32 *buffer_fifo; - /* Buffer free list for this buffer index in stream. */ - vlib_buffer_free_list_index_t free_list_index; } pg_buffer_index_t; typedef struct pg_stream_t @@ -328,6 +326,9 @@ typedef struct pg_main_t pg_interface_t *interfaces; uword *if_index_by_if_id; + /* Vector of buffer indices for use in pg_stream_fill_replay, per thread */ + u32 **replay_buffers_by_thread; + /* Per VLIB node information. */ pg_node_t *nodes; } pg_main_t;