Thread (8 messages) 8 messages, 4 authors, 2023-07-18

Re: [PATCH net-next] net: mana: Add page pool for RX buffers

From: Jakub Kicinski <kuba@kernel.org>
Date: 2023-07-14 03:53:58
Also in: bpf, linux-hyperv, linux-rdma, lkml

On Thu, 13 Jul 2023 14:48:45 +0000 Haiyang Zhang wrote:
Add page pool for RX buffers for faster buffer cycle and reduce CPU
usage.

Get an extra ref count of a page after allocation, so after upper
layers put the page, it's still referenced by the pool. We can reuse
it as RX buffer without alloc a new page.
Please use the real page_pool API from include/net/page_pool.h
We've moved past every driver reinventing the wheel, sorry.
-- 
pw-bot: cr
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help