LinuxKPI: page pool updates and add to the buildSplit implementation out from the header files.This "page pool" is the very minimalistic version we need in order tosupport packets on mt76.We al
LinuxKPI: page pool updates and add to the buildSplit implementation out from the header files.This "page pool" is the very minimalistic version we need in order tosupport packets on mt76.We allocate the page pool in order to have the meta data available ofwhich we only make limited use.This implementation does no pooling, it does no page fragments for now,it always hands out a full page and frees it upon return.It is written in a way that it can be in the tree before the 'struct page'work it depends on has landed in order to reduce friction for people whowant to try mt7921 (or others later) upfront. We use the same #ifdefas in the struct page work for that reason so one knob will turn everythingon or off.Once the struct page work has landed and settled we can start filling thiswith more complexity.In the unlikely event that in the mean time any other consumer would startshowing up they will have to be aware that the current code as-isessentially is a NOP without the 'struct page' work. A WARN_ONCE() willnotify them.Sponsored by: The FreeBSD FoundationMFC after: 3 days
show more ...
LinuxKPI: page_pool headers moved; add netmem.hpage_pool headers were not used yet; they were created for mt76 butare without functionality. Upstream has migrated them for v6.17 andsplit them u
LinuxKPI: page_pool headers moved; add netmem.hpage_pool headers were not used yet; they were created for mt76 butare without functionality. Upstream has migrated them for v6.17 andsplit them up into multiple files. Also add netmem.h which the littleneeded is directly related to page pools.MFC after: 3 days