qed_get_vport_stats(9)
β¨ qed_get_vport_stats(9) β¨
okay so this is qed_get_vport_stats, straight out of the Kernel API Manual (section 9, kernel-space besties only π
), and honestly? it's giving "small function, big job" energy.
π NAME π
qed_get_vport_stats β literally just fills the statistics struct you hand it with statistics. that's the whole vibe. no cap.
π¦ SYNOPSIS π¦
void qed_get_vport_stats (struct qed_dev *cdev , struct qed_eth_stats
*stats );
like, yes, the line break lands in a slightly unhinged place, but that's how the original rolls and we respect it π
πΈ ARGUMENTS πΈ
cdevβ the Qed dev pointer. your main character handle to the device, fr fr.statsβ points to the struct that will be filled with statistics. you bring the empty bucket, this function brings the stats π«Ά
β RETURN β
Void. nothing comes back. it just does the thing and dips π
π₯ SEE ALSO π₯
start with the kernel file, iconic source of truth:
- Kernel file
./drivers/net/ethernet/qlogic/qed/qed_l2.h
and then the whole friend group π
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_context(9)qed_arfs_mode_configure(9)qed_configure_rfs_ntuple_filter(9)qed_eth_rxq_start_ramrod(9)qed_eth_txq_start_ramrod(9)
π real talk: this page is short. like suspiciously short. but that's the whole canon, bestie β i'm not out here inventing lore. everything above is everything there is. iykyk.
okay that's the page!! and for the cute sign-off you asked for: this beauty lives in ./drivers/net/ethernet/qlogic/qed and it's dated October 2026 β so yes, it's a lil time traveler from the future of the qlogic qed tree πβ¨ mwah, slay, periodt π
π¦ 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