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

2019-05-21 Thread Tiwei Bie
On Tue, May 21, 2019 at 04:29:31PM +0800, lin li wrote: > Tiwei Bie 于2019年5月20日周一上午10:14写道: > > > > On Fri, May 17, 2019 at 05:47:07PM +0200, Maxime Coquelin wrote: > > > On 5/5/19 11:02 AM, Li Lin wrote: > > [...] > > > > /** > > > >* Device structure contains all configuration information

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

2019-05-21 Thread lin li
Tiwei Bie 于2019年5月20日周一 上午10:14写道: > > On Fri, May 17, 2019 at 05:47:07PM +0200, Maxime Coquelin wrote: > > On 5/5/19 11:02 AM, Li Lin wrote: > [...] > > > /** > > >* Device structure contains all configuration information relating > > >* to the device. > > > @@ -303,6 +314,7 @@ struct v

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

2019-05-19 Thread Tiwei Bie
On Fri, May 17, 2019 at 05:47:07PM +0200, Maxime Coquelin wrote: > On 5/5/19 11:02 AM, Li Lin wrote: [...] > > /** > >* Device structure contains all configuration information relating > >* to the device. > > @@ -303,6 +314,7 @@ struct virtio_net { > > uint32_tnr_vring

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

2019-05-17 Thread Maxime Coquelin
On 5/5/19 11:02 AM, Li Lin wrote: From: Li Lin 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 backe

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

2019-05-05 Thread Li Lin
From: Li Lin 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 throu