net/failsafe: check status of getting ethdev info
net/failsafe: check status of getting ethdev info

rte_eth_dev_info_get() return value was changed from void to
int, so this patch modify rte_eth_dev_info_get() usage across
net/failsafe according to its new return type.

Signed-off-by: Ivan Ilchenko <4969abd0c74f7021df835829a1e4d724acdbdb27@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <ac94ab2a8fe9a9a087f6e24dcbc16626b52c07e8@solarflare.com>
Acked-by: Gaetan Rivet <a6b9f1aecd7707f01344f211143eb3bcaeb0c5c3@6wind.com>

john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk