From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 45AD9A2EFC for ; Wed, 18 Sep 2019 08:08:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1A1A31BF94; Wed, 18 Sep 2019 08:08:05 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 4561B1BF93 for ; Wed, 18 Sep 2019 08:08:03 +0200 (CEST) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Sep 2019 23:08:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,519,1559545200"; d="scan'208";a="211747904" Received: from dpdk-virtio-tbie-2.sh.intel.com (HELO ___) ([10.67.104.71]) by fmsmga004.fm.intel.com with ESMTP; 17 Sep 2019 23:08:00 -0700 Date: Wed, 18 Sep 2019 14:05:18 +0800 From: Tiwei Bie To: JinYu Cc: dev@dpdk.org, changpeng.liu@intel.com, maxime.coquelin@redhat.com, zhihong.wang@intel.com, Lin Li , Xun Ni , Yu Zhang Message-ID: <20190918060517.GA25517@___> References: <20190829141224.49700> <20190917145234.16951-1-jin.yu@intel.com> <20190917145234.16951-11-jin.yu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190917145234.16951-11-jin.yu@intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) Subject: Re: [dpdk-dev] [PATCH v7 10/11] vhost: add APIs to rte_vhost version map 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 Tue, Sep 17, 2019 at 10:52:33PM +0800, JinYu wrote: > add all the added experimental APIs which are in > the rte_vhost.h to the rte_vhost_version.map Symbols should be added to the .map file in the same patch which introduces them. Otherwise that patch will break the build. Thanks, Tiwei > > Signed-off-by: Lin Li > Signed-off-by: Xun Ni > Signed-off-by: Yu Zhang > Signed-off-by: Jin Yu > --- > lib/librte_vhost/rte_vhost_version.map | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/lib/librte_vhost/rte_vhost_version.map b/lib/librte_vhost/rte_vhost_version.map > index 5f1d4a75c..c8e14055b 100644 > --- a/lib/librte_vhost/rte_vhost_version.map > +++ b/lib/librte_vhost/rte_vhost_version.map > @@ -87,4 +87,13 @@ EXPERIMENTAL { > rte_vdpa_relay_vring_used; > rte_vhost_extern_callback_register; > rte_vhost_driver_set_protocol_features; > + rte_vhost_vq_is_packed; > + rte_vhost_get_vhost_ring_inflight; > + rte_vhost_get_vring_base_from_inflight; > + rte_vhost_set_inflight_desc_split; > + rte_vhost_set_inflight_desc_packed; > + rte_vhost_set_last_inflight_io_split; > + rte_vhost_set_last_inflight_io_packed; > + rte_vhost_clr_inflight_desc_split; > + rte_vhost_clr_inflight_desc_packed; > }; > -- > 2.17.2 >