libeth_xsk_buff_stats_frags(9)
π libeth_xsk_buff_stats_frags(9) β the Kernel API Manual, bestie edition β¨
okay so you're looking at a page from the Kernel API Manual and it's giving "internal helper, do not touch" energy. let's get into it π«Ά
πΈ NAME πΈ
libeth_xsk_buff_stats_frags β literally just updates the onstack RQ stats with XSk frags info, that's the whole job π
β¨ SYNOPSIS β¨
void libeth_xsk_buff_stats_frags (struct libeth_rq_napi_stats *rs ,
const struct libeth_xdp_buff *xdp );
no return value, no cap. it just does the thing and dips π
π ARGUMENTS π
rsβ the onstack stats you're updating, bestie. this is the glow-up target πxdpβ the buffer being accounted for. it's the main character here π
π¦ DESCRIPTION π¦
so this is an external helper used by __libeth_xsk_run_pass β which means do not call it directly, fr fr, that's not your lane π
what it actually does? it adds the buffer's frags count and total len to the onstack stats. that's it. that's the vibe check and it passed β¨
lowkey important: this is an internal helper, not a public API. respect the boundary π«Ά
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/intel/libeth/xsk.cβ the source of truth, go read it iykyk π libeth_xsk_buff_free_slow(9)libeth_xsk_buff_add_frag(9)__libeth_xsk_run_prog_slow(9)libeth_xsk_prog_exception(9)libeth_xskfq_create(9)libeth_xskfq_destroy(9)libeth_xsk_init_wakeup(9)libeth_xsk_wakeup(9)libeth_xsk_setup_pool(9)
the whole friend group, honestly π―ββοΈ
and that's the page!! π shoutout to ./drivers/net/ethernet/intel/l... (yeah the path got cutely truncated, we don't know the rest either π) β October 2026, from the Kernel API Manual, featuring libeth_xsk_buff_stats_frags(9) being iconic and staying in its lane. 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