t4vf_port_init(9)
π t4vf_port_init β initialize port hardware/software state
okay so real talk, this one's from the Kernel API Manual and it's basically the glow-up appointment for a port β¨ like it sets up both the hardware and the software state for one port, no cap.
πΈ SYNOPSIS πΈ
int t4vf_port_init (struct adapter *adapter , int pidx );
it hands you back an int, bestie. that's the whole vibe check.
π ARGUMENTS π
adapterβ the adapter. yes THAT adapter, the one you're working with π«Άpidxβ the adapter port index, aka which port we're initializing, iykyk
π SEE ALSO π
the kernel file lives at ./drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c β go read it, it's giving main character energy π
and here's the whole friend group, every single one, not skipping anybody:
t4vf_record_mbox(9)t4vf_wr_mbox_core(9)fwcaps16_to_caps32(9)fwcap_to_fwspeed(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_get_port_stats(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)
ngl there's no OPTIONS section here, no RETURN VALUE section, no ERRORS β that's the whole page, don't come for me π what you see is what you get.
so anyway, this page came from ./drivers/net/ethernet/chelsio... and it's dated October 2026 β like, future-dated iconic behavior honestly πβ¨ 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