i40e_xsk_pool_setup(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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, or NULL to disable it. So NULL is 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:


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