libeth_xdp_buff_stats_frags(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ libeth_xdp_buff_stats_frags ✨

okay so real talk, bestie β€” welcome to the libeth_xdp_buff_stats_frags(9) page from the Kernel API Manual πŸ’… this one's a tiny little internal helper and she is very much behind-the-scenes, so let's get into it 🫢


🌸 NAME 🌸

libeth_xdp_buff_stats_frags β€” bestie, this is the one that updates your onstack RQ stats with all that XDP frags info ✨


πŸŽ€ SYNOPSIS πŸŽ€

void libeth_xdp_buff_stats_frags (struct libeth_rq_napi_stats *ss ,
const struct libeth_xdp_buff *xdp );

like, that's literally the whole signature, no cap πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ss β€” the onstack stats you're updating, she's the main character here πŸ’…
  • xdp β€” the buffer that's getting accounted for, gotta count her too 🧚

πŸ’œ DESCRIPTION πŸ’œ

okay so listen β€” this is an internal helper used by __libeth_xdp_run_pass, and the vibe check is clear: do not call it directly πŸ™ˆ it's giving "backstage crew, not the opening act."

what she actually does? she takes the buffer's frags count and total len and adds them to the onstack stats. that's it. that's the whole job. iconic, honestly ⭐


🌈 SEE ALSO 🌈


and that's the whole page, bestie πŸ’– this little cutie lives in ./include/net/libeth, dated October 2026, and she goes by libeth_xdp_buff_stats_frags(9) β€” periodt πŸ‘‘βœ¨

πŸ“¦ where this page comes from