rvt_get_dma_mr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– rvt_get_dma_mr(9) πŸ’–

okay bestie, welcome to the rvt_get_dma_mr(9) page β€” yes that's the section 9 kernel API manual energy, we're in the big leagues now πŸŽ€ this one is literally all about grabbing yourself a DMA memory region, and honestly? iconic.


✨ NAME ✨

rvt_get_dma_mr β€” get a DMA memory region πŸ’…


🌸 SYNOPSIS 🌸

struct ib_mr * rvt_get_dma_mr (struct ib_pd *pd , int acc );

like, that's the whole vibe. two args, one struct ib_mr * coming back at you πŸ¦‹


🫢 ARGUMENTS 🫢

  • pd β€” the protection domain for this memory region, like it's the whole context of where this MR lives, yk?
  • acc β€” access flags, the little permission details, no cap πŸ”₯

⭐ RETURN ⭐

you get the memory region on success πŸ’– but if it doesn't slay, it returns an errno instead 😭 that's the deal.


🌈 SEE ALSO 🌈

first up, the kernel file itself: ./drivers/infiniband/sw/rdmavt/mr.c β€” that's where all the lore lives πŸ“ and then the whole friend group of related pages, fr fr:


bestie pls note: this all comes from ./drivers/infiniband/sw/rdmavt, dated October 2026 β€” that's the source and the version and the date all in one, and the page is rvt_get_dma_mr(9) ofc πŸ’œ mwah, go read the whole mr.c file, it's giving main character energy πŸ§šβ€β™€οΈβœ¨
πŸ“¦ where this page comes from