rvt_reg_user_mr(9)
π rvt_reg_user_mr(9) π
okay so bestie, welcome to the Kernel API Manual β this page is literally about registering a userspace memory region, and itβs giving main character energy. letβs get into it π«Άβ¨
β¨ NAME β¨
rvt_reg_user_mr β register a userspace memory region π
πΈ SYNOPSIS πΈ
struct ib_mr * rvt_reg_user_mr (struct ib_pd *pd , u64 start , u64
length , u64 virt_addr , int mr_access_flags , struct ib_dmah *dmah ,
struct ib_udata *udata );
π ARGUMENTS π
pdβ protection domain for this memory region π‘οΈstartβ starting userspace address πlengthβ length of region to register πvirt_addrβ associated virtual address πmr_access_flagsβ access flags for this memory region πdmahβ dma handle πudataβ unused by the driver π
π₯ RETURN π₯
the memory region on success, otherwise returns an errno π like, success hands you the memory region and anything else is an error situation. no cap.
π¦ SEE ALSO π¦
Kernel file: ./drivers/infiniband/sw/rdmavt/mr.c π
the whole squad, in order:
rvt_driver_mr_init(9)rvt_mr_exit(9)rvt_alloc_lkey(9)rvt_free_lkey(9)rvt_get_dma_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)
mwah π this iconic little page comes from the source/version ./drivers/infiniband/sw/rdmavt, dated October 2026, and itβs literally called rvt_reg_user_mr(9). periodt. πβ¨
π¦ 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