qed_spq_get_entry(9)
πΈ qed_spq_get_entry(9) πΈ
okay so bestie, welcome to qed_spq_get_entry, a page straight out of the Kernel API Manual (yes, that's the manual name, and yes, we're citing it π
). This is the little function that snags you an entry out of the spq free pool list. It's giving "grab a thing from the pile" and honestly? We love a simple queen.
β¨ NAME β¨
qed_spq_get_entry β Obtain an entrry from the spq free pool list.
and before anyone comes for me: no, entrry is not a typo I made up, that's literally how the page spells it. we respect the lore π«Ά
π¦ SYNOPSIS π¦
int qed_spq_get_entry (struct qed_hwfn *p_hwfn , struct qed_spq_entry
**pp_ent );
One function, two args, returns an int. Short and sweet, main character energy fr fr.
π ARGUMENTS π
p_hwfnβ the HW device data. that's your hardware's whole little identity, we're handing it over πpp_entβ PP ENT. yes, that's the entire description. it's a pointer-to-pointer to an entry, and the page says "PP ENT" and dips. iconic minimalism, we stan. π₯
β RETURN β
Int. β that's it. that's the whole description. an int. no cap.
π SEE ALSO π
okay this is the part where the group chat gets long, buckle up π§
- the Kernel file
./drivers/net/ethernet/qlogic/qed/qed_sp.hβ go read her, she's the source of truth qed_eth_cqe_completion(9)qed_spq_post(9)qed_spq_alloc(9)qed_spq_setup(9)qed_spq_free(9)qed_spq_return_entry(9)qed_eq_alloc(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 whole squad, no one left behind π
quick vibe check: the page genuinely does not tell you anything about what a non-zero return means or what happens on failure. so don't come at me asking β the manpage said what it said, and we're not inventing lore π
mwah, that's the page! she lives in ./drivers/net/ethernet/qlogic/qed, she's dated October 2026, and she's filed under the name qed_spq_get_entry(9) forever and always π
β¨ π
π¦ 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