Re: [dpdk-dev] [PATCH v3] vhost: support inflight share memory protocol feature

2019-04-30 Thread lin li
Tiwei Bie 于2019年4月29日周一 下午6:55写道: > > On Mon, Apr 29, 2019 at 12:07:05PM +0800, lin li wrote: > > Tiwei Bie 于2019年4月28日周日 下午7:18写道: > > > On Fri, Apr 26, 2019 at 05:40:21AM -0400, Li Lin wrote: > [...] > > > > @@ -98,12 +102,26 @@ struct rte_vhost_memory { > > > > struct rte_vhost_mem_regio

Re: [dpdk-dev] [PATCH v3] vhost: support inflight share memory protocol feature

2019-04-29 Thread Tiwei Bie
On Mon, Apr 29, 2019 at 12:07:05PM +0800, lin li wrote: > Tiwei Bie 于2019年4月28日周日 下午7:18写道: > > On Fri, Apr 26, 2019 at 05:40:21AM -0400, Li Lin wrote: [...] > > > @@ -98,12 +102,26 @@ struct rte_vhost_memory { > > > struct rte_vhost_mem_region regions[]; > > > }; > > > > > > +typedef struc

Re: [dpdk-dev] [PATCH v3] vhost: support inflight share memory protocol feature

2019-04-28 Thread lin li
Tiwei Bie 于2019年4月28日周日 下午7:18写道: > > On Fri, Apr 26, 2019 at 05:40:21AM -0400, Li Lin wrote: > > From: lilin24 > > > > 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. > > >

Re: [dpdk-dev] [PATCH v3] vhost: support inflight share memory protocol feature

2019-04-28 Thread Tiwei Bie
On Fri, Apr 26, 2019 at 05:40:21AM -0400, Li Lin wrote: > From: lilin24 > > 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

[dpdk-dev] [PATCH v3] vhost: support inflight share memory protocol feature

2019-04-26 Thread Li Lin
From: lilin24 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 thro