i40e_xsk_pool_setup(9)
πΈ NAME πΈ
i40e_xsk_pool_setup β Enable/disassociate an AF_XDP buffer pool to/from a ring/qid
okay bestie, welcome to the i40e_xsk_pool_setup(9) page from the Kernel API Manual. Itβs giving kernel-level matchmaking: weβre hooking a buffer pool up to a ring, or breaking them up. π
β¨ SYNOPSIS β¨
int i40e_xsk_pool_setup (struct i40e_vsi *vsi , struct xsk_buff_pool
*pool , u16 qid );
π ARGUMENTS π
vsiβ the current VSI. Yes, that one. The VSI youβre working with right now. π«Άpoolβ the buffer pool to enable/associate to a ring, orNULLto disable it. SoNULLis the βweβre not together anymoreβ option. πqidβ the Rx ring to (dis)associate the buffer pool (from)to. Thatβs the exact wording, bestie β we donβt edit the lore. π
π DESCRIPTION π
This function enables or disables a buffer pool to a certain ring. Thatβs the whole vibe: flip it on for the ring, or flip it off. π₯
It returns 0 on success, and <0 on failure. So 0 is the slay, and anything below 0 is the βbestie, something went wrongβ zone. π
π¦ SEE ALSO π¦
The main character source file lives at ./drivers/net/ethernet/intel/i40e/i40e_xsk.c, and hereβs the whole squad of related calls β no cap, every single one:
i40e_realloc_rx_xdp_bi(9)i40e_realloc_rx_bi_zc(9)i40e_xsk_pool_enable(9)i40e_xsk_pool_disable(9)i40e_run_xdp_zc(9)i40e_construct_skb_zc(9)i40e_clean_rx_irq_zc(9)i40e_xmit_zc(9)i40e_clean_xdp_tx_buffer(9)i40e_clean_xdp_tx_irq(9)i40e_xsk_wakeup(9)i40e_xsk_clean_tx_ring(9)i40e_xsk_any_rx_ring_enabled(9)
mwah π this cutie is filed under ./drivers/net/ethernet/intel/i40e, dated October 2026, and it answers to i40e_xsk_pool_setup(9). bye bestie, go slay those rings π«Άβ¨
π¦ 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