qed_mcp_trans_speed_mask(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… qed_mcp_trans_speed_mask β€” Kernel API Manual, but make it make sense

okay so bestie, we're deep in the qed driver (that's the qlogic ethernet situation, iykyk) and this little function is your go-to for one specific thing: it tells you which transceiver speeds the hardware is out here supporting. that's it. that's the whole vibe. it does not do your laundry, it does not set the link, it just hands you the mask. πŸŽ€


✨ NAME ✨

qed_mcp_trans_speed_mask β€” get transceiver supported speed mask. literally just "what speeds does this transceiver support" and she will tell you.


🌸 SYNOPSIS 🌸

int qed_mcp_trans_speed_mask (struct qed_hwfn *p_hwfn , struct qed_ptt
*p_ptt , u32 *p_speed_mask );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • p_hwfn β€” the HW device data. this is the hardware function struct, the main character of the whole show, everything needs her.
  • p_ptt β€” P_ptt. yes that's genuinely all the original says and we're not gonna invent lore about it, that's the whole description. 🫢
  • p_speed_mask β€” bit mask of all supported speeds. you pass a pointer, she fills it in with the good stuff. one bit per speed, classic mask behavior, no cap.

πŸ”₯ RETURN πŸ”₯

she returns an int, and here's the whole mood of it:

  • 0 β€” operation was successful. slay. πŸ’–
  • -EBUSY β€” operation failed. busy vibes, it did not work out. 😭

⭐ SEE ALSO ⭐

the kernel file itself lives at ./drivers/net/ethernet/qlogic/qed/qed_mcp.h β€” that's the source of truth, go read her.

and now, the full girl gang of related pages, every single one, no skipping, periodt:


ngl this one's a short read, but the friend group is huge. respect the ecosystem. πŸ’€

and that's the page!! πŸ’œ this whole thing comes from ./drivers/net/ethernet/qlogic/qed, dated October 2026, and yeah, qed_mcp_trans_speed_mask(9) is the moment. go get your speed mask, bestie. πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from