Re: [PATCH net-next 3/6] page_pool: DMA handling and allow to recycles frames via SKB

2021-03-22 Thread Matteo Croce
On Mon, Mar 22, 2021 at 6:03 PM Matteo Croce wrote: > > From: Ilias Apalodimas > > During skb_release_data() intercept the packet and if it's a buffer > coming from our page_pool API recycle it back to the pool for further > usage. > To achieve that we introduce a bit in struct sk_buff (pp_recycl

[PATCH net-next 3/6] page_pool: DMA handling and allow to recycles frames via SKB

2021-03-22 Thread Matteo Croce
From: Ilias Apalodimas During skb_release_data() intercept the packet and if it's a buffer coming from our page_pool API recycle it back to the pool for further usage. To achieve that we introduce a bit in struct sk_buff (pp_recycle:1) and store the xdp_mem_info in page->private. The SKB bit is n