libeth_xdp_xmit_queue_bulk(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– libeth_xdp_xmit_queue_bulk(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual. This page is lowkey about the internal helper for queueing one XDP xmit frame, and the way that it does exactly that is giving tiny-but-mighty energy. Not me getting obsessed with a helper, but fr fr β€” vibe check: passed ✨.

🌸 NAME 🌸

libeth_xdp_xmit_queue_bulk β€” internal helper for queueing one XDP xmit frame.

✨ SYNOPSIS ✨

u32 libeth_xdp_xmit_queue_bulk (struct libeth_xdp_tx_bulk *bq , struct
xdp_frame *xdpf , bool (*flush_bulk)(struct libeth_xdp_tx_bulk *bq, u32
flags) );

πŸŽ€ ARGUMENTS πŸŽ€

  • bq β€” XDP Tx bulk to queue the frame to. That’s the bulk bestie receiving the frame. 🫢
  • xdpf β€” XDP frame to queue. The actual frame, front and center. 🌸
  • flush_bulk β€” driver callback to flush the bulk to the HW queue. iykyk, this is the flush callback. πŸ”₯

🌈 RETURN 🌈

LIBETH_XDP_TX on success, LIBETH_XDP_DROP if the frame should be dropped by the stack, and LIBETH_XDP_ABORTED if the frame will be dropped by libeth_xdp. Periodt. πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

the whole extended universe, no cap:

xoxo, from ./include/net/libeth Β· October 2026 Β· libeth_xdp_xmit_queue_bulk(9) πŸ’…

πŸ“¦ where this page comes from