libeth_xdp_run_pass(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

libeth_xdp_run_pass(9) β€” from the Kernel API Manual, section 9, bestie β€” is the helper to run XDP program and handle the result. it’s giving β€œsmall wrapper, big responsibilities” πŸ’…βœ¨

🌸 SYNOPSIS 🌸

okay so the call shape is literally this, no cap:

libeth_xdp_run_pass (xdp , bq , napi , ss , desc , run , populate );

πŸŽ€ ARGUMENTS πŸŽ€

here’s the cast of characters, fr fr:

  • xdp β€” XDP buffer to process. main character energy 🫢
  • bq β€” XDP Tx bulk to queue XDP_TX frames. slay a little πŸ’…
  • napi β€” NAPI to build an skb and pass it up the stack. iconic ⭐
  • ss β€” onstack libeth RQ stats. the stats bestie πŸ“
  • desc β€” pointer to the HW descriptor for that frame. hold onto it πŸ”₯
  • run β€” driver wrapper to run XDP program. go off πŸ‘‘
  • populate β€” driver callback to populate an skb with the HW descriptor data. doing the detail work 🌸

πŸ¦‹ DESCRIPTION πŸ¦‹

This is the wrapper around the underscored version for the case where β€œfill the descriptor metadata” means just writing the pointer to the HW descriptor as xdp->desc. that’s it, that’s the whole little pass ✨

πŸ‘‘ SEE ALSO πŸ‘‘

the required reading / whole friend group, in order, no cap:


made with πŸ’– from ./include/net/libeth Β· October 2026 Β· libeth_xdp_run_pass(9) β€” byeee, go run that pass 🫢✨

πŸ“¦ where this page comes from