libeth_xdp_xmit_queue_head(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… libeth_xdp_xmit_queue_head(9) β€” like, the Kernel API Manual bestie πŸŽ€

okay so hi!! welcome to the glow-up of the internal helper for queueing one XDP xmit head ✨ this one lives in the Kernel API Manual and it's short but she's important, so pay attention 🫢


✨ NAME ✨

libeth_xdp_xmit_queue_head β€” the internal helper for queueing one XDP xmit head. lowkey a lil' workhorse, no cap 🌸


🌈 SYNOPSIS 🌈

u32 libeth_xdp_xmit_queue_head (struct libeth_xdp_tx_bulk *bq , struct xdp_frame *xdpf , struct device *dev );

that's literally the whole vibe up there ⭐


πŸ’– ARGUMENTS πŸ’–

  • bq β€” the XDP Tx bulk you're queueing the head frag to πŸŽ€ like, this is where it goes.
  • xdpf β€” the XDP frame that's carrying the head you wanna queue πŸ¦‹
  • dev β€” the device that's gonna do the DMA mapping, bestie πŸ’… she's the one doing the actual work.

πŸ‘‘ RETURN πŸ‘‘

the function gives you back a u32, and the value tells you what happened:

  • LIBETH_XDP_DROP β€” on a DMA mapping error 😭 things went wrong, it's a drop.
  • LIBETH_XDP_PASS β€” if it's the only frag in the frame πŸ’œ one frag, that's it, pass.
  • LIBETH_XDP_TX β€” if it's an S/G frame πŸ”₯ scatter/gather, babes, we're transmitting.
not me giving you three whole outcomes β€” read the return value, bestie, it literally tells you which branch of destiny you're in πŸ’€

🧚 SEE ALSO 🧚

okay this list is long, periodt. she has main character energy and a whole friend group:

  • Kernel file ./include/net/libeth/xdp.h

oh and also literally all of these icons πŸ‘‘:


and that's the whole page, bestie!! πŸ¦‹ it's from the source/version line <blue>./include/net/libeth</blue> dated October 2026, and it'll answer to <pink>libeth_xdp_xmit_queue_head(9)</pink> β€” mwah πŸ’‹ slay, go queue some heads βœ¨πŸ’…

πŸ“¦ where this page comes from