examples/l2fwd-event: check function errors
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Thu, 21 Nov 2019 18:27:15 +0000 (23:57 +0530)
committerJerin Jacob <jerinj@marvell.com>
Tue, 26 Nov 2019 06:49:30 +0000 (07:49 +0100)
commit8b33aa7ee2bf8a4f0d48130fecacdab0fe7011f8
tree20ef9e3102703e6199acc3b213097756532b80ed
parent79b9f3d7f87da14e34d66a395b19fb21580dfde0
examples/l2fwd-event: check function errors

Validate `rte_eth_link_get_nowait`, `rte_service_map_lcore_set` and
`rte_eth_dev_info_get` return values.

Coverity issue: 350600
Coverity issue: 350601
Coverity issue: 350602

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
examples/l2fwd-event/l2fwd_common.c
examples/l2fwd-event/l2fwd_event.c
examples/l2fwd-event/main.c