[PATCH rdma-core 2/5] mlx5: Support dma-buf based memory region

Jason Gunthorpe jgg at ziepe.ca
Mon Nov 23 18:01:58 UTC 2020


On Mon, Nov 23, 2020 at 09:53:01AM -0800, Jianxin Xiong wrote:

> +struct ibv_mr *mlx5_reg_dmabuf_mr(struct ibv_pd *pd, uint64_t offset, size_t length,
> +				  uint64_t iova, int fd, int acc)
> +{
> +	struct mlx5_mr *mr;
> +	int ret;
> +	enum ibv_access_flags access = (enum ibv_access_flags)acc;

Why?

Jason


More information about the dri-devel mailing list