qed_get_prot..._stats_iscsi(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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