Re: [PATCH bpf-next 04/14] xsk: introduce AF_XDP buffer allocation API

2020-05-08 Thread Björn Töpel
On 2020-05-08 13:55, Maxim Mikityanskiy wrote: On 2020-05-07 13:42, Björn Töpel wrote: From: Björn Töpel In order to simplify AF_XDP zero-copy enablement for NIC driver developers, a new AF_XDP buffer allocation API is added. The implementation is based on a single core (single producer/consum

Re: [PATCH bpf-next 04/14] xsk: introduce AF_XDP buffer allocation API

2020-05-08 Thread Maxim Mikityanskiy
On 2020-05-07 13:42, Björn Töpel wrote: From: Björn Töpel In order to simplify AF_XDP zero-copy enablement for NIC driver developers, a new AF_XDP buffer allocation API is added. The implementation is based on a single core (single producer/consumer) buffer pool for the AF_XDP UMEM. A buffer i

[PATCH bpf-next 04/14] xsk: introduce AF_XDP buffer allocation API

2020-05-07 Thread Björn Töpel
From: Björn Töpel In order to simplify AF_XDP zero-copy enablement for NIC driver developers, a new AF_XDP buffer allocation API is added. The implementation is based on a single core (single producer/consumer) buffer pool for the AF_XDP UMEM. A buffer is allocated using the xsk_buff_alloc() fun