app/eventdev: add Tx first option to pipeline mode
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Wed, 25 May 2022 09:00:52 +0000 (14:30 +0530)
committerJerin Jacob <jerinj@marvell.com>
Mon, 13 Jun 2022 05:59:42 +0000 (07:59 +0200)
commitc9043624e30e4081737671a52e6c7309e4e8b7b7
tree44cd8f2afe9207ad3d3c7cb9efefce441a8e3d2e
parent31edfc4af90b0d17bfd4fb3882f520deb0d63b36
app/eventdev: add Tx first option to pipeline mode

Add Tx first support to pipeline mode tests, the transmission is done
on all the ethernet ports. This helps in testing eventdev performance
with standalone loopback interfaces.

Example:
./dpdk-test-eventdev ... -- ... --tx_first 512

512 defines the number of packets to transmit.
Add an option Tx packet size, the default packet size is 64.

Following example can change packet size value as 320.

Example:
./dpdk-test-eventdev ... -- ... --tx_first 512 --tx_pkt_sz 320

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
app/test-eventdev/evt_common.h
app/test-eventdev/evt_options.c
app/test-eventdev/evt_options.h
app/test-eventdev/test_pipeline_common.c
app/test-eventdev/test_pipeline_common.h
doc/guides/tools/testeventdev.rst