qed_ptt_get_hw_addr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… qed_ptt_get_hw_addr β€” the kernel API manual, bestie edition

okay so you're in the qed kernel API manual, and today's main character is qed_ptt_get_hw_addr ✨ β€” the function whose whole personality is handing you back a PTT's GRC/HW address. That's it, that's the vibe. Let's get into it πŸŽ€


🌸 NAME 🌸

qed_ptt_get_hw_addr β€” literally just: get the PTT's GRC/HW address πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

u32 qed_ptt_get_hw_addr (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt
);

no cap, that's the whole signature β€” two args, one u32 coming back at you πŸ”₯


πŸ‘‘ ARGUMENTS πŸ‘‘

  • p_hwfn β€” the HW device data. yep, that's the one 🫢
  • p_ptt β€” it's P_ptt. iconic, unbothered, says exactly what it is πŸ’…

⭐ RETURN ⭐

u32. that's the whole answer, she said what she said πŸ’€


🌈 SEE ALSO 🌈

so many besties in the kernel file ./drivers/net/ethernet/qlogic/qed/qed_hw.h β€” go say hi to all of them:


and that's the whole page, periodt πŸ’œ this lil icon lives at ./drivers/net/ethernet/qlogic/qed, dated October 2026, and she's serving qed_ptt_get_hw_addr(9) realness till the very last line 🧚

πŸ“¦ where this page comes from