libeth_xsk_xmit_fill_buf(9)
π libeth_xsk_xmit_fill_buf(9) π
okay bestie, weβre in the Kernel API Manual and this page is libeth_xsk_xmit_fill_buf(9) β yes, the (9) section, periodt. Itβs giving kernel-internals main character energy, but lowkey itβs a helper doing prep work. π¦
πΈ NAME πΈ
libeth_xsk_xmit_fill_buf β internal helper to prepare an XSk xmit. Thatβs the whole vibe: internal helper, not the final boss. π
β¨ SYNOPSIS β¨
struct libeth_xdp_tx_desc libeth_xsk_xmit_fill_buf (struct
libeth_xdp_tx_frame frm , u32 i , const struct libeth_xdpsq *sq , u64
priv );
π ARGUMENTS π
frmβ thexdp_descfrom the XSk buffer pool, cute.iβ index on the HW queue.sqβ the XDPSQ abstraction for the queue.privβ XSk Tx metadata ops.
π§ DESCRIPTION π§
okay so hereβs the tea: depending on the metadata ops presence β and that presence is determined at compile time β this calls the quickest helper to build a libeth XDP Tx descriptor. No cap, thatβs the whole description. Itβs not out here doing extra lore; itβs picking the fastest helper for the compiled situation. π«Ά
π₯ RETURN π₯
It returns an XDP Tx descriptor with the synced DMA, the metadata request bits, and other info to pass to the driver callback. So like: descriptor + DMA synced + metadata request bits + extra info for the driver callback. Slay. β¨
π SEE ALSO π
Kernel file: ./include/net/libeth/xsk.h β yes, that exact path, bestie. π
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)
Cute sign-off: source/version is ./include/net/libeth, date is October 2026, and this is the libeth_xsk_xmit_fill_buf(9) page. Bye bestie, mwah ππ
π¦ 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