qed_final_cleanup(9)
β¨ qed_final_cleanup β a Kernel API Manual moment β¨
okay so bestie, we're in qed_final_cleanup(9) territory, section 9 of the Kernel API Manual, and honestly this one is serving janitor energy β it's all about tidying up the leftovers a previous driver left behind before a fresh load rolls in π
πΈ NAME πΈ
qed_final_cleanup β literally the cleanup of previous driver remains, prior to load. That's the whole vibe. Sweep the crumbs, then let the new driver walk in like it owns the place π§Ήβ¨
π SYNOPSIS π
int qed_final_cleanup (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt ,
u16 id , bool is_vf );
that's the whole signature, no cap β copy it exactly, don't @ me π
π¦ ARGUMENTS π¦
p_hwfnβ HW device data. the hardware's whole personality file, basically.p_pttβP_ptt. yes, that's the entire description, and yes, we're respecting it πidβ the id you're cleaning up for. for a PF it's engine-relative; for a VF it's PF-relative. do not mix these up, i'm begging π«Άis_vfβtrueiff (and only iff, bestie, iff is doing heavy lifting here) the cleanup is being done for a VF.
β RETURN β
Int. β it returns an int. short king of a return section, we love to see it π
π SEE ALSO π
bestie. buckle up. the cross-reference list is long and it ATE. first up, the kernel file it lives in:
- Kernel file
./drivers/net/ethernet/qlogic/qed/qed_dev_api.h
and then, the whole friend group π₯
qed_init_dp(9)qed_init_struct(9)qed_resc_free(9)qed_resc_alloc(9)qed_resc_setup(9)qed_hw_init(9)qed_hw_timers_stop_all(9)qed_hw_stop(9)qed_hw_stop_fastpath(9)qed_hw_start_fastpath(9)qed_hw_prepare(9)qed_hw_remove(9)qed_ptt_acquire(9)qed_ptt_acquire_context(9)qed_ptt_release(9)qed_dmae_host2grc(9)qed_dmae_host2host(9)qed_fw_l2_queue(9)qed_fw_vport(9)qed_fw_rss_eng(9)qed_llh_get_num_ppfid(9)qed_llh_set_ppfid_affinity(9)qed_llh_set_roce_affinity(9)qed_llh_add_mac_filter(9)qed_llh_remove_mac_filter(9)qed_llh_add_protocol_filter(9)qed_llh_remove_protocol_filter(9)qed_get_queue_coalesce(9)qed_set_queue_coalesce(9)qed_pglueb_set_pfid_enable(9)qed_db_recovery_add(9)qed_db_recovery_del(9)
like, the whole squad showed up for the group photo πΈπ
fr fr though: this page is 90% cross-references, so if you're chasing a qed_* function, it's probably in that list. iykyk π§
and that's the page, bestie π sign-off time: this lil beauty comes from the source at ./drivers/net/ethernet/qlogic/qed and it's dated October 2026 β periodt, that's the tea βπ
π¦ 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