__qed_vf_get_link_caps(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 🫢:

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 a void function that fills a caller-supplied struct. don't expect a return value, and don't expect it to allocate anything for you β€” the p_link_caps struct 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