net/af_xdp: fix typos in Rx function
authorXiaolong Ye <xiaolong.ye@intel.com>
Wed, 17 Apr 2019 13:49:46 +0000 (21:49 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 19 Apr 2019 12:51:54 +0000 (14:51 +0200)
commitbc902974d7c355248717ec7cea1f3a1328082244
tree94c67177a934b3d0c45ab57ca107703af80492b6
parent10edf857fde473d34d794883024e6330f397714d
net/af_xdp: fix typos in Rx function

We should use ETH_AF_XDP_RX_BATCH_SIZE in Rx function rather than
ETH_AF_XDP_TX_BATCH_SIZE.

Fixes: f1debd77efaf ("net/af_xdp: introduce AF_XDP PMD")

Reported-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Xiaolong Ye <xiaolong.ye@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
drivers/net/af_xdp/rte_eth_af_xdp.c