Re: [RFC v3 7/8] vhost-vdpa: introduce vhost-vdpa backend

2020-06-16 Thread Cindy Lu
On Mon, Jun 15, 2020 at 10:44 PM Laurent Vivier wrote: > > On 08/06/2020 22:14, Eric Blake wrote: > > On 5/29/20 9:06 AM, Cindy Lu wrote: > >> From: Tiwei Bie > > > > The original author is Tiwei Bie... > > > >> > >> Currently we have 2 types of vhost backends in QEMU: vhost kernel and > >> vhost

Re: [RFC v3 7/8] vhost-vdpa: introduce vhost-vdpa backend

2020-06-15 Thread Laurent Vivier
On 08/06/2020 22:14, Eric Blake wrote: > On 5/29/20 9:06 AM, Cindy Lu wrote: >> From: Tiwei Bie > > The original author is Tiwei Bie... > >> >> Currently we have 2 types of vhost backends in QEMU: vhost kernel and >> vhost-user. The above patch provides a generic device for vDPA purpose, >> this

Re: [RFC v3 7/8] vhost-vdpa: introduce vhost-vdpa backend

2020-06-08 Thread Cindy Lu
On Tue, Jun 9, 2020 at 4:14 AM Eric Blake wrote: > > On 5/29/20 9:06 AM, Cindy Lu wrote: > > From: Tiwei Bie > > The original author is Tiwei Bie... > > > > > Currently we have 2 types of vhost backends in QEMU: vhost kernel and > > vhost-user. The above patch provides a generic device for vDPA p

Re: [RFC v3 7/8] vhost-vdpa: introduce vhost-vdpa backend

2020-06-08 Thread Eric Blake
On 5/29/20 9:06 AM, Cindy Lu wrote: From: Tiwei Bie The original author is Tiwei Bie... Currently we have 2 types of vhost backends in QEMU: vhost kernel and vhost-user. The above patch provides a generic device for vDPA purpose, this vDPA device exposes to user space a non-vendor-specific

Re: [RFC v3 7/8] vhost-vdpa: introduce vhost-vdpa backend

2020-06-08 Thread Cindy Lu
On Thu, Jun 4, 2020 at 7:34 PM Michael S. Tsirkin wrote: > > On Thu, Jun 04, 2020 at 12:39:34PM +0200, Eugenio Perez Martin wrote: > > > +static int vhost_vdpa_set_config(struct vhost_dev *dev, const uint8_t > > > *data, > > > + uint32_t offset, uint32_t size, >

Re: [RFC v3 7/8] vhost-vdpa: introduce vhost-vdpa backend

2020-06-04 Thread Michael S. Tsirkin
On Thu, Jun 04, 2020 at 12:39:34PM +0200, Eugenio Perez Martin wrote: > > +static int vhost_vdpa_set_config(struct vhost_dev *dev, const uint8_t > > *data, > > + uint32_t offset, uint32_t size, > > + uint32_t flags) > > +{ > > +

Re: [RFC v3 7/8] vhost-vdpa: introduce vhost-vdpa backend

2020-06-04 Thread Eugenio Perez Martin
On Fri, May 29, 2020 at 4:10 PM Cindy Lu wrote: > > From: Tiwei Bie > > Currently we have 2 types of vhost backends in QEMU: vhost kernel and > vhost-user. The above patch provides a generic device for vDPA purpose, > this vDPA device exposes to user space a non-vendor-specific configuration > in

Re: [RFC v3 7/8] vhost-vdpa: introduce vhost-vdpa backend

2020-06-03 Thread Cindy Lu
On Wed, Jun 3, 2020 at 2:43 PM Jason Wang wrote: > > > On 2020/5/29 下午10:06, Cindy Lu wrote: > > From: Tiwei Bie > > > > Currently we have 2 types of vhost backends in QEMU: vhost kernel and > > vhost-user. The above patch provides a generic device for vDPA purpose, > > this vDPA device exposes to

Re: [RFC v3 7/8] vhost-vdpa: introduce vhost-vdpa backend

2020-06-02 Thread Jason Wang
On 2020/5/29 下午10:06, Cindy Lu wrote: From: Tiwei Bie Currently we have 2 types of vhost backends in QEMU: vhost kernel and vhost-user. The above patch provides a generic device for vDPA purpose, this vDPA device exposes to user space a non-vendor-specific configuration interface for setting u

Re: [RFC v3 7/8] vhost-vdpa: introduce vhost-vdpa backend

2020-06-02 Thread Cindy Lu
On Wed, Jun 3, 2020 at 10:54 AM Jason Wang wrote: > > > On 2020/5/29 下午10:06, Cindy Lu wrote: > > From: Tiwei Bie > > > Consider the significant modification based on the original patch. > > I think you may change the other to yourslef and keep the sobs for both > Tiwei and Lingshan. > > Thanks >

Re: [RFC v3 7/8] vhost-vdpa: introduce vhost-vdpa backend

2020-06-02 Thread Cindy Lu
Hi Jason, On Wed, Jun 3, 2020 at 10:52 AM Jason Wang wrote: > > > On 2020/5/29 下午10:06, Cindy Lu wrote: > > From: Tiwei Bie > > > > Currently we have 2 types of vhost backends in QEMU: vhost kernel and > > vhost-user. The above patch provides a generic device for vDPA purpose, > > this vDPA devi

Re: [RFC v3 7/8] vhost-vdpa: introduce vhost-vdpa backend

2020-06-02 Thread Jason Wang
On 2020/5/29 下午10:06, Cindy Lu wrote: From: Tiwei Bie Consider the significant modification based on the original patch. I think you may change the other to yourslef and keep the sobs for both Tiwei and Lingshan. Thanks Currently we have 2 types of vhost backends in QEMU: vhost kerne

Re: [RFC v3 7/8] vhost-vdpa: introduce vhost-vdpa backend

2020-06-02 Thread Jason Wang
On 2020/5/29 下午10:06, Cindy Lu wrote: From: Tiwei Bie Currently we have 2 types of vhost backends in QEMU: vhost kernel and vhost-user. The above patch provides a generic device for vDPA purpose, this vDPA device exposes to user space a non-vendor-specific configuration interface for setting

[RFC v3 7/8] vhost-vdpa: introduce vhost-vdpa backend

2020-05-29 Thread Cindy Lu
From: Tiwei Bie Currently we have 2 types of vhost backends in QEMU: vhost kernel and vhost-user. The above patch provides a generic device for vDPA purpose, this vDPA device exposes to user space a non-vendor-specific configuration interface for setting up a vhost HW accelerator, this patch set