net/ena: fix errno to positive value
authorMichal Krawczyk <mk@semihalf.com>
Fri, 25 Jan 2019 08:10:26 +0000 (09:10 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 27 Jan 2019 22:38:37 +0000 (23:38 +0100)
commitbaeed5f404dd1b049118cfec26a2fd3203671572
treef8b03388750c70ecddf971805474eb1147b94ae3
parentfd9768905870856a2340266d25f8c0100dfccfff
net/ena: fix errno to positive value

The rte_errno shouldn't have assigned negative error codes, so it has
to be fixed.

Fixes: b3fc5a1ae10d ("net/ena: add Tx preparation")
Cc: stable@dpdk.org
Signed-off-by: Michal Krawczyk <mk@semihalf.com>
drivers/net/ena/ena_ethdev.c