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

2020-11-26 Thread Jason Gunthorpe
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 includ

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 ,

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

2020-11-24 Thread Jianxin Xiong
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 +- libibverbs/cmd_mr.c | 38 +