summaryrefslogtreecommitdiff
path: root/app/test-pmd/testpmd.h
diff options
context:
space:
mode:
authorYongseok Koh <yskoh@mellanox.com>2019-03-28 11:46:28 -0700
committerFerruh Yigit <ferruh.yigit@intel.com>2019-03-29 19:42:42 +0100
commit82010ef55e7cb4948b4bf4ff229716a3a142e95c (patch)
treef475d4695df344cacbb5e0114e404fba4662e82d /app/test-pmd/testpmd.h
parent0c85cab92f3a9a5ebb81d7ceadd3f775f2d5c6ff (diff)
downloaddpdk-next-eventdev-82010ef55e7cb4948b4bf4ff229716a3a142e95c.zip
dpdk-next-eventdev-82010ef55e7cb4948b4bf4ff229716a3a142e95c.tar.gz
dpdk-next-eventdev-82010ef55e7cb4948b4bf4ff229716a3a142e95c.tar.xz
app/testpmd: make txonly mode generate multiple flows
Testpmd can generate multiple flows without taking much cost and this could be a simple traffic generator for developer's quick tests. If "--txonly-multi-flow" is specified in the command line, IP source address is varied to generate multiple flows. Signed-off-by: Yongseok Koh <yskoh@mellanox.com> Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
Diffstat (limited to 'app/test-pmd/testpmd.h')
-rw-r--r--app/test-pmd/testpmd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/test-pmd/testpmd.h b/app/test-pmd/testpmd.h
index f43b1a7..a45988e 100644
--- a/app/test-pmd/testpmd.h
+++ b/app/test-pmd/testpmd.h
@@ -432,6 +432,8 @@ enum tx_pkt_split {
extern enum tx_pkt_split tx_pkt_split;
+extern uint8_t txonly_multi_flow;
+
extern uint16_t nb_pkt_per_burst;
extern uint16_t mb_mempool_cache;
extern int8_t rx_pthresh;