numam-dpdk/drivers/net/af_xdp
Xiaoyun Li b275e298c1 net/af_xdp: allow using copy mode in XSK
DPDK assumes that users only want AF_XDP socket (XSK) into zero copy
mode when the kernel supports it. However, sometimes kernel driver
doesn't support it well and copy mode is more stable and preferred.

This patch allows using devarg "-a xx:xx.x,force_copy=1" to force the
AF_XDP socket into copy mode.

Signed-off-by: Xiaoyun Li <xiaoyun.li@intel.com>
Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
2022-06-23 12:49:51 +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: make compatible with libbpf >= 0.7.0 2022-02-18 11:37:34 +01:00
meson.build net/af_xdp: make compatible with libbpf >= 0.7.0 2022-02-18 11:37:34 +01:00
rte_eth_af_xdp.c net/af_xdp: allow using copy mode in XSK 2022-06-23 12:49:51 +02:00
version.map version: 21.11-rc0 2021-08-17 08:37:52 +02:00