[PATCH rdma-core v2 2/6] verbs: Support dma-buf based memory region

Jason Gunthorpe jgg at ziepe.ca
Wed Nov 25 14:12:44 UTC 2020


On Tue, Nov 24, 2020 at 01:38:50PM -0800, Jianxin Xiong wrote:
> +/**
> + * ibv_reg_dmabuf_mr - Register a dambuf-based memory region
> + */
> +struct ibv_mr *ibv_reg_dmabuf_mr(struct ibv_pd *pd, uint64_t offset, size_t length,
> +				 int fd, int access);

Please include the iova in addition to the offset for this API

Similar to ibv_reg_mr_iova

Jason


More information about the dri-devel mailing list