irdma_puda_alloc_buf(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– irdma_puda_alloc_buf (9) β€” the kernel API manual, bestie edition ✨

okay so. this is a page from the Kernel API Manual, and no, we're not skipping it, because the PUDA buffer allocation is honestly kind of a big deal. sit down, get a lil snack πŸ“, and let me tell you about the one (1) function that grabs you some memory for a buffer.


🌸 NAME 🌸

irdma_puda_alloc_buf β€” literally just: allocate mem for buffer. that's the whole vibe. it hands you a buffer. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

struct irdma_puda_buf * irdma_puda_alloc_buf (struct irdma_sc_dev *dev ,
u32 len );

so it takes two things and it gives you back a struct irdma_puda_buf *. no cap. 🫢


✨ ARGUMENTS ✨

  • dev β€” the iwarp device πŸ‘‘ like, THE main character here. it's a struct irdma_sc_dev *.
  • len β€” length of buffer πŸ“ a u32, so you tell it how much you want.

πŸŽ€ SEE ALSO πŸŽ€

first up, the lore: the kernel file lives at ./drivers/infiniband/hw/irdma/puda.c β€” that's the source of truth, go read it, iykyk 🧚

then the whole friend group 😭 (yes, you gotta look at all of them, I don't make the rules):

like, that is a lot of cross-references and every single one ate πŸ”₯ go click through them, I believe in you.


πŸ’€ friendly reminder: everything here came straight from the page, bestie β€” I'm not out here inventing flags or behaviours. if it's not written above, it's not real. πŸ™ˆ

and that's the whole page! mwah πŸ’œ this beauty lives in ./drivers/infiniband/hw/irdma and it's dated October 2026 β€” yes, October 2026, don't ask me, that's just what the footer says 😭 periodt. bye bestie, happy buffer-ing! πŸŒˆβ­πŸŽ€

πŸ“¦ where this page comes from