Re: [RFC PATCH v4 0/2] RDMA/rxe: Add dma-buf support

2021-12-14 Thread Shunsuke Mie
2021年12月14日(火) 17:54 Christian König : > > Am 13.12.21 um 12:18 schrieb Shunsuke Mie: > > 2021年12月10日(金) 22:29 Christian König : > >> Am 10.12.21 um 14:26 schrieb Jason Gunthorpe: > >>> On Fri, Dec 10, 2021 at 01:47:37PM +0100, Christian König wrote: > >

Re: [RFC PATCH v4 0/2] RDMA/rxe: Add dma-buf support

2021-12-13 Thread Shunsuke Mie
2021年12月10日(金) 22:29 Christian König : > > Am 10.12.21 um 14:26 schrieb Jason Gunthorpe: > > On Fri, Dec 10, 2021 at 01:47:37PM +0100, Christian König wrote: > >> Am 10.12.21 um 13:42 schrieb Jason Gunthorpe: > >>> On Fri, Dec 10, 2021 at 08:29:24PM +0900, Sh

Re: [RFC PATCH v4 0/2] RDMA/rxe: Add dma-buf support

2021-12-10 Thread Shunsuke Mie
Hi Jason, Thank you for replying. 2021年12月8日(水) 2:14 Jason Gunthorpe : > > On Fri, Dec 03, 2021 at 12:51:44PM +0900, Shunsuke Mie wrote: > > Hi maintainers, > > > > Could you please review this patch series? > > Why is it RFC? > > I'm confused why this is

Re: [RFC PATCH v4 0/2] RDMA/rxe: Add dma-buf support

2021-12-02 Thread Shunsuke Mie
Hi maintainers, Could you please review this patch series? Regards, Shunsuke Mie 2021年11月22日(月) 20:08 Shunsuke Mie : > > This patch series add a dma-buf support for rxe driver. > > A dma-buf based memory registering has beed introduced to use the memory > region that lack of

[RFC PATCH v4 2/2] RDMA/rxe: Add dma-buf support

2021-11-22 Thread Shunsuke Mie
Implement a ib device operation ‘reg_user_mr_dmabuf’. Generate a rxe_map from the memory space linked the passed dma-buf. Signed-off-by: Shunsuke Mie --- drivers/infiniband/sw/rxe/rxe_loc.h | 2 + drivers/infiniband/sw/rxe/rxe_mr.c| 113 ++ drivers/infiniband/sw

[RFC PATCH v4 1/2] RDMA/umem: Change for rdma devices has not dma device

2021-11-22 Thread Shunsuke Mie
RDMA driver to map dma-buf memory for CPU memory accessing. Signed-off-by: Shunsuke Mie --- drivers/infiniband/core/umem_dmabuf.c | 20 include/rdma/ib_umem.h| 1 + 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/drivers/infiniband/core

[RFC PATCH v4 0/2] RDMA/rxe: Add dma-buf support

2021-11-22 Thread Shunsuke Mie
upport to rxe device Shunsuke Mie (2): RDMA/umem: Change for rdma devices has not dma device RDMA/rxe: Add dma-buf support drivers/infiniband/core/umem_dmabuf.c | 20 - drivers/infiniband/sw/rxe/rxe_loc.h | 2 + drivers/infiniband/sw/rxe/rxe_mr.c| 113 ++ drive

[RFC PATCH v3 2/2] RDMA/rxe: Add dma-buf support

2021-10-29 Thread Shunsuke Mie
Implement a ib device operation ‘reg_user_mr_dmabuf’. Generate a rxe_map from the memory space linked the passed dma-buf. Signed-off-by: Shunsuke Mie --- drivers/infiniband/sw/rxe/rxe_loc.h | 2 + drivers/infiniband/sw/rxe/rxe_mr.c| 113 ++ drivers/infiniband/sw

[RFC PATCH v3 1/2] RDMA/umem: Change for rdma devices has not dma device

2021-10-29 Thread Shunsuke Mie
RDMA driver to map dma-buf memory for CPU memory accessing. Signed-off-by: Shunsuke Mie --- drivers/infiniband/core/umem_dmabuf.c | 20 include/rdma/ib_umem.h| 1 + 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/drivers/infiniband/core

[RFC PATCH v3 0/2] RDMA/rxe: Add dma-buf support

2021-10-29 Thread Shunsuke Mie
s tests of rdma-core v1: https://www.spinics.net/lists/linux-rdma/msg105376.html * The initial patch set * Use ib_device as dma_device. * Use dma-buf dynamic attach interface * Add dma-buf support to rxe device Shunsuke Mie (2): RDMA/umem: Change for rdma devices has not dma device RDMA/rxe:

Re: [RFC PATCH v2 2/2] RDMA/rxe: Add dma-buf support

2021-10-13 Thread Shunsuke Mie
2021年10月13日(水) 20:42 Daniel Vetter : > > On Fri, Oct 01, 2021 at 12:56:48PM +0900, Shunsuke Mie wrote: > > 2021年9月30日(木) 23:41 Daniel Vetter : > > > > > > On Wed, Sep 29, 2021 at 01:19:05PM +0900, Shunsuke Mie wrote: > > > > Implement a ib device

