examples/l2fwd-event: fix event device config
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Fri, 20 Dec 2019 14:27:41 +0000 (19:57 +0530)
committerJerin Jacob <jerinj@marvell.com>
Tue, 14 Jan 2020 19:20:15 +0000 (20:20 +0100)
commit345a22d5ec1ab70e9d965ae50558049e6c0f2f8d
treef081b728ddb5b03663242369161c212728fc6819
parent5747c83257306ad8e546e456fcfe8e89dac48bf9
examples/l2fwd-event: fix event device config

Always enable implicit release since we don't support explicit release
in datapath.
Master lcore is used only for printing stats so don't allocate event
port for it.
Fix service launch for event device without distributed scheduling.

Fixes: bcb6f841d42a ("examples/l2fwd-event: setup service core")
Cc: stable@dpdk.org
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
examples/l2fwd-event/l2fwd_event.c
examples/l2fwd-event/l2fwd_event_generic.c
examples/l2fwd-event/l2fwd_event_internal_port.c