Re: [PATCH net-next v1 2/7] net: page_pool: create page_pool_alloc_netmem

2024-11-07 Thread Mina Almasry
On Sun, Nov 3, 2024 at 6:35 AM Yunsheng Lin wrote: > > On 11/1/2024 9:10 PM, Mina Almasry wrote: > > ... > > >> > >> Isn't it a little odd that old and new are not following the same > >> pattern? > > > > Hi Yunsheng, > > > > The intention is that page_pool_alloc_pages is mirrored by > > page_pool

Re: [PATCH net-next v1 2/7] net: page_pool: create page_pool_alloc_netmem

2024-11-03 Thread Yunsheng Lin
On 11/1/2024 9:10 PM, Mina Almasry wrote: ... Isn't it a little odd that old and new are not following the same pattern? Hi Yunsheng, The intention is that page_pool_alloc_pages is mirrored by page_pool_alloc_netmems. And page_pool_alloc is mirrored by page_pool_alloc_netmem. From your d

Re: [PATCH net-next v1 2/7] net: page_pool: create page_pool_alloc_netmem

2024-11-01 Thread Mina Almasry
On Fri, Nov 1, 2024 at 4:14 AM Yunsheng Lin wrote: > > On 2024/10/30 4:45, Mina Almasry wrote: > > Create page_pool_alloc_netmem to be the mirror of page_pool_alloc. > > > > This enables drivers that want currently use page_pool_alloc to > > transition to netmem by converting the call sites to > >

Re: [PATCH net-next v1 2/7] net: page_pool: create page_pool_alloc_netmem

2024-11-01 Thread Yunsheng Lin
On 2024/10/30 4:45, Mina Almasry wrote: > Create page_pool_alloc_netmem to be the mirror of page_pool_alloc. > > This enables drivers that want currently use page_pool_alloc to > transition to netmem by converting the call sites to > page_pool_alloc_netmem. For old API, page_pool_alloc_pages() al