Messages in this thread | | | Date | Thu, 13 Apr 2023 19:59:29 +0300 | From | Leon Romanovsky <> | Subject | Re: [PATCH V3,net-next, 2/4] net: mana: Refactor RX buffer allocation code to prepare for various MTU |
| |
On Thu, Apr 13, 2023 at 09:40:03AM -0700, Jakub Kicinski wrote: > On Thu, 13 Apr 2023 19:30:59 +0300 Leon Romanovsky wrote: > > > So the page pool is optimized for the XDP, and that sentence is applicable to drivers > > > that have set up page pool for XDP optimization. > > > > "but it can fallback on the regular page allocator APIs." > > The XDP thing is historic AFAIU, page_pool has been expanded to cover > all uses cases, and is "just better" (tm) than using page allocator > directly. Maybe we should update the doc.
The last sentence is always true :)
| |