qed_get_prot..._stats_iscsi(9)
π qed_get_protocol_stats_iscsi π
okay so bestie, welcome to the Kernel API Manual for qed_get_protocol_stats_iscsi β yes the title is long, yes it's giving "my wifi password is a paragraph", but we're gonna get through it together π«Ά
β¨ NAME β¨
qed_get_protocol_stats_iscsi β fills the stats struct you hand it with statistics. that's it. that's the whole job. no cap π
πΈ SYNOPSIS πΈ
void qed_get_protocol_stats_iscsi (struct qed_dev *cdev , struct
qed_mcp_iscsi_stats *stats , bool is_atomic );
three args, returns nothing, zero drama. iconic honestly π
π¦ ARGUMENTS π¦
cdevβ the qed dev pointer. like, your device. the main character of this whole operation πstatsβ points to the struct that will be filled with statistics. it's empty when you pass it in and full of numbers when you get it back. glow-up behavior β¨is_atomicβ a hint from you, the caller: can this function sleep or not. literally just a vibe check about napping π΄
π§ CONTEXT π§
ok so if is_atomic == true, the function should not sleep. like at all. do not let it catch a nap, do not pass go, do not collect $200 π this is the rule and we respect it.
β RETURN β
Void. nothing. nada. it returns nothing and honestly sometimes that's the healthiest thing a function can do π
π SEE ALSO π
the kernel file ./drivers/net/ethernet/qlogic/qed/qed_iscsi.h β go read it, iykyk π₯
that's the whole page, bestie, you ate that π sourced from ./drivers/net/ethernet/qlogic/qed, dated October 2026, and yes we're still calling it qed_get_prot..._stats_iscsi(9) because the full name simply would not fit. slay πβ¨
π¦ 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