libeth_xsk_setup_pool(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

libeth_xsk_setup_pool β€” setup or destroy an XSk pool for a queue βœ¨πŸ’…

Bestie, welcome to the libeth_xsk_setup_pool(9) page from the Kernel API Manual 🫢. This is the kernel-API group chat, and this function is here to handle the pool setup/destroy vibes.


✨ SYNOPSIS ✨

int libeth_xsk_setup_pool (struct net_device *dev , u32 qid , bool enable );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the target net_device πŸ‘‘
  • qid β€” the stack queue index you're configuring 🧚
  • enable β€” tells it whether to enable or disable the pool 🌈

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so here's the tea β˜•: it checks that qid is valid, and then it maps or unmaps the pool. That's literally the whole vibe, no cap πŸ’–βœ¨.


πŸ”₯ RETURN πŸ”₯

  • 0 on success β€” slay πŸ’…
  • -errno otherwise β€” not slay, but that's the contract πŸ’€

πŸ’œ SEE ALSO πŸ’œ

Kernel file: ./drivers/net/ethernet/intel/libeth/xsk.c πŸ“


Mwah πŸ’‹ and that's the page! Footer source/version says ./drivers/net/ethernet/intel/l... and the date is October 2026 β€” with libeth_xsk_setup_pool(9) sitting pretty at the very end πŸ’–πŸ«Ά

πŸ“¦ where this page comes from