net/memif: check status of getting link info
authorAndrew Rybchenko <arybchenko@solarflare.com>
Tue, 10 Sep 2019 08:25:46 +0000 (09:25 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:54 +0000 (15:00 +0200)
commitabfc0b9f75e28f7a6923e5c0f4ff73ba770b6587
tree531aeec4a2b8cba6959ed9eb8c791c77457906d7
parentafcb9ec5111244c83500937a61aaa25cd2bc247c
net/memif: check status of getting link info

The return value of rte_eth_link_get() was changed from void to int.
Update the usage of the function according to the new return type.

Just log error if something goes wrong.

Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/memif/rte_eth_memif.c