__libeth_xsk_xmit_fill_buf(9)
π __libeth_xsk_xmit_fill_buf(9) β the Kernel API Manual, bestie edition π
okay so this is a page from the Kernel API Manual, and we're talking about __libeth_xsk_xmit_fill_buf β the little internal helper that gets your XSk xmit all prepped and ready without any meta. yeah. no meta. we're going bare. π¦
β¨ NAME β¨
__libeth_xsk_xmit_fill_buf β internal helper to prepare XSk xmit w/o meta
like, she's internal, she's a helper, and she is iconic for it. periodt. π
πΈ SYNOPSIS πΈ
struct libeth_xdp_tx_desc __libeth_xsk_xmit_fill_buf (const struct xdp_desc *xdesc , const struct libeth_xdpsq *sq );
the way that signature just... sits there. struct libeth_xdp_tx_desc in, const struct xdp_desc *xdesc and const struct libeth_xdpsq *sq as the args. chefs kiss. π«Ά
π§ ARGUMENTS π§
xdescβ thexdp_descfrom the XSk buffer pool π like, that's your buffer's little ID card, okaysqβ the XDPSQ abstraction for the queue π she's the queue vibe, abstracted, as she should be
β RETURN β
you get back an XDP Tx descriptor π and it's fully loaded with the DMA and other info you need to pass to the driver callback. no cap, that's the whole deal. π₯
literally just: descriptor in hand β hand it to the driver callback. that's the pipeline, bestie.
π¦ SEE ALSO π¦
okay this list is long and honestly kind of main-character energy, so let's give it the space it deserves πΈ
- the kernel file
./include/net/libeth/xsk.hπ libeth_xsk_tx_queue_head(9)libeth_xsk_tx_queue_frag(9)libeth_xsk_tx_queue_bulk(9)libeth_xsk_tx_fill_buf(9)libeth_xsk_tx_flush_bulk(9)libeth_xsktmo_req_csum(9)__libeth_xsk_xmit_fill_buf_md(9)libeth_xsk_xmit_fill_buf(9)libeth_xsk_xmit_do_bulk(9)libeth_xsk_tx_init_bulk(9)libeth_xsk_process_buff(9)__libeth_xsk_run_prog(9)libeth_xsk_run_prog(9)__libeth_xsk_run_pass(9)libeth_xsk_run_pass(9)libeth_xsk_finalize_rx(9)LIBETH_XSK_DEFINE_FLUSH_TX(9)LIBETH_XSK_DEFINE_RUN_PROG(9)LIBETH_XSK_DEFINE_RUN_PASS(9)LIBETH_XSK_DEFINE_RUN(9)LIBETH_XSK_DEFINE_FINALIZE(9)struct libeth_xskfq(9)libeth_xsk_buff_xdp_get_dma(9)libeth_xskfqe_alloc(9)
iykyk ππ
and that's the whole lore, bestie π this one lives in ./include/net/libeth, it's dated October 2026, and it comes to you straight from the Kernel API Manual. go drink some water and go read your DMA descriptors πβ¨
π¦ 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