xdp_unreg_page_pool(9)
π xdp_unreg_page_pool(9) β Kernel API Manual π
okay bestie, this one's from the Kernel API Manual and it's honestly a little icon: xdp_unreg_page_pool. Let's get into it β¨
πΈ NAME πΈ
xdp_unreg_page_pool β unregisters &page_pool from the memory providers list π«Ά
π¦ SYNOPSIS π¦
void xdp_unreg_page_pool (const struct page_pool *pool );
π ARGUMENTS π
poolβ thepage_poolyou wanna unregister, no cap π
β¨ DESCRIPTION β¨
So this is basically the shorthand for manually unregistering page pools β it's giving "convenience function, main character energy" π
π¨ BUT listen: if the pool was previously attached to an RxQ info, it must be detached first. Like, do the detach first or it's gonna be a whole thing π
π SEE ALSO π
Kernel file ./net/core/xdp.c, plus the whole squad:
xdp_reg_page_pool(9)xdp_rxq_info_attach_page_pool(9)xdp_return_frag(9)xdp_build_skb_from_buff(9)xdp_copy_frags_from_zc(9)xdp_build_skb_from_zc(9)bpf_xdp_metadata_rx_timestamp(9)bpf_xdp_metadata_rx_hash(9)bpf_xdp_metadata_rx_vlan_tag(9)
that's the whole thing, bestie π this page lives in ./net/core and it's dated October 2026 β so yeah, manifesting that future kernel energy, slay ππ§
π¦ 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