examples/l2fwd-event: support event vector
authorShijith Thotton <sthotton@marvell.com>
Mon, 27 Sep 2021 06:21:35 +0000 (11:51 +0530)
committerJerin Jacob <jerinj@marvell.com>
Thu, 21 Oct 2021 08:16:00 +0000 (10:16 +0200)
commit796b07e9c6b78183c93cf6292c218aff4f8521bb
treea33f3528150dd1e5921f39a281347763704985b9
parente8adca1951d45064246b8668946bd12841cfd18b
examples/l2fwd-event: 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-l2fwd-event -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>
doc/guides/sample_app_ug/l2_forward_event.rst
examples/l2fwd-event/l2fwd_common.h
examples/l2fwd-event/l2fwd_event.c
examples/l2fwd-event/l2fwd_event_generic.c
examples/l2fwd-event/l2fwd_event_internal_port.c
examples/l2fwd-event/main.c