Re: [dpdk-dev] [PATCH v2] net/af_xdp: use bpf link for XDP programs

2021-11-02 Thread Ferruh Yigit
On 10/22/2021 11:42 AM, Ciara Loftus wrote: Since v0.4.0, if the underlying kernel supports it, libbpf uses 'bpf link' to manage the programs on the interfaces of the xsks. This has two repercussions for the PMD. 1. In the case where the PMD asks libbpf to load the default XDP program, the PMD n

[dpdk-dev] [PATCH v2] net/af_xdp: use bpf link for XDP programs

2021-10-22 Thread Ciara Loftus
Since v0.4.0, if the underlying kernel supports it, libbpf uses 'bpf link' to manage the programs on the interfaces of the xsks. This has two repercussions for the PMD. 1. In the case where the PMD asks libbpf to load the default XDP program, the PMD no longer needs to remove it on teardown. This