libeth_xsk_run_pass(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… libeth_xsk_run_pass

okay bestie, so like β€” welcome to the Kernel API Manual page for libeth_xsk_run_pass(9), and trust me when i say this one is a whole helper situation. it's giving "middle management but make it iconic." ✨


🌸 NAME 🌸

libeth_xsk_run_pass β€” a helper that runs your XDP program and then deals with whatever chaotic result comes back. no cap, that's literally the job. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

libeth_xsk_run_pass (xdp , bq , napi , rs , desc , run , populate );

πŸŽ€ ARGUMENTS πŸŽ€

  • xdp β€” the XSk buffer we're processing. this is the main character of the function, bestie. πŸ‘‘
  • bq β€” the XDP Tx bulk, aka the queue where all the XDP_TX frames get sent. think of it as the outbox. πŸ“€
  • napi β€” the NAPI that builds an skb and hands it up the stack. it's the one doing the ✨upward mobility✨ thing.
  • rs β€” the onstack libeth RQ stats. yes, that's stats that live on the stack. cozy. 🫢
  • desc β€” pointer to the HW descriptor for that frame. just a pointer, doing pointer things. πŸ’€
  • run β€” your driver wrapper that actually runs the XDP program. the designated runner, the one sent to do the errand. πŸƒβ€β™€οΈ
  • populate β€” driver callback that fills an skb with the HW descriptor data. it's the "put the data in the thing" callback, and honestly? slay. πŸŽ€

πŸ’– DESCRIPTION πŸ’–

okay so here's the tea: this is a wrapper around the underscored version β€” and it exists for when "fill the descriptor metadata" just means writing the pointer to the HW descriptor as xdp->desc.

that's it. that's the whole vibe. lowkey elegant, highkey useful. ✨


🌈 SEE ALSO 🌈

like, go read these too bestie, they're all in the kernel file ./include/net/libeth/xsk.h:


ngl bestie, that's a long list of friends. but like, iykyk β€” the kernel header family is huge and they all hang out together. πŸ¦‹

and that's the page! mwah πŸ’‹ this little number comes to you from ./include/net/libeth, dated October 2026 β€” periodt, that's the vibe check done. stay slay, read your headers, and remember: <rainbow>every pointer deserves a bestie</rainbow> πŸŒˆπŸ’œ

πŸ“¦ where this page comes from