net/ixgbe: do not return internal code
authorLuca Boccassi <bluca@debian.org>
Mon, 3 Sep 2018 14:18:11 +0000 (15:18 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 10 Sep 2018 11:31:37 +0000 (13:31 +0200)
commit8fd55a07941a3297208b7820fc8e544431fc5150
tree5983e8bd448ec0c0e7c53b64581fed1bd0ff7ce8
parent450f99ce7b34cb27f6727cea478292428b328a70
net/ixgbe: do not return internal code

In case of a temporary failure the ixgbe driver can return the internal
error IXGBE_ERR_RESET_FAILED to the application. Instead, return
-EAGAIN as per the public API specification.

Fixes: cddaf87a1ecb ("lib: fix unused values")
Cc: stable@dpdk.org
Signed-off-by: Luca Boccassi <bluca@debian.org>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.c