On Mon, Nov 09, 2020 at 11:22:57AM -0800, Jianxin Xiong wrote:
> + page_size = ib_umem_find_best_pgsz(_dmabuf->umem, PAGE_SIZE,
> +umem_dmabuf->umem.iova);
> +
> + if (WARN_ON(cur != end || page_size != PAGE_SIZE)) {
> +
Dma-buf is a standard cross-driver buffer sharing mechanism that can be
used to support peer-to-peer access from RDMA devices.
Device memory exported via dma-buf is associated with a file descriptor.
This is passed to the user space as a property associated with the
buffer allocation. When the