LIBETH_XSK_DEFINE_FLUSH_TX(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… LIBETH_XSK_DEFINE_FLUSH_TX πŸ’…

okay so bestie, welcome to the Kernel API Manual, section 9 β€” yes this is a real kernel macro page and yes it's iconic πŸŽ€


✨ NAME ✨

LIBETH_XSK_DEFINE_FLUSH_TX β€” the macro that defines a driver function for flushing XDP_TX on an XSk, no cap πŸ¦‹


🌸 SYNOPSIS 🌸

LIBETH_XSK_DEFINE_FLUSH_TX (name , prep , xmit );

literally that's the whole vibe, three args and you're done πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • name β€” the name of the function you're defining. like, you get to pick it, main character energy πŸ‘‘
  • prep β€” the driver callback that cleans an XDPSQ 🧹✨
  • xmit β€” the driver callback that writes a HW Tx descriptor πŸ–ŠοΈπŸ”₯

πŸ’– SEE ALSO πŸ’–

bestie there is a whole friend group here, go say hi 🫢

Kernel file ./include/net/libeth/xsk.h, plus:


ngl, this page lives in ./include/net/libeth, dropped October 2026, and the whole thing is filed under LIBETH_XSK_DEFINE_FLUSH_TX(9) β€” slay, go write that flush function bestie πŸ’œπŸŒˆβ­
πŸ“¦ where this page comes from