From patchwork Tue May 5 14:08:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 186204 Delivered-To: patch@linaro.org Received: by 2002:a92:8d81:0:0:0:0:0 with SMTP id w1csp1174100ill; Tue, 5 May 2020 07:10:49 -0700 (PDT) X-Google-Smtp-Source: APiQypLCy05pqOC6ID4VN35eseR1EDCLhSV+VtKrpWdXEDl9Y7Sez/X2S0BS6foIXOX/kHaYP/ng X-Received: by 2002:a17:906:4048:: with SMTP id y8mr2878374ejj.258.1588687849158; Tue, 05 May 2020 07:10:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588687849; cv=none; d=google.com; s=arc-20160816; b=kuZW9iRb00a5FLnvGOAo6/A2cCunts1XkeLgfPhRYvnWebQJmUrs3JxUt2sl3jfC2r Fkg/7waHjUgGTQqPHcXOOStIaOyF48KEUJyPyc+mDMb0Y7FcJvXOwn8Kuz+i36Bs/MhZ s6KwRvwnXiHYnexKTIv6LKQPs6z9p15hLmbh3dacR/dvjvldJPMtHSEBisbEVZLRf2eK V/urjF4bBSchTCdweK/DXIfSekT46wgRKUNoR2VSe0rXlD6zd3Q26eU5+i6/PsEXIvHa vWuC0lXD7pL8BlXP2T2p/KuJz9DNUQ53txcdE5qKaZi6eQxsDBToZp7QEVhghNg1Yf5T kJxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:cc:to:from; bh=Pjg3Z7ob3LLOZ0iSLiKrYklLVPnyNHmb03KcLM5XSpM=; b=0lONRwB850EKzWQ6rsLZW1nly729SS+2N2Qkv1atNs4Q7ATWyses3R6cz0EzXJsXu+ 2heT92KG6W8l6zMiVdKmsnFrk1lQhi4/dnBY+Ng9KOdwOQYJh8SGmS2V1mhuqbT4pY7d HlN3QS50sRY5r4KQJZ7zNdQ0EmjYFWK7UTYRz5r+WEVUJD3DRn8jQyQaA0F/OoI2ujeL icgMGVpVKT7KZ3G1SOMzOeWWHBreNEbeJZWkP+qN9YoHFUAtq0I5gD/ThByfhRpNbTlq 0hDX8EV5ejFpDkM8k5RMS+/xhlFody8/JHY8PcM58nfIn8zMKHb4OPqbytuF2FgRKFm6 FK8Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id dn8si1219074edb.142.2020.05.05.07.10.48; Tue, 05 May 2020 07:10:49 -0700 (PDT) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2C1FB1D5C1; Tue, 5 May 2020 16:10:42 +0200 (CEST) Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by dpdk.org (Postfix) with ESMTP id 761F11C2AA for ; Tue, 5 May 2020 16:10:40 +0200 (CEST) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 053881A07AF; Tue, 5 May 2020 16:10:40 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 582C81A07BB; Tue, 5 May 2020 16:10:38 +0200 (CEST) Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.133.63]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id CDDAD402A8; Tue, 5 May 2020 22:10:35 +0800 (SGT) From: Hemant Agrawal To: dev@dpdk.org, david.marchand@redhat.com Cc: Hemant Agrawal Date: Tue, 5 May 2020 19:38:27 +0530 Message-Id: <20200505140832.646-2-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200505140832.646-1-hemant.agrawal@nxp.com> References: <20200505140832.646-1-hemant.agrawal@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH 2/7] mempool/dpaa2: move internal symbols into INTERNAL section 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" This patch moves the internal symbols to INTERNAL sections so that any change in them is not reported as ABI breakage. Signed-off-by: Hemant Agrawal --- drivers/mempool/dpaa/rte_mempool_dpaa_version.map | 2 +- drivers/mempool/dpaa2/dpaa2_hw_mempool.h | 1 + drivers/mempool/dpaa2/rte_mempool_dpaa2_version.map | 9 +++++++-- 3 files changed, 9 insertions(+), 3 deletions(-) -- 2.17.1 diff --git a/drivers/mempool/dpaa/rte_mempool_dpaa_version.map b/drivers/mempool/dpaa/rte_mempool_dpaa_version.map index 9eebaf7ffd..142547ee38 100644 --- a/drivers/mempool/dpaa/rte_mempool_dpaa_version.map +++ b/drivers/mempool/dpaa/rte_mempool_dpaa_version.map @@ -1,4 +1,4 @@ -DPDK_20.0 { +INTERNAL { global: rte_dpaa_bpid_info; diff --git a/drivers/mempool/dpaa2/dpaa2_hw_mempool.h b/drivers/mempool/dpaa2/dpaa2_hw_mempool.h index fa0f2280d5..53fa1552d1 100644 --- a/drivers/mempool/dpaa2/dpaa2_hw_mempool.h +++ b/drivers/mempool/dpaa2/dpaa2_hw_mempool.h @@ -61,6 +61,7 @@ struct dpaa2_bp_info { extern struct dpaa2_bp_info *rte_dpaa2_bpid_info; +__rte_internal int rte_dpaa2_mbuf_alloc_bulk(struct rte_mempool *pool, void **obj_table, unsigned int count); diff --git a/drivers/mempool/dpaa2/rte_mempool_dpaa2_version.map b/drivers/mempool/dpaa2/rte_mempool_dpaa2_version.map index cd4bc88273..686b024624 100644 --- a/drivers/mempool/dpaa2/rte_mempool_dpaa2_version.map +++ b/drivers/mempool/dpaa2/rte_mempool_dpaa2_version.map @@ -1,10 +1,15 @@ DPDK_20.0 { global: - rte_dpaa2_bpid_info; - rte_dpaa2_mbuf_alloc_bulk; rte_dpaa2_mbuf_from_buf_addr; rte_dpaa2_mbuf_pool_bpid; local: *; }; + +INTERNAL { + global: + + rte_dpaa2_bpid_info; + rte_dpaa2_mbuf_alloc_bulk; +};