summaryrefslogtreecommitdiffstats
path: root/src/vnet/pg/pg.h
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2019-01-05 16:51:41 -0500
committerDamjan Marion <dmarion@me.com>2019-01-06 13:03:55 +0000
commit3c8e14684d32c19529c471a747bc9693a2801335 (patch)
tree697ece0e1fb22e8bdfec762b6bb7af841b300657 /src/vnet/pg/pg.h
parent30e79c2e388a98160a3660f4f03103890c9b1b7c (diff)
pktgen: support mixed multi/single chunk pcap replay
Change-Id: I3d387b5e2b17f89ed688ea6cfee3fb6d782fe326 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vnet/pg/pg.h')
-rw-r--r--src/vnet/pg/pg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vnet/pg/pg.h b/src/vnet/pg/pg.h
index 0b06803d384..16463c2a8c5 100644
--- a/src/vnet/pg/pg.h
+++ b/src/vnet/pg/pg.h
@@ -326,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;