qed_ptt_pool_alloc(9)
β¨ qed_ptt_pool_alloc(9) β¨
okay so bestie, welcome to the Kernel API Manual π this is the page for qed_ptt_pool_alloc, and no I will not be normal about it.
πΈ NAME πΈ
qed_ptt_pool_alloc β allocate and initialize the PTT pool. that's it, that's the whole vibe π
π¦ SYNOPSIS π¦
int qed_ptt_pool_alloc (struct qed_hwfn *p_hwfn );
likeβ¦ it takes one thing and it hands you back an int. iconic behavior honestly β¨
π ARGUMENTS π
p_hwfnβ the HW device data. that's the hardware function struct, the lil bundle of everything this driver knows about the device. give it here and we'll build the pool π«Ά
π RETURN π
returns struct _qed_status:
- success β
0β¨ (we love a zero, zero is the good one) - negative β error π (that's a fail bestie, handle it)
π SEE ALSO π
the whole group chat, fr fr:
- the Kernel file
./drivers/net/ethernet/qlogic/qed/qed_hw.hπ qed_gtt_init(9)qed_ptt_pool_free(9)qed_ptt_get_hw_addr(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)
bestie note: read qed_ptt_pool_free(9) too, like please. alloc's other half is free. balance. symmetry. main character energy π
okay that's the page!! π this lil gem lives in ./drivers/net/ethernet/qlogic/qed, it's from October 2026, and it's filed under qed_ptt_pool_alloc(9) in the Kernel API Manual. mwah, go allocate responsibly π
ππ§
π¦ 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