qed_ptt_get_hw_addr(9)
π 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'sP_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:
qed_gtt_init(9)qed_ptt_pool_alloc(9)qed_ptt_pool_free(9)qed_ptt_get_bar_addr(9)qed_ptt_set_win(9)qed_get_reserved_ptt(9)qed_wr(9)qed_rd(9)qed_memcpy_from(9)qed_memcpy_to(9)qed_fid_pretend(9)qed_port_pretend(9)qed_port_unpretend(9)qed_port_fid_pretend(9)qed_vfid_to_concrete(9)qed_dmae_idx_to_go_cmd(9)qed_dmae_info_alloc(9)qed_dmae_info_free(9)qed_hw_err_notify(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms