qed_get_protocol_stats_fcoe(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… qed_get_protocol_stats_fcoe β€” the Kernel API Manual, bestie edition πŸ’…

okay so this is a page from the Kernel API Manual (qed_get_protocol_stats_fcoe(9), iykyk) and honestly? it's short, it's sweet, and it does exactly one thing. let's get into it 🫢


✨ NAME ✨

qed_get_protocol_stats_fcoe β€” literally just fills the stats struct you hand it with statistics. that's the whole job. no cap. 🌸


πŸ¦‹ SYNOPSIS πŸ¦‹

void qed_get_protocol_stats_fcoe (struct qed_dev *cdev , struct
qed_mcp_fcoe_stats *stats , bool is_atomic );

three args, one void return, zero drama. she's an icon, she's a legend, and she is the moment πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • cdev β€” the Qed dev pointer. like, which device are we even talking about bestie πŸ’€
  • stats β€” points to the struct that will be filled with statistics. yes, it's that struct. she's getting filled in. that's the vibe ✨
  • is_atomic β€” a lil hint from the caller: if this func can sleep or not 😴

🌈 CONTEXT 🌈

the one thing you CANNOT do: the function should not sleep in case is_atomic == true. like, read the room. if it's atomic, no napping. periodt πŸ”₯


⭐ RETURN ⭐

Void. nothing. nada. she gives and gives but returns nothing to you πŸŽ€ (affectionate)


πŸ’œ SEE ALSO πŸ’œ

the Kernel file ./drivers/net/ethernet/qlogic/qed/qed_fcoe.h β€” go look at it, it's giving main character energy fr fr πŸ¦‹


no cap, this one's short but every single detail ate. don't sleep on the is_atomic caveat β€” that's the whole plot twist πŸ“

kisses, this has been qed_get_protocol_stats_fcoe(9) from ./drivers/net/ethernet/qlogic/qed, dated October 2026 β€” see u in the next page, bestie πŸ’–βœ¨πŸ§š

πŸ“¦ where this page comes from