qed_mcp_get_...sceiver_data(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ qed_mcp_get_transceiver_data β€” fresh off the Kernel API Manual πŸ’…

okay bestie, welcome to qed_mcp_get_...sceiver_data(9) β€” yes the header truncates it like that, she's got main character energy and a limited character budget, we respect it. this is the Kernel API Manual page for qed_mcp_get_transceiver_data, and it does exactly one thing: it gets the transceiver data of the port. that's it. that's the vibe. ✨


✨ NAME ✨

qed_mcp_get_transceiver_data β€” Get transceiver data of the port. no cap, that's literally the whole job.


🌸 SYNOPSIS 🌸

int qed_mcp_get_transceiver_data (struct qed_hwfn *p_hwfn , struct
qed_ptt *p_ptt , u32 *p_transceiver_state , u32 *p_tranceiver_type );

she takes four args and gives you back an int. it's giving "small function, big responsibilities" 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • p_hwfn β€” HW device data. the hardware's whole little identity, handed over. iconic.
  • p_ptt β€” P_ptt. that's it, that's the description. the manual said "P_ptt" and then clocked out 😭 we love a low-effort queen.
  • p_transceiver_state β€” Transceiver state. this is where the state of the transceiver lands.
  • p_tranceiver_type β€” Media type value. and yes, it is spelled p_tranceiver_type right there in the manual β€” do not come for her spelling, she's been through enough πŸ™ˆ copy it exactly as written or your compile will simply not slay.

πŸ’– RETURN πŸ’–

returns an int, and here's the whole tea:

  • 0 β€” operation was a success. (the page says "Operation was successul" and honestly? iconic. we're keeping her exactly as she is πŸ‘‘)
  • -EBUSY β€” operation failed. busy little error, showing up to ruin the party πŸ’€

🌈 SEE ALSO 🌈

the kernel file herself lives at:

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

and she rolls deep with her friend group, so here's the entire squad, no one left out, fr fr:

like I said: the whole group chat 🫢


ngl bestie, if the return is -EBUSY, the operation failed β€” don't go reading your transceiver state and pretending everything's fine. check the int, always. 😭

and that's the page!! brought to you by the ./drivers/net/ethernet/qlogic/qed crew, dated October 2026 β€” mwah, periodt, go read your qed_mcp.h πŸ’œπŸŒΈ

πŸ“¦ where this page comes from