net/enic: set rte errno to positive value
authorJohn Daley <johndale@cisco.com>
Thu, 3 May 2018 19:37:10 +0000 (12:37 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 14 May 2018 21:31:50 +0000 (22:31 +0100)
commit579cc855af69099d52edd69b96c608254ad5f295
tree196e8ed825f9b2da6139709a943f2302f4bc507f
parent95faa2a9dfb2e9567b20be6afa66d494c057f99b
net/enic: set rte errno to positive value

Related to d9fff8a31, where rte_errno should always have positive
errno values.

Technically this is an ABI change since it fixes an error code
introduced in 18.02, but is minor and inconsequential.

Fixes: 1e81dbb5321b ("net/enic: add Tx prepare handler")
Cc: stable@dpdk.org
Signed-off-by: Hyong Youb Kim <hyonkim@cisco.com>
Reviewed-by: John Daley <johndale@cisco.com>
Reviewed-by: Aaron Conole <aconole@redhat.com>
drivers/net/enic/enic_rxtx.c