__qed_vf_get_link_caps(9)
π __qed_vf_get_link_caps β bestie edition
okay so this is from the __qed_vf_get_link_caps(9) kernel API manual, and honestly it's a lil function with one job and it does it. no notes. π
β¨ NAME β¨
__qed_vf_get_link_caps β returns the link capabilities in a given bulletin board. that's it, that's the whole vibe. π¦
πΈ SYNOPSIS πΈ
void __qed_vf_get_link_caps (struct qed_hwfn *p_hwfn , struct
qed_mcp_link_capabilities *p_link_caps , struct qed_bulletin_content
*p_bulletin );
three pointers in, absolutely nothing out (it's void, she's mysterious like that π). copy it exactly, lowercase void and all, bestie β do not get creative with the casing, fr fr.
π ARGUMENTS π
p_hwfnβ the HW device data. it's the hardware function struct, the main character of this whole subsystem πp_link_capsβ pointer to a struct you fill with link capabilities. yes, you fill it. she hands you the pointer and trusts you. no pressure π«Άp_bulletinβ the bulletin. the bulletin board. the lil message board the PF leaves notes on for you. iconic. π
β RETURN β
Void.
literally nothing comes back. no return value, no surprises, just pure peaceful void energy β¨ (and yes, the original capitalizes the V in Void. β keep it, we stan consistency π
)
π¦ SEE ALSO π¦
the source file lives at kernel file ./drivers/net/ethernet/qlogic/qed/qed_vf.h β go look, it's right there in the tree π
and here's the whole friend group, everyone in the qed vf squad, no one left out π«Ά:
qed_vf_pf_set_coalesce(9)qed_vf_pf_get_coalesce(9)qed_vf_read_bulletin(9)qed_vf_get_link_params(9)qed_vf_get_link_state(9)qed_vf_get_link_caps(9)qed_vf_get_num_rxqs(9)qed_vf_get_num_txqs(9)qed_vf_get_num_cids(9)qed_vf_get_port_mac(9)qed_vf_get_num_vlan_filters(9)qed_vf_get_num_mac_filters(9)qed_vf_check_mac(9)qed_vf_get_fw_version(9)qed_vf_hw_prepare(9)qed_vf_pf_rxq_start(9)qed_vf_pf_txq_start(9)qed_vf_pf_rxq_stop(9)qed_vf_pf_txq_stop(9)qed_vf_pf_vport_update(9)qed_vf_pf_reset(9)qed_vf_pf_release(9)qed_vf_get_igu_sb_id(9)qed_vf_set_sb_info(9)qed_vf_pf_vport_start(9)qed_vf_pf_vport_stop(9)qed_vf_pf_int_cleanup(9)__qed_vf_get_link_params(9)__qed_vf_get_link_state(9)qed_vf_pf_bulletin_update_mac(9)
note the two with the double underscore prefix β __qed_vf_get_link_params(9) and __qed_vf_get_link_state(9) β those are the internal besties, iykyk π
π reminder bestie: this is avoidfunction that fills a caller-supplied struct. don't expect a return value, and don't expect it to allocate anything for you β thep_link_capsstruct is yours to own π«Ά
and that's the page!! sourced from ./drivers/net/ethernet/qlogic/qed, dated October 2026, in the __qed_vf_get_link_caps(9) era of the Kernel API Manual. slay, go read qed_vf.h π
β¨π
π¦ 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