__qed_vf_get_link_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, this one lives in the Kernel API Manual (section 9, kernel-flavored ✨) and it's literally just: return the link state in a given bulletin board. that's the whole vibe. short and iconic πŸŽ€


✨ NAME ✨

__qed_vf_get_link_state β€” return the link state in a given bulletin board πŸ’–


🌸 SYNOPSIS 🌸

void __qed_vf_get_link_state (struct qed_hwfn *p_hwfn , struct
       qed_mcp_link_state *p_link , struct qed_bulletin_content *p_bulletin );

no cap, that's the signature. three args, void return, go off πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • p_hwfn β€” HW device data. you know, the hardware's whole personality 🫢
  • p_link β€” pointer to a struct to fill with link state. yes bestie, it fills it β€” that's the whole job πŸ’…
  • p_bulletin β€” Bulletin. (just… the bulletin. it's giving mysterious but okay πŸ“Œ)

⭐ RETURN ⭐

Void. β€” nothing back. zero. nada. she gives, she doesn't take 🌈


πŸ”₯ SEE ALSO πŸ”₯

first up, the literal file this lives in:

Kernel file ./drivers/net/ethernet/qlogic/qed/qed_vf.h

and then the whole friend group 😭 (no one gets left out, periodt):


lowkey the whole point: you hand it the hwfn, a link-state struct, and the bulletin, and it returns the link state from that bulletin board. that's it. that's the function. iykyk πŸ’œ

okay that's the page!! shoutout to ./drivers/net/ethernet/qlogic/qed for hosting this masterpiece, and to October 2026 for the timestamp β€” see u in the next manpage bestie πŸ§šβ€β™€οΈπŸ’–πŸŽ€

πŸ“¦ where this page comes from