irdma_get_pble(9)
π©΅ NAME π©΅
irdma_get_pble β bestie, this is the one that allocates pbles from the prm β¨
okay so quick vibe check: this page lives in the Kernel API Manual, section 9, and the whole personality of it is "hand me some pbles out of the prm, please and thank you" π
π SYNOPSIS π
int irdma_get_pble (struct irdma_hmc_pble_rsrc *pble_rsrc , struct
irdma_pble_alloc *palloc , u32 pble_cnt , u8 lvl );
literally the whole function, no cap. four args, returns an int, that's the tea π«Ά
πΈ ARGUMENTS πΈ
pble_rsrcβ the pble resources π this is the pool situation you're pulling frompallocβ contains all the information regarding the pble (idx+ pble addr) π¦ like, it's the container that holds the details, both theidxand the pble addresspble_cntβ the # of pbles requested, i.e. how many you want, bestie, be honest πlvlβ the requested pble level mask β
not me staring atu32andu8like they're the main characters, because honestly? they are π
π¦ SEE ALSO π¦
the kernel file lives right here, iconic of it:
./drivers/infiniband/hw/irdma/pble.c
and the whole friend group π«Ά:
irdma_destroy_pble_prm(9)irdma_hmc_init_pble(9)get_sd_pd_idx(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_free_pble(9)
like, the lvl1 and lvl2 girlies really said "we come as a set" ππ
and that's the page, bestie π the source lives at ./drivers/infiniband/hw/irdma, the date on it is October 2026, and it'll answer to the name irdma_get_pble(9) β slay, go allocate responsibly πβ¨
π¦ 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