__libeth_xsk_run_prog(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 __libeth_xsk_run_prog(9) 🌸

okay bestie, welcome to the Kernel API Manual β€” this is the page for __libeth_xsk_run_prog, and honestly? it's a little internal gem. πŸ’Ž


✨ NAME ✨

__libeth_xsk_run_prog β€” run XDP program on XSk buffer πŸƒβ€β™€οΈπŸ’¨


πŸ¦‹ SYNOPSIS πŸ¦‹

u32 __libeth_xsk_run_prog (struct libeth_xdp_buff *xdp , const struct
       libeth_xdp_tx_bulk *bq );

like, that's the whole signature. no cap. 🀞


πŸŽ€ ARGUMENTS πŸŽ€

  • xdp β€” the XSk buffer you're running the prog on, the main character of this whole operation πŸ’…
  • bq β€” the buffer bulk, there for the XDP_TX queueing moment 🫢

πŸ’– DESCRIPTION πŸ’–

so basically this is an internal inline abstraction β€” it's giving "behind the scenes, don't @ me" energy β€” and its whole job is running the XDP program on the XSk Rx path. 🧚

it handles only the most common XDP_REDIRECT inline, periodt. everything else gets processed externally, so don't come for it about the rest, iykyk. πŸ™ˆ

and on errors? it reports an XDP prog exception. loud and clear, fr fr. πŸ“£


πŸ”₯ RETURN πŸ”₯

it returns the libeth_xdp prog verdict, which depends on the prog's verdict β€” i.e. whatever the prog decided, that's what you get back. main character energy from the prog, honestly. πŸ‘‘

πŸ’€ no seriously, that's it β€” the verdict comes from the verdict. the vibes are recursive and we respect it.

🌈 SEE ALSO 🌈

lowkey the best part, because there's a whole squad here. kernel file ./include/net/libeth/xsk.h plus:

like, that's an iconic lineup. go read them. obsessed. πŸ“šβœ¨


okay that's the page!! this little beauty lives in ./include/net/libeth, dated October 2026, and it's signed off as __libeth_xsk_run_prog(9) β€” mwah, bye bestie!! πŸŽ€πŸ’œπŸ¦‹

πŸ“¦ where this page comes from