__libeth_xsk_run_prog(9)
πΈ __libeth_xsk_run_prog(9) πΈ
okay bestie, welcome to the Kernel API Manual β this is the page for __libeth_xsk_run_prog, and honestly? it's a little internal gem. π
β¨ NAME β¨
__libeth_xsk_run_prog β run XDP program on XSk buffer πββοΈπ¨
π¦ SYNOPSIS π¦
u32 __libeth_xsk_run_prog (struct libeth_xdp_buff *xdp , const struct
libeth_xdp_tx_bulk *bq );
like, that's the whole signature. no cap. π€
π ARGUMENTS π
xdpβ the XSk buffer you're running the prog on, the main character of this whole operation πbqβ the buffer bulk, there for theXDP_TXqueueing moment π«Ά
π DESCRIPTION π
so basically this is an internal inline abstraction β it's giving "behind the scenes, don't @ me" energy β and its whole job is running the XDP program on the XSk Rx path. π§
it handles only the most common XDP_REDIRECT inline, periodt. everything else gets processed externally, so don't come for it about the rest, iykyk. π
and on errors? it reports an XDP prog exception. loud and clear, fr fr. π£
π₯ RETURN π₯
it returns the libeth_xdp prog verdict, which depends on the prog's verdict β i.e. whatever the prog decided, that's what you get back. main character energy from the prog, honestly. π
π no seriously, that's it β the verdict comes from the verdict. the vibes are recursive and we respect it.
π SEE ALSO π
lowkey the best part, because there's a whole squad here. kernel file ./include/net/libeth/xsk.h plus:
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_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)
like, that's an iconic lineup. go read them. obsessed. πβ¨
okay that's the page!! this little beauty lives in ./include/net/libeth, dated October 2026, and it's signed off as __libeth_xsk_run_prog(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