numam-dpdk/drivers/net/af_xdp
Baruch Siach 0f2ffb49ce net/af_xdp: fix zero-copy Tx queue drain
Call xsk_ring_prod__submit() before kick_tx() so that the kernel
consumer sees the updated state of Tx ring. Otherwise, Tx packets are
stuck in the ring until the next call to af_xdp_tx_zc().

Fixes: d8a210774e ("net/af_xdp: support unaligned umem chunks")
Cc: stable@dpdk.org

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Acked-by: Ciara Loftus <ciara.loftus@intel.com>
2021-09-07 17:55:23 +02:00
..
af_xdp_deps.h net/af_xdp: introduce AF_XDP PMD 2019-04-05 17:45:22 +02:00
compat.h net/af_xdp: fix build with Linux < 5.4 2021-05-11 16:11:26 +02:00
meson.build drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
rte_eth_af_xdp.c net/af_xdp: fix zero-copy Tx queue drain 2021-09-07 17:55:23 +02:00
version.map version: 21.11-rc0 2021-08-17 08:37:52 +02:00