examples/l3fwd-graph: check link query failure
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Wed, 13 May 2020 20:22:17 +0000 (01:52 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 19 May 2020 17:15:14 +0000 (19:15 +0200)
commit1d049dc7623e4c0506c9c34dbb168ad9530daae0
tree55fedc00fbe96524bb237b2542fd56743623ac68
parentc1c48e7636ca4797e7eea606b4d0770da9064ad3
examples/l3fwd-graph: check link query failure

Fix unchecked return values reported by coverity.

Coverity issue: 350601
Fixes: ef853f1fd979 ("examples/l3fwd-graph: add ethdev configuration changes")

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Acked-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
examples/l3fwd-graph/main.c