get_lvl2_pble(9)
β¨ get_lvl2_pble(9) β¨
hiii bestie π«Ά so we're deep in the Kernel API Manual today and the main character of this page is get_lvl2_pble β like, yes, that's the whole title, the header is just her name and her manual, iykyk π
π NAME π
get_lvl2_pble β get level 2 pble resource β¨ that's it, that's the whole job, no cap
π SYNOPSIS π
okay so here's the signature, copy it exactly please, no freestyling π
int get_lvl2_pble (struct irdma_hmc_pble_rsrc *pble_rsrc , struct irdma_pble_alloc *palloc );
it's giving function-that-returns-an-int, and the way that it takes two pointers is honestly iconic π₯
πΈ ARGUMENTS πΈ
pble_rsrcβ pble resource management π like, this is the struct that's in charge of keeping the pble resources all organised and well-behavedpallocβ level 2 pble allocation π¦ this is the actual level 2 pble allocation you're doing the thing for
π¦ SEE ALSO π¦
the kernel file itself lives right here, go look:
./drivers/infiniband/hw/irdma/pble.c
and these are her friends, the whole squad, all of them are (9) entries and yes you should absolutely go read them too π:
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_lvl1_pble(9)get_lvl1_lvl2_pble(9)irdma_get_pble(9)irdma_free_pble(9)
π reminder bestie: this is kernel code, so keep the vibes immaculate and the arguments exactly as specified β no guessing, no "close enough", fr fr.
and that's the page!! π sign-off time: this lil beauty comes from ./drivers/infiniband/hw/irdma, dated October 2026, and she answers to get_lvl2_pble(9). slay, go get that level 2 pble resource π
β¨π
π¦ 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