libeth_rx_page_pool_params(9)
π 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β thepage_pool_paramsof 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 πΈ
trueon success πfalseon invalid input params π
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/intel/libeth/rx.c libeth_rx_hw_len_mtu(9)libeth_rx_hw_len_truesize(9)libeth_rx_page_pool_params_zc(9)libeth_rx_fq_create(9)libeth_rx_fq_destroy(9)libeth_rx_recycle_slow(9)libeth_rx_pt_gen_hash_type(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms