Re: [PATCH v2] net/af_xdp: allow using copy mode in XSK

2022-06-23 Thread Andrew Rybchenko
On 6/14/22 12:10, Xiaoyun Li wrote: 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"

[PATCH v2] net/af_xdp: allow using copy mode in XSK

2022-06-14 Thread Xiaoyun Li
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