Re: [PATCH net-next v10 06/14] page_pool: convert to use netmem

2024-06-07 Thread Pavel Begunkov
On 6/6/24 02:48, Steven Rostedt wrote: On Thu, 30 May 2024 20:16:05 + Mina Almasry wrote: @@ -42,51 +42,52 @@ TRACE_EVENT(page_pool_release, TRACE_EVENT(page_pool_state_release, TP_PROTO(const struct page_pool *pool, -const struct page *page, u32 release), +

Re: [PATCH net-next v10 06/14] page_pool: convert to use netmem

2024-06-05 Thread Steven Rostedt
On Thu, 30 May 2024 20:16:05 + Mina Almasry wrote: > @@ -42,51 +42,52 @@ TRACE_EVENT(page_pool_release, > TRACE_EVENT(page_pool_state_release, > > TP_PROTO(const struct page_pool *pool, > - const struct page *page, u32 release), > + netmem_ref netmem, u32 re

Re: [PATCH net-next v10 06/14] page_pool: convert to use netmem

2024-06-04 Thread Paolo Abeni
On Thu, 2024-05-30 at 20:16 +, Mina Almasry wrote: > diff --git a/include/trace/events/page_pool.h > b/include/trace/events/page_pool.h > index 6834356b2d2ae..c5b6383ff2760 100644 > --- a/include/trace/events/page_pool.h > +++ b/include/trace/events/page_pool.h > @@ -42,51 +42,52 @@ TRACE_EVEN

[PATCH net-next v10 06/14] page_pool: convert to use netmem

2024-05-30 Thread Mina Almasry
Abstrace the memory type from the page_pool so we can later add support for new memory types. Convert the page_pool to use the new netmem type abstraction, rather than use struct page directly. As of this patch the netmem type is a no-op abstraction: it's always a struct page underneath. All the p