[PATCH] dma-buf: Update obsoluted comments on dma_buf_vmap/vunmap()

2021-10-08 Thread Shunsuke Mie
A comment for the dma_buf_vmap/vunmap() is not catching up a corresponding implementation. Signed-off-by: Shunsuke Mie --- drivers/dma-buf/dma-buf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dma-buf/dma-buf.c b/drivers/dma-buf/dma-buf.c index beb504a92d60

Re: [RFC PATCH v2 2/2] RDMA/rxe: Add dma-buf support

2021-10-05 Thread Shunsuke Mie
ping 2021年10月1日(金) 12:56 Shunsuke Mie : > > 2021年9月30日(木) 23:41 Daniel Vetter : > > > > On Wed, Sep 29, 2021 at 01:19:05PM +0900, Shunsuke Mie wrote: > > > Implement a ib device operation ‘reg_user_mr_dmabuf’. Generate a > > > rxe_map from the me

Re: [RFC PATCH v2 2/2] RDMA/rxe: Add dma-buf support

2021-09-30 Thread Shunsuke Mie
2021年9月30日(木) 23:41 Daniel Vetter : > > On Wed, Sep 29, 2021 at 01:19:05PM +0900, Shunsuke Mie wrote: > > Implement a ib device operation ‘reg_user_mr_dmabuf’. Generate a > > rxe_map from the memory space linked the passed dma-buf. > > > > Signed-off-by: Shun

Re: [RFC PATCH v2 1/1] Providers/rxe: Add dma-buf support

2021-09-30 Thread Shunsuke Mie
2021年9月30日(木) 20:18 Zhu Yanjun : > > On Thu, Sep 30, 2021 at 7:06 PM Shunsuke Mie wrote: > > > > 2021年9月30日(木) 16:23 Zhu Yanjun : > > > > > > On Thu, Sep 30, 2021 at 2:58 PM Shunsuke Mie wrote: > > > > > > > > 2021年9月30日(木) 15:37 Zhu

Re: [RFC PATCH v2 1/1] Providers/rxe: Add dma-buf support

2021-09-30 Thread Shunsuke Mie
2021年9月30日(木) 16:23 Zhu Yanjun : > > On Thu, Sep 30, 2021 at 2:58 PM Shunsuke Mie wrote: > > > > 2021年9月30日(木) 15:37 Zhu Yanjun : > > > > > > On Thu, Sep 30, 2021 at 2:20 PM Shunsuke Mie wrote: > > > > > > > > Implemen

Re: [RFC PATCH v2 1/1] Providers/rxe: Add dma-buf support

2021-09-29 Thread Shunsuke Mie
2021年9月30日(木) 15:37 Zhu Yanjun : > > On Thu, Sep 30, 2021 at 2:20 PM Shunsuke Mie wrote: > > > > Implement a new provider method for dma-buf base memory registration. > > > > Signed-off-by: Shunsuke Mie > > --- > > providers/rxe/rxe.c | 21 +++

[RFC PATCH v2 1/1] Providers/rxe: Add dma-buf support

2021-09-29 Thread Shunsuke Mie
Implement a new provider method for dma-buf base memory registration. Signed-off-by: Shunsuke Mie --- providers/rxe/rxe.c | 21 + 1 file changed, 21 insertions(+) diff --git a/providers/rxe/rxe.c b/providers/rxe/rxe.c index 3c3ea8bb..84e00e60 100644 --- a/providers/rxe

[RFC PATCH v2 0/1] Providers/rxe: Add dma-buf support

2021-09-29 Thread Shunsuke Mie
://www.spinics.net/lists/linux-rdma/msg105380.html * Initial patch set * Implement a callback function for reg_dmabuf_mr Shunsuke Mie (1): Providers/rxe: Add dma-buf support providers/rxe/rxe.c | 21 + 1 file changed, 21 insertions(+) -- 2.17.1

[RFC PATCH v2 1/2] RDMA/umem: Change for rdma devices has not dma device

2021-09-29 Thread Shunsuke Mie
RDMA driver to map dma-buf memory for CPU memory accessing. Signed-off-by: Shunsuke Mie --- drivers/infiniband/core/umem_dmabuf.c | 20 include/rdma/ib_umem.h| 1 + 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/drivers/infiniband/core

[RFC PATCH v2 2/2] RDMA/rxe: Add dma-buf support

2021-09-29 Thread Shunsuke Mie
Implement a ib device operation ‘reg_user_mr_dmabuf’. Generate a rxe_map from the memory space linked the passed dma-buf. Signed-off-by: Shunsuke Mie --- drivers/infiniband/sw/rxe/rxe_loc.h | 2 + drivers/infiniband/sw/rxe/rxe_mr.c| 118 ++ drivers/infiniband/sw

[RFC PATCH v2 0/2] RDMA/rxe: Add dma-buf support

2021-09-29 Thread Shunsuke Mie
interface * Add dma-buf support to rxe device Shunsuke Mie (2): RDMA/umem: Change for rdma devices has not dma device RDMA/rxe: Add dma-buf support drivers/infiniband/core/umem_dmabuf.c | 20 - drivers/infiniband/sw/rxe/rxe_loc.h | 2 + drivers/infiniband/sw/rxe/rxe_mr.