irdma_sc_del_hmc_obj(9)
π irdma_sc_del_hmc_obj π
ok so bestie, this is a page from the Kernel API Manual and we're talking about irdma_sc_del_hmc_obj(9) β the little function that says bye-bye to your pe hmc objects β¨
πΈ NAME πΈ
irdma_sc_del_hmc_obj β remove pe hmc objects π
β¨ SYNOPSIS β¨
int irdma_sc_del_hmc_obj (struct irdma_sc_dev *dev , struct
irdma_hmc_del_obj_info *info , bool reset );
literally that's the whole signature, no cap π«Ά
π¦ ARGUMENTS π¦
devβ pointer to the device structure. the main character of this whole operation ngl πinfoβ pointer toirdma_hmc_del_obj_infostruct. this is where the deets live πresetβtrueif called before reset. so like, yes if you're pre-reset, otherwise no π
π DESCRIPTION π
ok so here's the vibe: this function will de-populate the SDs and PDs β yep, both of them, it's giving thorough π It frees the memory for PDS and backing storage.
and listen, after this function is returned, the caller should deallocate memory allocated previously for book-keeping information about PDs and backing storage. like, that's on you, bestie β the function does its part and then hands the baton back π«‘
no skips, no shortcuts β every single word above is load-bearing, fr fr π
π₯ SEE ALSO π₯
Kernel file ./drivers/infiniband/hw/irdma/hmc.c β the source, the origin story, iykyk β
and the whole friend group:
irdma_find_sd_index_limit(9)irdma_find_pd_index_limit(9)irdma_set_sd_entry(9)irdma_clr_sd_entry(9)irdma_invalidate_pf_hmc_pd(9)irdma_hmc_sd_one(9)irdma_hmc_sd_grp(9)irdma_hmc_finish_add_sd_reg(9)irdma_sc_create_hmc_obj(9)irdma_finish_del_sd_reg(9)irdma_add_sd_table_entry(9)irdma_add_pd_table_entry(9)irdma_remove_pd_bp(9)irdma_prep_remove_sd_bp(9)irdma_prep_remove_pd_page(9)
like, a whole squad π
aaand that's the page! π§ she lives in ./drivers/infiniband/hw/irdma, dated October 2026, and this whole thing is irdma_sc_del_hmc_obj(9) β slay, go free those objects, bestie ππΈ
π¦ 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