LIBETH_XSK_DEFINE_RUN_PASS(9)
π LIBETH_XSK_DEFINE_RUN_PASS(9) π
okay so welcome to the Kernel API Manual page for LIBETH_XSK_DEFINE_RUN_PASS, bestie β¨ this is the macro moment where a driver buffer process + pass function gets defined. itβs giving very specific kernel-business, and weβre gonna read it together π«Ά
πΈ NAME πΈ
LIBETH_XSK_DEFINE_RUN_PASS β define a driver buffer process + pass function π
β¨ SYNOPSIS β¨
LIBETH_XSK_DEFINE_RUN_PASS (name , run , populate );
no cap, thatβs the whole synopsis vibe π
π ARGUMENTS π
nameβ name of the function to define. yes bestie, youβre naming the function, main character energy πrunβ driver callback to run XDP program (above). itβs the callback that runs the XDP program, and the β(above)β is literally part of the original description, so we keep it π¦populateβ driver callback to fill an skb with HW descriptor info. hardware descriptor info goes into the skb, periodt π
π¦ SEE ALSO π¦
the whole kernel squad is here, and every single one is getting its moment π
- 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_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(9)LIBETH_XSK_DEFINE_FINALIZE(9)struct libeth_xskfq(9)libeth_xsk_buff_xdp_get_dma(9)libeth_xskfqe_alloc(9)
xoxo, kernel bestie π this page ships from ./include/net/libeth and the date on it is October 2026. byeee πβ¨
π¦ 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