Re: [PATCH v16 0/4] RDMA: Add dma-buf support

2021-01-13 Thread Yishai Hadas
On 1/11/2021 7:55 PM, Xiong, Jianxin wrote: -Original Message- From: Alex Deucher Sent: Monday, January 11, 2021 9:47 AM To: Xiong, Jianxin Cc: Jason Gunthorpe ; Leon Romanovsky ; linux-r...@vger.kernel.org; dri-devel@lists.freedesktop.org; Doug Ledford ; Vetter, Daniel ; Christian Ko

Re: [PATCH v14 4/4] RDMA/mlx5: Support dma-buf based userspace memory region

2020-12-09 Thread Yishai Hadas
On 12/9/2020 12:39 AM, Jianxin Xiong wrote: Implement the new driver method 'reg_user_mr_dmabuf'. Utilize the core functions to import dma-buf based memory region and update the mappings. Add code to handle dma-buf related page fault. Signed-off-by: Jianxin Xiong Reviewed-by: Sean Hefty Acke

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

2020-12-03 Thread Yishai Hadas
On 11/27/2020 10:55 PM, Jianxin Xiong wrote: Add new API function and new provider method for registering dma-buf based memory region. Update the man page and bump the API version. Signed-off-by: Jianxin Xiong --- debian/libibverbs1.symbols | 2 ++ libibverbs/CMakeLists.txt| 2 +- l

Re: [PATCH v12 4/4] RDMA/mlx5: Support dma-buf based userspace memory region

2020-11-26 Thread Yishai Hadas
On 11/24/2020 11:35 PM, Jianxin Xiong wrote: Implement the new driver method 'reg_user_mr_dmabuf'. Utilize the core functions to import dma-buf based memory region and update the mappings. Add code to handle dma-buf related page fault. Signed-off-by: Jianxin Xiong Reviewed-by: Sean Hefty Ack

Re: [PATCH rdma-core v2 5/6] tests: Add tests for dma-buf based memory regions

2020-11-26 Thread Yishai Hadas
On 11/24/2020 11:38 PM, Jianxin Xiong wrote: Define a full set of tests similar to regular MR tests. Add a utility function to generate access flags for dma-buf based MRs because the set of supported flags is smaller. Looking on the tests, It doesn't seem that the registered dma-buf lkey is u

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

2020-11-25 Thread Yishai Hadas
On 11/24/2020 11:38 PM, Jianxin Xiong wrote: Add new API function and new provider method for registering dma-buf based memory region. Update the man page and bump the API version. Signed-off-by: Jianxin Xiong I don't see that thisĀ  V2 fixes the notes that I published on V1 (fork handling ,

Re: [PATCH rdma-core 1/5] verbs: Support dma-buf based memory region

2020-11-25 Thread Yishai Hadas
On 11/23/2020 7:53 PM, Jianxin Xiong wrote: Add new API function and new provider method for registering dma-buf based memory region. Update the man page and bump the API version. Signed-off-by: Jianxin Xiong --- kernel-headers/rdma/ib_user_ioctl_cmds.h | 14 libibverbs/cmd_mr.c