net/ixgbe: check status of getting link info
authorIgor Romanov <igor.romanov@oktetlabs.ru>
Tue, 10 Sep 2019 08:25:45 +0000 (09:25 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:54 +0000 (15:00 +0200)
commitafcb9ec5111244c83500937a61aaa25cd2bc247c
tree72d90ad523e46ae242945428fa6d3d1a1ac89089
parentfc1134c79283f8a3c954c32020390a22efef95e6
net/ixgbe: check status of getting link info

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

Signed-off-by: Igor Romanov <igor.romanov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/ixgbe/ixgbe_ethdev.c