fpm_to_idx(9)
π fpm_to_idx(9) β like, the whole vibe
okay so bestie, welcome to fpm_to_idx(9), a page straight out of the Kernel API Manual β¨ β it's short, it's sweet, and it does exactly one (1) thing. No cap. π
β¨ NAME β¨
fpm_to_idx β given fpm address, get pble index π¦
That's it. That's the whole assignment. You hand it an fpm address, it hands you back the pble index. Iconic, honestly. π
πΈ SYNOPSIS πΈ
u32 fpm_to_idx (struct irdma_hmc_pble_rsrc *pble_rsrc , u64 addr );
look at her. returns a u32, takes two args, done. main character energy fr fr π
π ARGUMENTS π
pble_rsrcβ the pble resource management situation ποΈ like, this is the bookkeeping struct you're working inside of.addrβ the fpm address you want the index for π give her the address, she gives you the index.
ngl there are only two arguments, so if you were bracing for a lore dropβ¦ that's the whole list. slay for brevity π
π₯ SEE ALSO π₯
Ok this is where it gets good β the whole friend group is here π«Ά
Kernel file: ./drivers/infiniband/hw/irdma/pble.c β go read the source, iykyk π
and the rest of the crew:
irdma_destroy_pble_prm(9)irdma_hmc_init_pble(9)get_sd_pd_idx(9)add_sd_direct(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)
literally the entire pble cinematic universe πβ
and that's the page, bestie π§ mwah π β this lil masterpiece lives at ./drivers/infiniband/hw/irdma, it's dated October 2026, and it answers to the name fpm_to_idx(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