From patchwork Fri May 15 05:08:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 186797 Delivered-To: patch@linaro.org Received: by 2002:a92:5b0a:0:0:0:0:0 with SMTP id p10csp109927ilb; Thu, 14 May 2020 22:11:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzLfnAEdMMSYDV4hJS8UF4MQ0CJmGDt67Y59Jx1THiEpsLlOeYodyhZt+4A31RfCimY5ZWF X-Received: by 2002:a5d:56c7:: with SMTP id m7mr2068211wrw.256.1589519492825; Thu, 14 May 2020 22:11:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589519492; cv=none; d=google.com; s=arc-20160816; b=zJmXvao8FNbnh5ZtRgjaDFB7pPKzPLKPfbdSZ/GTWD7pA7pxiHSL9Ir7RDfMmH0tiX Me0uqnigQUiT+kimpdSWSSJAHGlS0683yyw2hz02VG7iJfj3a6djusfbI54p2jSugJEf xP9mEsLd6qMM7WHygKFtUbW74EEqjp8d0PLQVeTHLDmEbT0OOjn7hQ3Sahud13oDqW6/ BrdjeV/ivVMDK1zp3IxxmFMCDIFjmpwhc1YL0WCwSul/9wdLpHcHp3MumtL8IWalP/E4 GiAZYKY9mEoeY6R+47nQq+BynflQvyaxTvXjQkF/3qdOY758JRl2pHWW3BNZNsf4HpGq MTsA== 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=V71ab/DbUld2LoDXVp0JsZ/zFUYMV0mKI5TAVlrL8h8=; b=VMdi4mcwCyjo5xsPAqEtpf77M5HGLcQyg5mk7Zsp6RRTtKhsoFekBfffsJ5480prwU lP8Q16enRsfRpXUoPzJk21i8XOPmhUKCl/ky53pQGVtastvKlEpe9sXF8sfz1y9CYm29 gFn+P8iK8YAG3a/X2X2u34xO+/Hsb+D59vwgS8wor18khsAkMffnGwUWTsh2LAijSoZX iiDiIxo/fbukW5ogLbzZuqejz/9Rjghxtz9R8YtR08jUVxGlq/FTqkbwxtL/2P29oITd Prb5s4dORPdOt2C6U1SGDCAaH1fXda8AwVQeaTMwwoZ2Jjh18mpMG7zB3oWoo5W4RGW6 fLlA== 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 18si1070980wmg.133.2020.05.14.22.11.32; Thu, 14 May 2020 22:11:32 -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 1C7371D95C; Fri, 15 May 2020 07:11:09 +0200 (CEST) Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by dpdk.org (Postfix) with ESMTP id 791E41D6E3 for ; Fri, 15 May 2020 07:11:03 +0200 (CEST) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 1DD4C20063D; Fri, 15 May 2020 07:11:03 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 19E7F20063C; Fri, 15 May 2020 07:11:01 +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 EEBE4402E3; Fri, 15 May 2020 13:10:56 +0800 (SGT) From: Hemant Agrawal To: dev@dpdk.org, david.marchand@redhat.com, mdr@ashroe.eu Cc: Hemant Agrawal Date: Fri, 15 May 2020 10:38:22 +0530 Message-Id: <20200515050831.22834-5-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200515050831.22834-1-hemant.agrawal@nxp.com> References: <20200514142951.31801-1-hemant.agrawal@nxp.com> <20200515050831.22834-1-hemant.agrawal@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH v7 04/13] 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 --- devtools/libabigail.abignore | 8 ++++++++ drivers/mempool/dpaa/rte_mempool_dpaa_version.map | 6 ++++-- drivers/mempool/dpaa2/dpaa2_hw_mempool.h | 1 + drivers/mempool/dpaa2/rte_mempool_dpaa2_version.map | 9 +++++++-- 4 files changed, 20 insertions(+), 4 deletions(-) -- 2.17.1 diff --git a/devtools/libabigail.abignore b/devtools/libabigail.abignore index ab34302d0c..42f9469221 100644 --- a/devtools/libabigail.abignore +++ b/devtools/libabigail.abignore @@ -55,3 +55,11 @@ file_name_regexp = ^librte_bus_fslmc\. [suppress_file] file_name_regexp = ^librte_bus_dpaa\. +[suppress_function] + name = rte_dpaa2_mbuf_alloc_bulk +[suppress_variable] + name_regexp = ^rte_dpaa_memsegs +[suppress_variable] + name_regexp = ^rte_dpaa_bpid_info +[suppress_variable] + name_regexp = ^rte_dpaa2_bpid_info diff --git a/drivers/mempool/dpaa/rte_mempool_dpaa_version.map b/drivers/mempool/dpaa/rte_mempool_dpaa_version.map index 9eebaf7ffd..89d7cf4957 100644 --- a/drivers/mempool/dpaa/rte_mempool_dpaa_version.map +++ b/drivers/mempool/dpaa/rte_mempool_dpaa_version.map @@ -1,8 +1,10 @@ DPDK_20.0 { + local: *; +}; + +INTERNAL { global: rte_dpaa_bpid_info; rte_dpaa_memsegs; - - local: *; }; 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; +};