ib_alloc_mr_integrity(9)
β¨ NAME β¨
okay bestie, welcome to ib_alloc_mr_integrity(9) from the Kernel API Manual π β this is the page for the function that Allocates an integrity memory region. Thatβs the name and the whole main-character job, periodt.
πΈ SYNOPSIS πΈ
Hereβs the signature, copy it exactly, no edits bestie:
struct ib_mr * ib_alloc_mr_integrity (struct ib_pd *pd , u32
max_num_data_sg , u32 max_num_meta_sg );
π ARGUMENTS π
Three little besties walk into the function:
pdβ protection domain associated with the region.max_num_data_sgβ maximum data sg entries available for registration.max_num_meta_sgβ maximum metadata sg entries available for registration.
π NOTES π
π¨ limits check, bestie: Memory registration page/sg lists must not exceedmax_num_sg, also the integrity page/sg lists must not exceedmax_num_meta_sg. Thatβs the rule, no cap. π
π¦ SEE ALSO π¦
Kernel file ./drivers/infiniband/core/verbs.c is in the group chat, and so are all these:
__ib_alloc_pd(9)ib_dealloc_pd_user(9)rdma_copy_ah_attr(9)rdma_replace_ah_attr(9)rdma_move_ah_attr(9)rdma_create_ah(9)rdma_create_user_ah(9)rdma_move_grh_sgid_attr(9)rdma_destroy_ah_attr(9)ib_create_srq_user(9)ib_create_qp_user(9)ib_resolve_eth_dmac(9)ib_modify_qp_with_udata(9)ib_alloc_mr(9)ib_alloc_xrcd_user(9)ib_dealloc_xrcd_user(9)ib_create_wq(9)ib_destroy_wq_user(9)ib_map_mr_sg_pi(9)ib_map_mr_sg(9)ib_sg_to_pages(9)ib_drain_sq(9)ib_drain_rq(9)ib_drain_qp(9)rdma_alloc_hw_stats_struct(9)rdma_free_hw_stats_struct(9)
π
thatβs the whole page, and yes it ate. Source/version: ./drivers/infiniband/core; date: October 2026; and this iconic manual page is ib_alloc_mr_integrity(9). Mwah π«Ά
π¦ 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