irdma_get_pble(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🩡 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 from
  • palloc β€” contains all the information regarding the pble (idx + pble addr) πŸ¦‹ like, it's the container that holds the details, both the idx and the pble address
  • pble_cnt β€” the # of pbles requested, i.e. how many you want, bestie, be honest 🌈
  • lvl β€” the requested pble level mask ⭐
not me staring at u32 and u8 like 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 🫢:

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