From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id BAB03A05D3 for ; Mon, 20 May 2019 04:14:12 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B33DE2BF3; Mon, 20 May 2019 04:14:11 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 7F5FE152A for ; Mon, 20 May 2019 04:14:10 +0200 (CEST) X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 May 2019 19:14:09 -0700 X-ExtLoop1: 1 Received: from npg-dpdk-virtio-tbie-2.sh.intel.com (HELO ___) ([10.67.104.151]) by fmsmga001.fm.intel.com with ESMTP; 19 May 2019 19:14:07 -0700 Date: Mon, 20 May 2019 10:13:11 +0800 From: Tiwei Bie To: Maxime Coquelin Cc: Li Lin , zhihong.wang@intel.com, dev@dpdk.org, dariusz.stojaczyk@intel.com, changpeng.liu@intel.com, james.r.harris@intel.com, xieyongji@baidu.com, Li Lin , Ni Xun , Zhang Yu Message-ID: <20190520021310.GA11790@___> References: <1556271621-8594-1-git-send-email-chuckylinchuckylin@gmail.com> <1557046942-1151-1-git-send-email-chuckylinchuckylin@gmail.com> <8ba5c1ff-08ea-6cb2-c201-b972e79da4fc@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <8ba5c1ff-08ea-6cb2-c201-b972e79da4fc@redhat.com> User-Agent: Mutt/1.9.4 (2018-02-28) Subject: Re: [dpdk-dev] [PATCH v4] vhost: support inflight share memory protocol feature X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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_t nr_vring; > > int dequeue_zero_copy; > > struct vhost_virtqueue *virtqueue[VHOST_MAX_QUEUE_PAIRS * 2]; > > + struct inflight_mem_info inflight_info; > > #define IF_NAME_SZ (PATH_MAX > IFNAMSIZ ? PATH_MAX : IFNAMSIZ) > > char ifname[IF_NAME_SZ]; > > uint64_t log_size; > > Do you have some code example using these new APIs? > It would help for reviewing the patch. +1