rvt_get_dma_mr(9)
π 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:
rvt_driver_mr_init(9)rvt_mr_exit(9)rvt_alloc_lkey(9)rvt_free_lkey(9)rvt_reg_user_mr(9)rvt_dereg_clean_qp_cb(9)rvt_dereg_clean_qps(9)rvt_check_refs(9)rvt_mr_has_lkey(9)rvt_ss_has_lkey(9)rvt_dereg_mr(9)rvt_alloc_mr(9)rvt_set_page(9)rvt_map_mr_sg(9)rvt_fast_reg_mr(9)rvt_invalidate_rkey(9)rvt_sge_adjacent(9)rvt_lkey_ok(9)rvt_rkey_ok(9)
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 isrvt_get_dma_mr(9)ofc π mwah, go read the wholemr.cfile, it's giving main character energy π§ββοΈβ¨
π¦ 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