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 143F4A2F67 for ; Fri, 4 Oct 2019 19:20:01 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 605CF1C2BF; Fri, 4 Oct 2019 19:19:48 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 96CB91C2B5 for ; Fri, 4 Oct 2019 19:19:46 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Oct 2019 10:19:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,257,1566889200"; d="scan'208";a="217228577" Received: from silpixa00399126.ir.intel.com (HELO silpixa00399126.ger.corp.intel.com) ([10.237.223.2]) by fmsmga004.fm.intel.com with ESMTP; 04 Oct 2019 10:19:45 -0700 From: Bruce Richardson To: dev@dpdk.org, Nicolas Chautru Cc: Akhil Goyal , Andrzej Ostruszka , Bruce Richardson Date: Fri, 4 Oct 2019 18:19:12 +0100 Message-Id: <20191004171913.59574-5-bruce.richardson@intel.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191004171913.59574-1-bruce.richardson@intel.com> References: <20191004171913.59574-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 4/5] baseband/fpga_lte_fec: add public API to map file 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" To allow shared library builds of e.g. test-bbdev app, we need to export the configure function. Since this needs to be exported as experimental by default, we update the header file to add the experimental tag there too. Signed-off-by: Bruce Richardson --- drivers/baseband/fpga_lte_fec/fpga_lte_fec.h | 1 + .../fpga_lte_fec/rte_pmd_bbdev_fpga_lte_fec_version.map | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/drivers/baseband/fpga_lte_fec/fpga_lte_fec.h b/drivers/baseband/fpga_lte_fec/fpga_lte_fec.h index 9ae8b1226..b2e423c87 100644 --- a/drivers/baseband/fpga_lte_fec/fpga_lte_fec.h +++ b/drivers/baseband/fpga_lte_fec/fpga_lte_fec.h @@ -62,6 +62,7 @@ struct fpga_lte_fec_conf { * @return * Zero on success, negative value on failure. */ +__rte_experimental int fpga_lte_fec_configure(const char *dev_name, const struct fpga_lte_fec_conf *conf); diff --git a/drivers/baseband/fpga_lte_fec/rte_pmd_bbdev_fpga_lte_fec_version.map b/drivers/baseband/fpga_lte_fec/rte_pmd_bbdev_fpga_lte_fec_version.map index e92327075..7e26c8553 100644 --- a/drivers/baseband/fpga_lte_fec/rte_pmd_bbdev_fpga_lte_fec_version.map +++ b/drivers/baseband/fpga_lte_fec/rte_pmd_bbdev_fpga_lte_fec_version.map @@ -1,3 +1,7 @@ DPDK_19.08 { local: *; }; +EXPERIMENTAL { + global: + fpga_lte_fec_configure; +}; -- 2.21.0