examples/l2fwd-event: add infra to split eventdev framework
authorSunil Kumar Kori <skori@marvell.com>
Wed, 30 Oct 2019 16:26:44 +0000 (21:56 +0530)
committerJerin Jacob <jerinj@marvell.com>
Mon, 4 Nov 2019 17:09:10 +0000 (18:09 +0100)
commit69de9488991b9d3e3df7f9204884b11324cb6eeb
treed6c4f33822d89764cfe231d43c649a310c5b9f37
parent1b2143aa681ae2412da98a076e46c477fafb8588
examples/l2fwd-event: add infra to split eventdev framework

Add infra to split eventdev framework based on event Tx adapter
capability.
If event Tx adapter has internal port capability then we use
`rte_event_eth_tx_adapter_enqueue` to transmitting packets else
we use a SINGLE_LINK event queue to enqueue packets to a service
core which is responsible for transmitting packets.

Signed-off-by: Sunil Kumar Kori <skori@marvell.com>
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Acked-by: Nipun Gupta <nipun.gupta@nxp.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
examples/l2fwd-event/Makefile
examples/l2fwd-event/l2fwd_event.c
examples/l2fwd-event/l2fwd_event.h
examples/l2fwd-event/l2fwd_event_generic.c [new file with mode: 0644]
examples/l2fwd-event/l2fwd_event_internal_port.c [new file with mode: 0644]
examples/l2fwd-event/meson.build