libeth_xsk_buff_stats_frags(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 🌈

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