app/testpmd: check status of getting link info
authorIgor Romanov <igor.romanov@oktetlabs.ru>
Tue, 10 Sep 2019 08:25:43 +0000 (09:25 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:54 +0000 (15:00 +0200)
commite661a08ba9e66838ef06b6f8865c03da8b8c9e50
treeedf1b37a442ca46ca647c61d61f5ed968cac78e0
parent4633c3b2ebf2fbbb8b6d4f7e411133a941106044
app/testpmd: check status of getting link info

Add a wrapper for rte_eth_eth_link_get_nowait() that prints an
error and returns a status code if the function fails.

Signed-off-by: Igor Romanov <igor.romanov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
app/test-pmd/config.c
app/test-pmd/softnicfwd.c
app/test-pmd/testpmd.c
app/test-pmd/testpmd.h
app/test-pmd/util.c