examples/l3fwd: split pipelines based on capability
authorSunil Kumar Kori <skori@marvell.com>
Tue, 28 Jan 2020 05:34:56 +0000 (11:04 +0530)
committerJerin Jacob <jerinj@marvell.com>
Tue, 28 Jan 2020 09:04:44 +0000 (10:04 +0100)
commit9176e1fceb742af235b32a4decc09be9e5a814b6
treebecfc430938b5c2dfe24edef31ace96330d6065a
parente2de1f7bb9668415c8fdfce6b736112bfb24f377
examples/l3fwd: split pipelines based on capability

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>
Acked-by: Jerin Jacob <jerinj@marvell.com>
examples/l3fwd/Makefile
examples/l3fwd/l3fwd_event.c
examples/l3fwd/l3fwd_event.h
examples/l3fwd/l3fwd_event_generic.c [new file with mode: 0644]
examples/l3fwd/l3fwd_event_internal_port.c [new file with mode: 0644]
examples/l3fwd/meson.build