qed_get_vport_stats_context(9)
π 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:
qed_eth_rx_queue_stop(9)qed_eth_tx_queue_stop(9)qed_sp_vport_stop(9)qed_sp_eth_rx_queues_update(9)qed_get_vport_stats(9)qed_arfs_mode_configure(9)qed_configure_rfs_ntuple_filter(9)qed_eth_rxq_start_ramrod(9)qed_eth_txq_start_ramrod(9)
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
- 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