qed_sp_destroy_request(9)
πΈ qed_sp_destroy_request β NAME πΈ
ok so bestie, gather round: qed_sp_destroy_request is the function that returns a SPQ entry to the pool, and it also frees the entry if allocated. π
and like, the important part β the part you literally cannot skip β is when you call it: it should be called on in error flows after initializing the SPQ entry and before posting it. that's the whole vibe check. error path, after init, before post. periodt. π
this page lives in the Kernel API Manual, iykyk.
β¨ SYNOPSIS β¨
void qed_sp_destroy_request (struct qed_hwfn *p_hwfn , struct
qed_spq_entry *p_ent );
yeah she takes two args and gives you nothing back. void city. π¦
π«Ά ARGUMENTS π«Ά
p_hwfnβ the HW device data. like, the hardware handler situation. that one. π₯p_entβ the Ent. yes, that's genuinely all the original says. "Ent." iconic minimalism, no notes. π
β RETURN β
Void. that's it. nothing comes back. she simply does the thing and leaves. π
π§ SEE ALSO π§
first up, the literal file, no cap:
- Kernel file
./drivers/net/ethernet/qlogic/qed/qed_sp.h
and then the whole bestie squad of related calls, in order, every single one of them π:
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_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_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)
π friendly reminder bestie: this one is an error-flow friend. after initializing the SPQ entry, before posting it. don't be out here calling her at random times, ok? π
and that's the whole page, mwah π this gem ships out of ./drivers/net/ethernet/qlogic/qed, dated October 2026, and it's literally titled qed_sp_destroy_request(9) β slay, go free those entries, ily, bye πβ¨
π¦ 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