qed_eq_alloc(9)
π qed_eq_alloc(9) β like, the Kernel API Manual page, bestie π
Okay so this is a page from the Kernel API Manual, and it's all about qed_eq_alloc β yes the (9) is part of the name, that's just how kernel docs roll, iykyk. Sit down, grab a lil snack π, and let's get into it.
β¨ NAME β¨
qed_eq_alloc β literally allocates and initializes an EQ struct. Two jobs, one function, main character energy fr fr.
πΈ SYNOPSIS πΈ
int qed_eq_alloc (struct qed_hwfn *p_hwfn , u16 num_elem );
That's the whole vibe. It hands you back an int, and it wants two things before it'll do anything. π
π ARGUMENTS π
p_hwfnβ the HW device data. Like, the hardware's whole personality and paperwork, all bundled up. You gotta give it this or nothing happens πnum_elemβ the number of elements in the eq. Au16, so bestie, plan accordingly π
β RETURN β
Returns an Int. That's it, that's the whole section β the manpage is being mysterious and I respect it π
π¦ SEE ALSO π¦
So there's a kernel file to peep if you want the lore:
- Kernel file
./drivers/net/ethernet/qlogic/qed/qed_sp.h
And then the whole friend group β like the entire qed_sp and qed_eq and qed_consq squad, all here for the group chat π«Ά:
qed_eth_cqe_completion(9)qed_spq_post(9)qed_spq_alloc(9)qed_spq_setup(9)qed_spq_free(9)qed_spq_get_entry(9)qed_spq_return_entry(9)qed_eq_setup(9)qed_eq_free(9)qed_eq_prod_update(9)qed_eq_completion(9)qed_spq_completion(9)qed_spq_get_cid(9)qed_consq_alloc(9)qed_consq_setup(9)qed_consq_free(9)qed_sp_destroy_request(9)qed_sp_pf_start(9)qed_sp_pf_update(9)qed_sp_pf_update_stag(9)qed_sp_pf_update_ufp(9)qed_sp_heartbeat_ramrod(9)
That's the page!! π§ Nobody gatekeep this β it lives at ./drivers/net/ethernet/qlogic/qed and it's dated October 2026, and the page itself answers to the name qed_eq_alloc(9). Slay, go read the source, 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