examples/l3fwd: support event vector
authorShijith Thotton <sthotton@marvell.com>
Mon, 27 Sep 2021 04:57:42 +0000 (10:27 +0530)
committerJerin Jacob <jerinj@marvell.com>
Thu, 21 Oct 2021 08:16:00 +0000 (10:16 +0200)
commite8adca1951d45064246b8668946bd12841cfd18b
tree2b7eb71b9a6ee91ba7e4a395175144ba4986b778
parent81da8a5ff440eda60635c849c9e9b3d253838da9
examples/l3fwd: support event vector

Added changes to receive packets as event vector. By default this is
disabled and can be enabled using the option --event-vector. Vector
size and timeout to form the vector can be configured using options
--event-vector-size and --event-vector-tmo.

Example:
dpdk-l3fwd -l 0-3 -n 4 -- -p 0x03 --mode=eventdev \
--eventq-sched=ordered --event-vector --event-vector-size 16

Signed-off-by: Shijith Thotton <sthotton@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
12 files changed:
doc/guides/sample_app_ug/l3_forward.rst
examples/l3fwd/l3fwd.h
examples/l3fwd/l3fwd_em.c
examples/l3fwd/l3fwd_em.h
examples/l3fwd/l3fwd_em_hlm.h
examples/l3fwd/l3fwd_em_sequential.h
examples/l3fwd/l3fwd_event.c
examples/l3fwd/l3fwd_event.h
examples/l3fwd/l3fwd_event_internal_port.c
examples/l3fwd/l3fwd_fib.c
examples/l3fwd/l3fwd_lpm.c
examples/l3fwd/main.c