libeth_xdp_run_prog(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

libeth_xdp_run_prog(9) πŸ’… β€” Kernel API Manual, bestie edition ✨

okay so we are literally in the libeth_xdp_run_prog(9) era, and this page is your no-cap guide to running an XDP program on the non-XSk path and handling all the verdicts πŸ¦‹


✨ NAME ✨

libeth_xdp_run_prog β€” run XDP program (non-XSk path) and handle all verdicts πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

libeth_xdp_run_prog (xdp , bq , fl );

🌸 ARGUMENTS 🌸

  • xdp β€” the XDP buffer to process; this is the buffer bestie, the main character of the call πŸ’…
  • bq β€” the XDP Tx bulk used to queue XDP_TX buffers πŸŽ€
  • fl β€” the driver XDP_TX bulk flush callback, aka the little hook that flushes the bulk ✨

πŸ’… DESCRIPTION πŸ’…

Run the attached XDP program and handle all possible verdicts. Every single one. No cap 😀

XSk has its own version β€” iykyk. Prefer using it via LIBETH_XDP_DEFINE_RUN{,_PASS,_PROG}() 🫢


πŸŽ€ RETURN πŸŽ€

true if the buffer should be passed up the stack, and false if the poll should go to the next buffer. That’s the vibe check: true = send it up, false = next buffer, periodt πŸ’–


πŸ”₯ SEE ALSO πŸ”₯


source/version vibe: ./include/net/libeth Β· dated October 2026 πŸŽ€ β€” okay bestie, go handle every verdict and slay πŸ’–βœ¨

πŸ“¦ where this page comes from