libeth_xsk_prog_exception(9)
π libeth_xsk_prog_exception(9) β hi bestie, welcome to the Kernel API Manual π
okay so real talk, you're looking at libeth_xsk_prog_exception, page 9 of the Kernel API Manual. she's a helper, she's internal, and she's about to handle some XDP prog exceptions on XSk. let's get into it π
β¨ NAME β¨
libeth_xsk_prog_exception β the girl who handles XDP prog exceptions on XSk π¦
πΈ SYNOPSIS πΈ
u32 __cold libeth_xsk_prog_exception (struct libeth_xdp_buff *xdp , enum
xdp_action act , int ret );
__cold is right there in the signature bestie β this is not the hot path, she's the slow-path cleanup queen π
π ARGUMENTS π
xdpβ the buffer we're processing. the main character of this function ngl π«Άactβ the verdict that got returned by the prog. like the prog's final answer β¨retβ the error code, ifXDP_REDIRECTfailed π
π DESCRIPTION π
okay so first thing: Internal. say it with me. this is not a public API, she's for the kernel's own use π
what she does: frees the buffer. that's the whole vibe.
and additionally β if the queue uses XSk wakeups, she stops the current NAPI poll when there are no free buffers left. no buffers? no poll. simple as that π
π RETURN π
she returns libeth_xdp's XDP prog verdict. that's it, that's the return value π
π§ SEE ALSO π§
- Kernel file
./drivers/net/ethernet/intel/libeth/xsk.cβ go read the source bestie, iykyk π libeth_xsk_buff_free_slow(9)libeth_xsk_buff_add_frag(9)libeth_xsk_buff_stats_frags(9)__libeth_xsk_run_prog_slow(9)libeth_xskfq_create(9)libeth_xskfq_destroy(9)libeth_xsk_init_wakeup(9)libeth_xsk_wakeup(9)libeth_xsk_setup_pool(9)
like, the whole xsk friend group fr fr π«Άβ¨
and that's the page!! π she's from October 2026, the source/version line lives over at ./drivers/net/ethernet/intel/l... (yes it's truncated in the original, don't come for me π), and she signs off as libeth_xsk_prog_exception(9) β periodt. π
π
π¦ 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