libeth_xdp_return_buff_bulk(9)
π libeth_xdp_return_buff_bulk(9) β from the Kernel API Manual, bestie β¨
okay so picture this: it's a kernel manual page, it's called libeth_xdp_return_buff_bulk, and it's about freeing &xdp_buff as part of a bulk. that's the whole vibe. lowkey iconic that a function this niche gets main character energy. π
β¨ NAME β¨
libeth_xdp_return_buff_bulk β free &xdp_buff as part of a bulk π¦
πΈ SYNOPSIS πΈ
void libeth_xdp_return_buff_bulk (const struct skb_shared_info *sinfo ,
struct xdp_frame_bulk *bq , bool frags );
like, yes, she takes three arguments. we'll get to them. patience, babe. π
π ARGUMENTS π
sinfoβ the shared info that corresponds to the buffer. it'sconst, so hands off, no cap. πbqβ the XDP frame bulk where the buffer gets stored. this is the group chat the buffer gets dropped into. π«Άfragsβ aboolthat tells you whether the buffer has frags. yes or no, that's it, she's not complicated. β¨
π₯ DESCRIPTION π₯
same asxdp_return_frame_bulk, but forlibeth_xdp_buffπ
the way that this speeds up Tx completion of XDP_TX buffers?? obsessed. literally. and it lets you free them in the same bulks as xdp_frame buffers, which is the whole point and honestly ate. π
so if you were wondering "why not just use the regular one," it's because this one is built for libeth_xdp_buff specifically, and it batches. batching is self care. periodt. π
β SEE ALSO β
- Kernel file
./drivers/net/ethernet/intel/libeth/xdp.cβ go read the source, iykyk π§ libeth_xdpsq_init_timer(9)libeth_xdp_tx_exception(9)libeth_xdp_load_stash(9)libeth_xdp_save_stash(9)libeth_xdp_return_buff_slow(9)libeth_xdp_buff_add_frag(9)libeth_xdp_prog_exception(9)libeth_xdp_queue_threshold(9)__libeth_xdp_set_features(9)libeth_xdp_set_redirect(9)
the whole friend group, fr fr. go say hi. π
and that's the page!! πΈ this gem lives at ./drivers/net/ethernet/intel/l..., dated October 2026, and it's filed under libeth_xdp_return_buff_bulk(9). mwah, bye bestie πππ¦
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms