qed_mcp_set_link(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so real talk bestie, this is a page from the Kernel API Manual, and it's about one very specific little function: qed_mcp_set_link. That's the one that goes "hey MFW πŸ‘‹ can u set the link the way link_input says pls." No cap, that's the whole vibe. πŸ’…


✨ SYNOPSIS ✨

int qed_mcp_set_link (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt ,
bool b_up );

like, yes, the spacing is doing its own thing, don't @ me, this is just how it came out of the header file πŸ™ˆ


🫢 ARGUMENTS 🫢

three args, all of them main characters in their own way:

  • p_hwfn β€” the HW device data. literally the hardware's whole personality in a struct πŸ’–
  • p_ptt β€” P_ptt. that's it. that's the description. iconic honestly πŸ‘‘
  • b_up β€” the vibe switch. if true, raise the link πŸ”₯. if false, reset the link. so simple, so powerful.

πŸ’€ RETURN πŸ’€

Int. β€” a whole integer, returned. that's the tea. πŸ“


πŸ¦‹ SEE ALSO πŸ¦‹

okay so first things first, there's a kernel file you should absolutely go stare at:

./drivers/net/ethernet/qlogic/qed/qed_mcp.h

and then. bestie. and then. there's the friend group. the whole squad. the entire qed_mcp extended universe is listed here and i'm not skipping a single one because every single one of these is a real reference and we do NOT leave members of the group chat on read πŸ’œ

like... 71 of them?? that's not a SEE ALSO that's a whole graduation ceremony 😭 but every single one earns its place, we love a thorough cross-reference queen 🌈


lowkey a reminder: everything above is straight from the page, so if you're actually poking at this driver, read the real header and the real functions β€” i'm just here to make it make sense πŸ’«

and that's the whole page bestie!! πŸŽ€ it came from <pink>./drivers/net/ethernet/qlogic/qed</pink> and it's dated <lavender>October 2026</lavender>, so go forth, raise that link, reset that link, and stan a well-documented kernel API. periodt. πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from