examples/l2fwd-event: fix error checking
authorSunil Kumar Kori <skori@marvell.com>
Thu, 30 Jan 2020 08:19:12 +0000 (13:49 +0530)
committerJerin Jacob <jerinj@marvell.com>
Sat, 15 Feb 2020 07:04:46 +0000 (08:04 +0100)
commit8cecdc7e4190f3f04d1c918393a4a56b742d60a6
treea98e27a5de694d3c198b72df4a7c263412c9dfff
parent5df2c07d7eeecd0cd13155f20aabc264632e0cde
examples/l2fwd-event: fix error checking

Patch fixes coverity issues which handle return values from API
calling.

Coverity issue: 350588, 350594, 350598, 350599

Fixes: 3b5476db4823 ("examples/l2fwd-event: setup event queue and port")
Cc: stable@dpdk.org
Signed-off-by: Sunil Kumar Kori <skori@marvell.com>
Acked-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
examples/l2fwd-event/l2fwd_event_generic.c
examples/l2fwd-event/l2fwd_event_internal_port.c