Re: [PATCH bpf-next 00/14] xsk: support shared umems between devices and queues

2020-07-08 Thread Magnus Karlsson
On Wed, Jul 8, 2020 at 5:02 PM Maxim Mikityanskiy wrote: > > On 2020-07-02 15:18, Magnus Karlsson wrote: > > This patch set adds support to share a umem between AF_XDP sockets > > bound to different queue ids on the same device or even between > > devices. It has already been possible to do this b

Re: [PATCH bpf-next 00/14] xsk: support shared umems between devices and queues

2020-07-08 Thread Maxim Mikityanskiy
On 2020-07-02 15:18, Magnus Karlsson wrote: This patch set adds support to share a umem between AF_XDP sockets bound to different queue ids on the same device or even between devices. It has already been possible to do this by registering the umem multiple times, but this wastes a lot of memory.

Re: [PATCH bpf-next 00/14] xsk: support shared umems between devices and queues

2020-07-07 Thread Maxim Mikityanskiy
On 2020-07-06 21:39, Daniel Borkmann wrote: On 7/2/20 2:18 PM, Magnus Karlsson wrote: This patch set adds support to share a umem between AF_XDP sockets bound to different queue ids on the same device or even between devices. It has already been possible to do this by registering the umem multip

Re: [PATCH bpf-next 00/14] xsk: support shared umems between devices and queues

2020-07-06 Thread Daniel Borkmann
On 7/2/20 2:18 PM, Magnus Karlsson wrote: This patch set adds support to share a umem between AF_XDP sockets bound to different queue ids on the same device or even between devices. It has already been possible to do this by registering the umem multiple times, but this wastes a lot of memory. Ju

[PATCH bpf-next 00/14] xsk: support shared umems between devices and queues

2020-07-02 Thread Magnus Karlsson
This patch set adds support to share a umem between AF_XDP sockets bound to different queue ids on the same device or even between devices. It has already been possible to do this by registering the umem multiple times, but this wastes a lot of memory. Just imagine having 10 threads each having 10