Is it possible to add a new option (XDP_ATTACH_MODE) to AF_XDP PMD https://doc.dpdk.org/guides/nics/af_xdp.html#options ?//Re: Can DPDK AF_XDP PMD support macvlan driver in container?

2025-01-05 Thread Xiaohua Wang
fg.xdp_flags |= XDP_FLAGS_HW_MODE; else AF_XDP_LOG(INFO,"XDP attach mode enviroment variable shall be 1 or 2 or 3.\n"); } else { AF_XDP_LOG(INFO,"No XDP attach mode enviroment variable.\n"); } ==

RE: Can DPDK AF_XDP PMD support macvlan driver in container?

2024-10-23 Thread Xiaohua Wang
t variable shall be 1 or 2 or 3.\n"); } else { AF_XDP_LOG(INFO,"No XDP attach mode enviroment variable.\n"); } /* =new added code ==*/ -Original Message- From: Stephen Hemminger Sent: Thursday,

Can DPDK AF_XDP PMD support macvlan driver in container?

2024-10-23 Thread Xiaohua Wang
Hi, dpdk-testpmd with AF_XDP PMD can't work on p1p1 (macvlan) interface, but can work on eth0 (veth) interface. And is there a method to enable AF_XDP PMD to work in XDP SKB mode? Or add one option to set "SKB mode" in AF_XDP Options ? ===