Re: [PATCH rdma-core v7 4/6] pyverbs: Add dma-buf based MR support

2021-02-04 Thread Jason Gunthorpe
On Wed, Feb 03, 2021 at 06:53:19PM +0100, Daniel Vetter wrote: > > > rdma-core uses cmake build system and in our case cmake > > > find_library() is preferable over pkgconfig. > > > > Only the headers are needed, and they could be installed via > > either the libdrm-devel package or the kernel-head

Re: [PATCH rdma-core v7 4/6] pyverbs: Add dma-buf based MR support

2021-02-03 Thread Emil Velikov
s > > ; linux-rdma ; Edward > > Srouji ; dri-devel > de...@lists.freedesktop.org>; Christian Koenig ; > > Doug Ledford ; Vetter, Daniel > > > > Subject: Re: [PATCH rdma-core v7 4/6] pyverbs: Add dma-buf based MR support > > > > On Wed,

RE: [PATCH rdma-core v7 4/6] pyverbs: Add dma-buf based MR support

2021-02-03 Thread Xiong, Jianxin
Christian Koenig ; > Doug Ledford ; Vetter, Daniel > > Subject: Re: [PATCH rdma-core v7 4/6] pyverbs: Add dma-buf based MR support > > On Wed, Feb 3, 2021 at 5:57 PM Xiong, Jianxin wrote: > > > > > -Original Message- > > > From: Leon Romanovsky >

Re: [PATCH rdma-core v7 4/6] pyverbs: Add dma-buf based MR support

2021-02-03 Thread Daniel Vetter
s > > ; linux-rdma ; Edward > > Srouji ; dri-devel > de...@lists.freedesktop.org>; Christian Koenig ; > > Doug Ledford ; Vetter, Daniel > > > > Subject: Re: [PATCH rdma-core v7 4/6] pyverbs: Add dma-buf based MR support > > > > <...> >

RE: [PATCH rdma-core v7 4/6] pyverbs: Add dma-buf based MR support

2021-02-03 Thread Xiong, Jianxin
Christian Koenig ; > Doug Ledford ; Vetter, Daniel > > Subject: Re: [PATCH rdma-core v7 4/6] pyverbs: Add dma-buf based MR support > <...> > > > > > > > > +#include > > > > > > > > +#include #include > > > > > &g

Re: [PATCH rdma-core v7 4/6] pyverbs: Add dma-buf based MR support

2021-02-02 Thread Leon Romanovsky
Vetter > > > Cc: Leon Romanovsky ; Gal Pressman > > > ; Xiong, Jianxin ; Yishai > > > Hadas > > > ; linux-rdma ; Edward > > > Srouji ; dri-devel > > de...@lists.freedesktop.org>; Christian Koenig > > > ; Doug Ledford ; Vetter, > &

Re: [PATCH rdma-core v7 4/6] pyverbs: Add dma-buf based MR support

2021-02-02 Thread Daniel Vetter
shai Hadas > > ; linux-rdma ; Edward > > Srouji ; dri-devel > de...@lists.freedesktop.org>; Christian Koenig ; > > Doug Ledford ; Vetter, Daniel > > > > Subject: Re: [PATCH rdma-core v7 4/6] pyverbs: Add dma-buf based MR support > > > > On Mon, Feb 01,

Re: [PATCH rdma-core v7 4/6] pyverbs: Add dma-buf based MR support

2021-02-02 Thread Jason Gunthorpe
On Mon, Feb 01, 2021 at 03:10:00PM +0100, Daniel Vetter wrote: > On Mon, Feb 1, 2021 at 7:16 AM Leon Romanovsky wrote: > > > > On Sun, Jan 31, 2021 at 05:31:16PM +0200, Gal Pressman wrote: > > > On 25/01/2021 21:57, Jianxin Xiong wrote: > > > > Define a new sub-class of 'MR' that uses dma-buf obje

RE: [PATCH rdma-core v7 4/6] pyverbs: Add dma-buf based MR support

2021-02-01 Thread Xiong, Jianxin
Christian Koenig ; > Doug Ledford ; Vetter, Daniel > > Subject: Re: [PATCH rdma-core v7 4/6] pyverbs: Add dma-buf based MR support > > On Mon, Feb 01, 2021 at 03:10:00PM +0100, Daniel Vetter wrote: > > On Mon, Feb 1, 2021 at 7:16 AM Leon Romanovsky wrote: > > > > >

Re: [PATCH rdma-core v7 4/6] pyverbs: Add dma-buf based MR support

2021-02-01 Thread Daniel Vetter
On Mon, Feb 1, 2021 at 7:16 AM Leon Romanovsky wrote: > > On Sun, Jan 31, 2021 at 05:31:16PM +0200, Gal Pressman wrote: > > On 25/01/2021 21:57, Jianxin Xiong wrote: > > > Define a new sub-class of 'MR' that uses dma-buf object for the memory > > > region. Define a new class 'DmaBuf' as a wrapper

Re: [PATCH rdma-core v7 4/6] pyverbs: Add dma-buf based MR support

2021-01-31 Thread Leon Romanovsky
On Sun, Jan 31, 2021 at 05:31:16PM +0200, Gal Pressman wrote: > On 25/01/2021 21:57, Jianxin Xiong wrote: > > Define a new sub-class of 'MR' that uses dma-buf object for the memory > > region. Define a new class 'DmaBuf' as a wrapper for dma-buf allocation > > mechanism implemented in C. > > > > Up

[PATCH rdma-core v7 4/6] pyverbs: Add dma-buf based MR support

2021-01-25 Thread Jianxin Xiong
Define a new sub-class of 'MR' that uses dma-buf object for the memory region. Define a new class 'DmaBuf' as a wrapper for dma-buf allocation mechanism implemented in C. Update the cmake function for cython modules to allow building modules with mixed cython and c source files. Signed-off-by: Ji