Re: [PATCH net-next v22 05/13] page_pool: devmem support

2024-08-27 Thread Jakub Kicinski
On Sun, 25 Aug 2024 04:15:03 + Mina Almasry wrote: > + /* Assume net_iov are on the preferred node without actually > + * checking... > + * > + * This check is only used to check for recycling memory in the page > + * pool's fast paths. Currently the only implementation

[PATCH net-next v22 05/13] page_pool: devmem support

2024-08-24 Thread Mina Almasry
Convert netmem to be a union of struct page and struct netmem. Overload the LSB of struct netmem* to indicate that it's a net_iov, otherwise it's a page. Currently these entries in struct page are rented by the page_pool and used exclusively by the net stack: struct { unsigned long pp_mag