get_stats(9)
π get_stats(9) β the Kernel API Manual, bestie edition πΈ
okay so this is get_stats from section 9 of the manual (the kernel API one, iykyk) β and honestly? it's giving "small function, big gossip energy" β¨
π NAME π
get_stats β get LL2 related statistics. that's it, that's the whole vibe. it grabs the stats and hands them to you π«Ά
π¦ SYNOPSIS π¦
int get_stats (struct qed_dev *cdev , struct qed_ll2_stats *stats );
literally the whole signature, no notes π
β¨ ARGUMENTS β¨
cdevβ the Qed dev pointer. like, the device in question, the main character of this whole operation πstatsβ a pointer to the struct that would be filled with stats. yes bestie, filled β you pass it in empty-ish and it comes back looking gorgeous π
β RETURN β
returns 0 on success, and an error otherwise. so likeβ¦ zero is the slay outcome, anything else is a vibe check failure ππ
πΈ SEE ALSO πΈ
- Kernel file
./include/linux/qed/qed_ll2_if.h start(9)stop(9)start_xmit(9)register_cb_ops(9)
go read those too, they're all part of the same friend group fr fr π
ngl this one's short but it ate. no cap, every detail stayed. periodt π
and that's the whole page β brought to you from ./include/linux/qed, dated October 2026, under the very iconic title get_stats(9) π§ββοΈπ see you in the next man page, 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