qed_get_vport_stats_context(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– qed_get_vport_stats_context(9) πŸ’–

okay so bestie, welcome to the qed_get_vport_stats_context(9) page β€” yes that's the manual name, i didn't make it up, it's literally the kernel API manual and it's right there in the title. stay with me, this one's actually so chill it hurts.


✨ NAME ✨

qed_get_vport_stats_context β€” fills the struct you hand it with statistics. that's it. that's the whole job. it's giving "i do one thing and i do it well" energy πŸ’…


🌸 SYNOPSIS 🌸

void qed_get_vport_stats_context (struct qed_dev *cdev ,
                                  struct qed_eth_stats *stats ,
                                  bool is_atomic );

three args, void return, no drama. copy it exactly like that if you're typing it out, mwah 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • cdev β€” the Qed dev pointer. literally just your device, bestie, pointing at itself like the main character it is πŸ‘‘
  • stats β€” points to the struct that's gonna get filled with statistics. you bring the empty container, this function brings the numbers. match made in heaven fr fr πŸ“
  • is_atomic β€” a hint from you, the caller, telling the function whether it can sleep or not. yes it's a vibe check for napping 😴✨

πŸ¦‹ CONTEXT πŸ¦‹

πŸ’€ listen. if is_atomic == true, this function should not sleep. periodt. do not let it catch Zs. that's the whole boundary condition and you WILL respect it.

⭐ RETURN ⭐

Void. β€” returns nothing. no value, no surprises, no "oops here's an error code." it's an icon, it's a legend, and it gives you exactly zero back πŸ”₯


🌈 SEE ALSO 🌈

the kernel file that lives at ./drivers/net/ethernet/qlogic/qed/qed_l2.h β€” go say hi, it's family 🧚

and these absolute legends right here:

all iconic, all worth a read, iykyk πŸ’œ


and that's the page, bestie!! sourced straight from ./drivers/net/ethernet/qlogic/qed, dated October 2026, and yes it's the qed_get_vport_stats_context(9) manual, we been knew πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from