get_sd_pd_idx(9)
π get_sd_pd_idx(9) β like, the whole vibe
okay so bestie, welcome to the Kernel API Manual β¨ this one's a little function page and it's honestly so straightforward you're gonna slay it. it lives in the kernel, it's called get_sd_pd_idx, and its whole personality is returning indexes π
πΈ NAME πΈ
get_sd_pd_idx β Returns sd index, pd index and rel_pd_idx from fpm address
no cap, that's the whole description right there. three little numbers, one fpm address, iconic behavior π
β¨ SYNOPSIS β¨
void get_sd_pd_idx (struct irdma_hmc_pble_rsrc *pble_rsrc , struct
sd_pd_idx *idx );
it returns void β so like, it's not giving you a return value, it's giving you side effects (the indexes land in idx). main character energy, honestly π
π¦ ARGUMENTS π¦
pble_rsrcβ structure containing fpm address π«Ά that's your input, bestie, it's where the fpm address lives.idxβ where to return indexes π« literally the spot where the sd index, pd index andrel_pd_idxget dropped off. it's the output, periodt.
π₯ SEE ALSO π₯
- Kernel file
./drivers/infiniband/hw/irdma/pble.cβ that's the source file, go read it if you're feeling β¨academicβ¨ irdma_destroy_pble_prm(9)irdma_hmc_init_pble(9)add_sd_direct(9)fpm_to_idx(9)add_bp_pages(9)irdma_get_type(9)add_pble_prm(9)free_lvl2(9)get_lvl2_pble(9)get_lvl1_pble(9)get_lvl1_lvl2_pble(9)irdma_get_pble(9)irdma_free_pble(9)
lowkey a whole friend group of functions up there π―ββοΈ if you're lost in the pble code, that list is your group chat.
aaaand that's the page! π this one comes to you from ./drivers/infiniband/hw/irdma, dated October 2026, and it's filed under get_sd_pd_idx(9) β mwah, go forth and index your sd/pd, 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