ethdev: fix errno to have positive value
authorAndrew Rybchenko <arybchenko@solarflare.com>
Mon, 21 Jan 2019 16:18:35 +0000 (16:18 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 22 Jan 2019 16:03:10 +0000 (17:03 +0100)
commit8e0c8dcf3507ae812f1abcd5247617917f131dae
treeffd3e3d5636f32c2a5a0a3f5f5945524248392f3
parent47f4fe0595fda08e0e4b8a26ad249dd52b95186f
ethdev: fix errno to have positive value

rte_errno should be set to positive value from errno.h plus
few RTE-specific values.

Fixes: 4fb7e803eb1a ("ethdev: add Tx preparation")
Fixes: 439a90b5f2a7 ("ethdev: reorder inline functions")
Cc: stable@dpdk.org
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
lib/librte_ethdev/rte_ethdev.h