From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8445DC4CEC4 for ; Wed, 18 Sep 2019 06:08:06 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 32AA420856 for ; Wed, 18 Sep 2019 06:08:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 32AA420856 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org 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 >