qed_get_reserved_ptt(9)
π
qed_get_reserved_ptt β NAME β¨
okay so bestie, this one's called qed_get_reserved_ptt(9) and it's from the Kernel API Manual, and what it does is literally get a specific reserved PTT. that's it, that's the whole vibe. one job, does it slayfully.
πΈ SYNOPSIS πΈ
struct qed_ptt * qed_get_reserved_ptt (struct qed_hwfn *p_hwfn , enum
reserved_ptts ptt_idx );
like, you hand it a hardware function and a PTT index, and it hands you back a struct qed_ptt *. no cap. π«Ά
π ARGUMENTS π
p_hwfnβ the HW device data. the whole hardware function situation. main character energy, fr.ptt_idxβ the Ptt Index. which reserved PTT you're asking for, iykyk. π¦
β RETURN β
struct qed_ptt *.
that's the return. a pointer to a struct qed_ptt, periodt. π
π₯ SEE ALSO π₯
the kernel file lives at ./drivers/net/ethernet/qlogic/qed/qed_hw.h β go look, it's giving source of truth β¨ β and honestly the whole friend group is here:
qed_gtt_init(9)qed_ptt_pool_alloc(9)qed_ptt_pool_free(9)qed_ptt_get_hw_addr(9)qed_ptt_get_bar_addr(9)qed_ptt_set_win(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)
π that's the whole page, bestie β sourced straight from ./drivers/net/ethernet/qlogic/qed, dated October 2026, and yes it's qed_get_reserved_ptt(9) exactly like we said. mwah π
π¦ 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