From patchwork Thu May 14 14:29:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 186744 Delivered-To: patch@linaro.org Received: by 2002:a92:5b0a:0:0:0:0:0 with SMTP id p10csp1457030ilb; Thu, 14 May 2020 07:33:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxP2V5Zus7f5B1TmhdY3JZXsTVaYYjyN7pRophPUGpHAExFj0cSrUkxGbh62RUSJ0njuc66 X-Received: by 2002:a5d:5710:: with SMTP id a16mr5620198wrv.209.1589466798695; Thu, 14 May 2020 07:33:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589466798; cv=none; d=google.com; s=arc-20160816; b=KMwwdWPwgjhJRmJpa9R5j2DOaYBBCi/4gav0H3nOcgiR3WL8g9lsYYrSUJxRs1MGUS /fhWbSAaS4qJZ4Cjvnk6IkROIcZCfVa8edah+KBIVYUY4f/4CsK6uBQKhV+ZwjWZKF/Y E/yvDIiVhsDEjyC7MhXXmypp/Ah3UFGIh273dbtipsMtqdwWqz7IGS4cxIfOrZkSffON u157oA+M0KJEhcc9Njgef2mtQ1LG6jwgGp0STYIXENBc1Rek3bIRV/Dc3bHY5Fwn5ZaG +GdoLzZs/UMK+QJELDUBY4pdQA0zm5ENRVLc2pIKLqG98SSdcyRZnSzomVPh1Ln2MHcn FInQ== 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=Ib7L8Vm2eC8KT23DAnNnfTrNaoMYlQ67hF+tlZBzuT0=; b=Ff41/F+P+420tPRKpoyom52QG5lVCoFv2MZAxnrjfvv1sSDkE1k5m+2K06tKZIfWGc dwdI2i/bQcDyNucPV2VePXM8V45uvtxNgDRe4XrEDPIJGxTTWG7pB3jmG4UOTCgvsBrD mYjb3OdDOBb1SvEPuaS+OtPJihkpdqnnBjNI6eRXgtysrqzQBMSebAjGQk6UEWSWsxfi uaJE1i8yZirb0b5ojk1tzKih0dvU7TGJkOp3v/S9wl3ll6/stk2DOZktDmFf2jYT4Pkq AqI0M6zPRr9nTjhNJqcFrxXfcE2HajLXq+KM5VxeVsfy5geAR2m+NZMuLz1+NmSb2rgr W2ZQ== 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 l24si8642424wme.26.2020.05.14.07.33.18; Thu, 14 May 2020 07:33:18 -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 B671C1D9D3; Thu, 14 May 2020 16:32:31 +0200 (CEST) Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by dpdk.org (Postfix) with ESMTP id 9A1DF1D987 for ; Thu, 14 May 2020 16:32:21 +0200 (CEST) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 80DF1200394; Thu, 14 May 2020 16:32:21 +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 7CAE62003AF; Thu, 14 May 2020 16:32:19 +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 39ADF402E3; Thu, 14 May 2020 22:32:16 +0800 (SGT) From: Hemant Agrawal To: dev@dpdk.org, david.marchand@redhat.com, mdr@ashroe.eu Cc: Hemant Agrawal Date: Thu, 14 May 2020 19:59:43 +0530 Message-Id: <20200514142951.31801-6-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200514142951.31801-1-hemant.agrawal@nxp.com> References: <20200514132533.13752-1-hemant.agrawal@nxp.com> <20200514142951.31801-1-hemant.agrawal@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH v6 05/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 | 6 ++++++ 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 +++++++-- 4 files changed, 15 insertions(+), 3 deletions(-) -- 2.17.1 diff --git a/devtools/libabigail.abignore b/devtools/libabigail.abignore index 8db64f267d..02b7a973cb 100644 --- a/devtools/libabigail.abignore +++ b/devtools/libabigail.abignore @@ -59,3 +59,9 @@ file_name_regexp = ^librte_pmd_dpaa2_sec\. [suppress_file] file_name_regexp = ^librte_pmd_dpaa_sec\. +[suppress_file] + file_name_regexp = ^librte_mempool_dpaa\. +[suppress_function] + name = rte_dpaa2_mbuf_alloc_bulk +[suppress_function] + name = 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..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; +};