Re: [PATCH v2 bpf-next 06/17] libbpf: xsk: use bpf_link

2021-03-22 Thread Maciej Fijalkowski
On Mon, Mar 15, 2021 at 10:34:11PM -0700, Andrii Nakryiko wrote: > On Thu, Mar 11, 2021 at 7:42 AM Maciej Fijalkowski > wrote: > > > > Currently, if there are multiple xdpsock instances running on a single > > interface and in case one of the instances is terminated, the rest of > > them are left

Re: [PATCH v2 bpf-next 06/17] libbpf: xsk: use bpf_link

2021-03-15 Thread Andrii Nakryiko
On Thu, Mar 11, 2021 at 7:42 AM Maciej Fijalkowski wrote: > > Currently, if there are multiple xdpsock instances running on a single > interface and in case one of the instances is terminated, the rest of > them are left in an inoperable state due to the fact of unloaded XDP > prog from interface.

[PATCH v2 bpf-next 06/17] libbpf: xsk: use bpf_link

2021-03-11 Thread Maciej Fijalkowski
Currently, if there are multiple xdpsock instances running on a single interface and in case one of the instances is terminated, the rest of them are left in an inoperable state due to the fact of unloaded XDP prog from interface. Consider the scenario below: // load xdp prog and xskmap and add e