t4vf_get_port_stats(9)
β¨ t4vf_get_port_stats β the kernel API manual page for this lil' beauty π
okay so this is a page from the Kernel API Manual (that's the 9 in t4vf_get_port_stats(9), iykyk π
), and bestie⦠it's a whole vibe. let's get into it.
πΈ NAME πΈ
t4vf_get_port_stats β collect "port" statistics π
like, literally go gather the stats for the port. that's the whole gig. no cap.
π¦ SYNOPSIS π¦
int t4vf_get_port_stats (struct adapter *adapter , int pidx , struct
t4vf_port_stats *s );
it hands you back an int, and it takes those three things above. that's it, that's the signature, don't @ me π«Ά
π ARGUMENTS π
adapterβ the adapter π§pidxβ the port index, like which port we're talking about bestie π₯sβ the stats structure to fill π this is the one you're gonna populate, so have it ready
π DESCRIPTION π
Collect statistics for the "port"'s Virtual Interface. π«
that's the sentence. that's the lore. you got your adapter, you got your port index, you pass in the stats struct, and it fills it with the VI's stats. simple, iconic, main character energy β
ngl this one's short and sweet β no plot twists, no deprecated flags, no dangerous weirdness. just stats. slay π
π SEE ALSO π
Kernel file ./drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c β that's where the actual code lives, go peek π
and the whole friend group of related pages, fr fr:
t4vf_record_mbox(9)t4vf_wr_mbox_core(9)fwcaps16_to_caps32(9)fwcap_to_fwspeed(9)t4vf_port_init(9)t4vf_fw_reset(9)t4vf_query_params(9)t4vf_set_params(9)t4vf_fl_pkt_align(9)t4vf_bar2_sge_qregs(9)t4vf_get_sge_params(9)t4vf_get_vpd_params(9)t4vf_get_dev_params(9)t4vf_get_rss_glb_config(9)t4vf_get_vfres(9)t4vf_read_rss_vi_config(9)t4vf_write_rss_vi_config(9)t4vf_config_rss_range(9)t4vf_alloc_vi(9)t4vf_free_vi(9)t4vf_enable_vi(9)t4vf_enable_pi(9)t4vf_identify_port(9)t4vf_set_rxmode(9)t4vf_alloc_mac_filt(9)t4vf_free_mac_filt(9)t4vf_change_mac(9)t4vf_set_addr_hash(9)t4vf_iq_free(9)t4vf_eth_eq_free(9)t4vf_link_down_rc_str(9)t4vf_handle_get_port_info(9)t4vf_update_port_info(9)t4vf_handle_fw_rpl(9)t4vf_get_vf_mac_acl(9)t4vf_get_vf_vlan_acl(9)
and that's the page!! π«Ά source/version vibes: it's stamped ./drivers/net/ethernet/chelsio... with a date of October 2026, and it's the t4vf_get_port_stats(9) page in the Kernel API Manual. mwah, go read some stats bestie πβ¨
π¦ 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