irdma_hmc_sd_grp(9)
π« irdma_hmc_sd_grp β setup group of sd entries for cqp π«
okay so bestie, welcome to the irdma_hmc_sd_grp(9) page, that's the kernel API manual one, and honestly? she's a lil niche but she serves. this one is all about setting up a group of sd entries for cqp. that's the whole vibe. no cap.
πΈ SYNOPSIS πΈ
int irdma_hmc_sd_grp (struct irdma_sc_dev *dev , struct irdma_hmc_info
*hmc_info , u32 sd_index , u32 sd_cnt , bool setsd );
she returns an int, she takes five things, and yes the line break in the middle is exactly how it's written, we don't argue with the manpage, we respect her β¨
π ARGUMENTS π
devβ pointer to the device structure. like, the device. the main character. π«Άhmc_infoβ pointer to the HMC configuration information struct. the lore. the context. keep her close.sd_indexβ sd index. yeah. that's the whole description. short and iconic πsd_cntβ number of sd entries. how many sd's we're doing here, bestie, that's the count πsetsdβ flag to set or clear sd. she does both!! she's versatile!! literal dual threat energy π₯
lowkey important: that last flag is doing the heavy lifting β setsd is the difference between setting and clearing, so please don't just vibe-check it and move on π
π SEE ALSO π
first up, the kernel file, in all her glory:
./drivers/infiniband/hw/irdma/hmc.c
and then the whole friend group, no one left behind, fr fr:
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_finish_add_sd_reg(9)irdma_sc_create_hmc_obj(9)irdma_finish_del_sd_reg(9)irdma_sc_del_hmc_obj(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, that's a squad. go read them too, iykyk π
and that's the page!! mwah, go touch some sd entries, bestie ππ
this lil slice of kernel lore lives in ./drivers/infiniband/hw/irdma, it's dated October 2026, and she answers to the name irdma_hmc_sd_grp(9) β periodt. π¦β¨
π¦ 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