net/af_xdp: change return value from Rx to unsigned
authorCiara Loftus <ciara.loftus@intel.com>
Fri, 7 Aug 2020 09:32:48 +0000 (09:32 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:07 +0000 (18:55 +0200)
commit818129790fc45bc2082d0702918c2230725db2e5
tree600184ad93344b6dcf29c6014ced2ae19caab6ea
parent4fe1edc4305b849670bd58834b7f8f881e3b2ab5
net/af_xdp: change return value from Rx to unsigned

The af_xdp rx function was returning a negative value on error, when an
unsigned value is expected. Fix this.

Fixes: d8a210774e1d ("net/af_xdp: support unaligned umem chunks")
Cc: stable@dpdk.org
Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/af_xdp/rte_eth_af_xdp.c