irdma_reg_user_mr(9)
π irdma_reg_user_mr β like, the Kernel API Manual, bestie π
okay so real talk, this is irdma_reg_user_mr from the irdma(9) kernel API manual β she's the one who registers a user memory region, and honestly? icon behavior. no notes. β¨
β¨ NAME β¨
irdma_reg_user_mr β register a user memory region</p> π
like literally that's her whole job. that's the gig. she registers user memory regions and she does it slayfully. π¦
πΈ SYNOPSIS πΈ
struct ib_mr * irdma_reg_user_mr (struct ib_pd *pd , u64 start , u64 len
, u64 virt , int access , struct ib_dmah *dmah , struct ib_udata *udata
);
so she takes a bunch of things and gives you back a struct ib_mr *, which is giving main character energy ngl. π
π«Ά ARGUMENTS π«Ά
okay bestie, let's do the vibe check on every single one of these, no skips, we don't skip here:
pdβ ptr of pd. that's it, that's the whole description. she's a pointer to apd, and she said what she said. πstartβ virtual start address. like where the vibes begin. πlenβ length of mr. how long the mr is. be so fr rn, it's the length. πvirtβ virtual address. yes, another one. she's virtual, she's an address, she's that girl. π§accessβ access of mr. the access situation. for the mr. πdmahβ dma handle. a handle. for the dma. iconic. πudataβ user data. the user's data. periodt. π
ngl the original is a little reserved with the descriptions, and I'm not about to invent lore that isn't there β so what you see is what you get. those are the facts, bestie. π
π SEE ALSO π
okay this is the part where she lists, like, everyone she knows. this is her whole group chat. her whole rosters. no cap, we're listing all of them β every single (9) β because she said "these are my people" and we respect that. π
first up, the kernel file she lives in:
./drivers/infiniband/hw/irdma/verbs.c
and now, the entourage β¨:
irdma_query_device(9)irdma_query_port(9)irdma_disassociate_ucontext(9)irdma_mmap(9)irdma_alloc_push_page(9)irdma_alloc_ucontext(9)irdma_dealloc_ucontext(9)irdma_alloc_pd(9)irdma_dealloc_pd(9)irdma_get_pbl(9)irdma_clean_cqes(9)_irdma_destroy_qp(9)irdma_destroy_qp(9)irdma_setup_virt_qp(9)irdma_setup_umode_qp(9)irdma_setup_kmode_qp(9)irdma_create_qp(9)irdma_query_qp(9)irdma_query_pkey(9)irdma_modify_qp_roce(9)irdma_modify_qp(9)irdma_srq_free_rsrc(9)irdma_cq_free_rsrc(9)irdma_free_cqbuf(9)irdma_process_resize_list(9)irdma_destroy_srq(9)irdma_destroy_cq(9)irdma_resize_cq(9)irdma_srq_event(9)irdma_modify_srq(9)irdma_create_srq(9)irdma_query_srq(9)irdma_create_cq(9)irdma_get_mr_access(9)irdma_free_stag(9)irdma_create_stag(9)irdma_next_pbl_addr(9)irdma_copy_user_pgaddrs(9)irdma_check_mem_contiguous(9)irdma_check_mr_contiguous(9)irdma_setup_pbles(9)irdma_handle_q_mem(9)irdma_hw_alloc_mw(9)irdma_alloc_mw(9)irdma_dealloc_mw(9)irdma_hw_alloc_stag(9)irdma_alloc_mr(9)irdma_set_page(9)irdma_map_mr_sg(9)irdma_hwreg_mr(9)irdma_reg_phys_mr(9)irdma_get_dma_mr(9)irdma_del_memlist(9)irdma_dereg_mr(9)irdma_post_send(9)irdma_post_srq_recv(9)irdma_post_recv(9)irdma_flush_err_to_ib_wc_status(9)irdma_process_cqe(9)irdma_poll_one(9)__irdma_poll_cq(9)irdma_poll_cq(9)irdma_req_notify_cq(9)irdma_alloc_hw_port_stats(9)irdma_get_hw_stats(9)irdma_query_gid(9)mcast_list_add(9)mcast_list_del(9)mcast_list_lookup_ip(9)irdma_mcast_cqp_op(9)irdma_mcast_mac(9)irdma_attach_mcast(9)irdma_detach_mcast(9)irdma_ah_exists(9)irdma_destroy_ah(9)irdma_create_user_ah(9)irdma_create_ah(9)irdma_query_ah(9)irdma_init_roce_device(9)irdma_init_iw_device(9)irdma_init_rdma_device(9)irdma_port_ibevent(9)irdma_ib_unregister_device(9)irdma_ib_register_device(9)irdma_ib_dealloc_device(9)
likeβ¦ the way she knows EVERYONE?? queen behavior fr fr ππ₯
also lowkey the_irdma_destroy_qp(9)with the leading underscore is NOT a typo, bestie β she's a different function fromirdma_destroy_qp(9), they're both in the list, do not merge them, do not "fix" the underscore, I am begging π
and that's the page!! mwah π she lives over in ./drivers/infiniband/hw/irdma, and this lil slice of manual is dated October 2026 β so mark your calendars and stan responsibly. π¦πΈπ
π¦ 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