Re: [PATCH bpf-next] libbpf: fix compatibility problem in xsk_socket__create

2020-10-06 Thread Magnus Karlsson
On Mon, Oct 5, 2020 at 4:37 PM Daniel Borkmann wrote: > > On 10/2/20 3:36 PM, Magnus Karlsson wrote: > > From: Magnus Karlsson > > > > Fix a compatibility problem when the old XDP_SHARED_UMEM mode is used > > together with the xsk_socket__create() call. In the old XDP_SHARED_UMEM > > mode, only s

Re: [PATCH bpf-next] libbpf: fix compatibility problem in xsk_socket__create

2020-10-05 Thread Daniel Borkmann
On 10/2/20 3:36 PM, Magnus Karlsson wrote: From: Magnus Karlsson Fix a compatibility problem when the old XDP_SHARED_UMEM mode is used together with the xsk_socket__create() call. In the old XDP_SHARED_UMEM mode, only sharing of the same device and queue id was allowed, and in this mode, the fi

[PATCH bpf-next] libbpf: fix compatibility problem in xsk_socket__create

2020-10-02 Thread Magnus Karlsson
From: Magnus Karlsson Fix a compatibility problem when the old XDP_SHARED_UMEM mode is used together with the xsk_socket__create() call. In the old XDP_SHARED_UMEM mode, only sharing of the same device and queue id was allowed, and in this mode, the fill ring and completion ring were shared betwe