Re: [PATCH bpf-next v4 08/14] xsk: enable sharing of dma mappings

2020-07-29 Thread Magnus Karlsson
On Tue, Jul 28, 2020 at 11:00 AM Maxim Mikityanskiy wrote: > > On 2020-07-21 08:04, Magnus Karlsson wrote: > > Enable the sharing of dma mappings by moving them out from the buffer > > pool. Instead we put each dma mapped umem region in a list in the umem > > structure. If dma has already been map

Re: [PATCH bpf-next v4 08/14] xsk: enable sharing of dma mappings

2020-07-28 Thread Maxim Mikityanskiy
On 2020-07-21 08:04, Magnus Karlsson wrote: Enable the sharing of dma mappings by moving them out from the buffer pool. Instead we put each dma mapped umem region in a list in the umem structure. If dma has already been mapped for this umem and device, it is not mapped again and the existing dma

Re: [PATCH bpf-next v4 08/14] xsk: enable sharing of dma mappings

2020-07-28 Thread Björn Töpel
On 2020-07-21 07:04, Magnus Karlsson wrote: Enable the sharing of dma mappings by moving them out from the buffer pool. Instead we put each dma mapped umem region in a list in the umem structure. If dma has already been mapped for this umem and device, it is not mapped again and the existing d

[PATCH bpf-next v4 08/14] xsk: enable sharing of dma mappings

2020-07-20 Thread Magnus Karlsson
Enable the sharing of dma mappings by moving them out from the buffer pool. Instead we put each dma mapped umem region in a list in the umem structure. If dma has already been mapped for this umem and device, it is not mapped again and the existing dma mappings are reused. Signed-off-by: Magnus Ka