Re: [dpdk-dev] [PATCH v2 1/2] vhost: support inflight share memory protocol feature

2019-07-10 Thread Tiwei Bie
On Thu, Jul 11, 2019 at 10:39:46AM +0800, Yu, Jin wrote: > > On Thu, Jul 11, 2019 at 10:09:26AM +0800, Yu, Jin wrote: > > [...] > > > > > +int __rte_experimental > > > > > +rte_vhost_set_inflight_desc_split(int vid, uint16_t vring_idx, > > > > > + uint16_t idx); > > > > [...] > > > > >

Re: [dpdk-dev] [PATCH v2 1/2] vhost: support inflight share memory protocol feature

2019-07-10 Thread Yu, Jin
> On Thu, Jul 11, 2019 at 10:09:26AM +0800, Yu, Jin wrote: > [...] > > > > +int __rte_experimental > > > > +rte_vhost_set_inflight_desc_split(int vid, uint16_t vring_idx, > > > > + uint16_t idx); > > > [...] > > > > +int __rte_experimental > > > > +rte_vhost_clr_inflight_desc_split(in

Re: [dpdk-dev] [PATCH v2 1/2] vhost: support inflight share memory protocol feature

2019-07-10 Thread Tiwei Bie
On Thu, Jul 11, 2019 at 10:09:26AM +0800, Yu, Jin wrote: [...] > > > +int __rte_experimental > > > +rte_vhost_set_inflight_desc_split(int vid, uint16_t vring_idx, > > > + uint16_t idx); > > [...] > > > +int __rte_experimental > > > +rte_vhost_clr_inflight_desc_split(int vid, uint16_t vring_

Re: [dpdk-dev] [PATCH v2 1/2] vhost: support inflight share memory protocol feature

2019-07-10 Thread Yu, Jin
Hi Tiwei, thanks. > -Original Message- > From: Bie, Tiwei > Sent: Wednesday, July 10, 2019 3:18 PM > To: Yu, Jin > Cc: dev@dpdk.org; Liu, Changpeng ; > maxime.coque...@redhat.com; Wang, Zhihong ; > LinLi ; XunNi ; YuZhang > > Subject: Re: [PATCH v2 1/2] vhost: support inflight share memo

Re: [dpdk-dev] [PATCH v2 1/2] vhost: support inflight share memory protocol feature

2019-07-10 Thread Tiwei Bie
On Wed, Jul 10, 2019 at 06:43:55PM +0800, JinYu wrote: > This patch introduces two new messages VHOST_USER_GET_INFLIGHT_FD > and VHOST_USER_SET_INFLIGHT_FD to support transferring a shared > buffer between qemu and backend. > > Firstly, qemu uses VHOST_USER_GET_INFLIGHT_FD to get the > shared buff

[dpdk-dev] [PATCH v2 1/2] vhost: support inflight share memory protocol feature

2019-07-09 Thread JinYu
This patch introduces two new messages VHOST_USER_GET_INFLIGHT_FD and VHOST_USER_SET_INFLIGHT_FD to support transferring a shared buffer between qemu and backend. Firstly, qemu uses VHOST_USER_GET_INFLIGHT_FD to get the shared buffer from backend. Then qemu should send it back through VHOST_USER_S

[dpdk-dev] [PATCH v2] [1/2]vhost: support inflight share memory protocol feature

2019-07-08 Thread JinYu
This patch introduces two new messages VHOST_USER_GET_INFLIGHT_FD and VHOST_USER_SET_INFLIGHT_FD to support transferring a shared buffer between qemu and backend. Firstly, qemu uses VHOST_USER_GET_INFLIGHT_FD to get the shared buffer from backend. Then qemu should send it back through VHOST_USER_S

[dpdk-dev] [PATCH] [v2, 1/2]vhost: support inflight share memory protocol feature

2019-07-08 Thread JinYu
This patch introduces two new messages VHOST_USER_GET_INFLIGHT_FD and VHOST_USER_SET_INFLIGHT_FD to support transferring a shared buffer between qemu and backend. Firstly, qemu uses VHOST_USER_GET_INFLIGHT_FD to get the shared buffer from backend. Then qemu should send it back through VHOST_USER_S

[dpdk-dev] [PATCH] [v2, 1/2]vhost: support inflight share memory protocol feature

2019-07-08 Thread JinYu
This patch introduces two new messages VHOST_USER_GET_INFLIGHT_FD and VHOST_USER_SET_INFLIGHT_FD to support transferring a shared buffer between qemu and backend. Firstly, qemu uses VHOST_USER_GET_INFLIGHT_FD to get the shared buffer from backend. Then qemu should send it back through VHOST_USER_S