libeth_rx_page_pool_params(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so this is libeth_rx_page_pool_params(9) from the Kernel API Manual, and it’s literally here to calculate params with the stack overhead ✨

✨ SYNOPSIS ✨

bool libeth_rx_page_pool_params (struct libeth_fq *fq , struct page_pool_params *pp );

πŸŽ€ ARGUMENTS πŸŽ€

  • fq β€” the buffer queue you’re calculating the size for, bestie 🫢
  • pp β€” the page_pool_params of the netdev πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

So what it does is set the PP params with all the needed stack overhead β€” yes, that means headroom and tailroom β€” plus both the HW buffer length and the truesize for all types of buffers. No cap, it’s giving β€œfull coverage” energy 🌈

For β€œshort” buffers, truesize never exceeds the β€œwanted” one. For the rest, it can go all the way up to the page size. That’s the vibe check πŸ”₯

🌸 RETURN 🌸

  • true on success πŸ‘‘
  • false on invalid input params πŸ’€

🌈 SEE ALSO 🌈


mwah πŸ’‹ this cutie sign-off comes from ./drivers/net/ethernet/intel/l... β€” that’s the source/version btw β€” dated October 2026, and the page itself is libeth_rx_page_pool_params(9) πŸ«ΆπŸ’–

πŸ“¦ where this page comes from