From patchwork Wed May 13 13:27:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 186598 Delivered-To: patch@linaro.org Received: by 2002:a92:5b0a:0:0:0:0:0 with SMTP id p10csp468363ilb; Wed, 13 May 2020 06:30:28 -0700 (PDT) X-Google-Smtp-Source: APiQypK4c3Ycjq4VdHRl9vAnMZRjzZNLlgv/PT8DnwdZxW1KDbYf6FGR88E6sfsuiEG+BPyhu563 X-Received: by 2002:adf:9447:: with SMTP id 65mr31268665wrq.331.1589376628306; Wed, 13 May 2020 06:30:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589376628; cv=none; d=google.com; s=arc-20160816; b=buM+BfZtEHci8O0HH9PgmQ1JZDnI6Wuugb2B3yvQVPGiqRSatMEMXYvTw9+cDAZkAl CfJLkcUqkTAKMWPADkx/KSyG13K7CQWUJne+78CsvRHhayjxG1aHj3wVEZHkvzk0sWhf hwfRucTTu5T3jm4S8AW9MikcKF7nE78elICrsE5XGprStgEt1l2vXSDkc5PJA4sZiYuj XcTkxSnwkaSXXKDVJVJX6er6QE5jrmud8Q5nNoBj556spRS53nqXDxjzSypbXtNp2weo mLQsW/BY/UEcrFH6WZpOOccH3RdHvd+Il0EH3hBCg7J0xLSVa42xHiXqdK/DsuEQFLYk gEnQ== 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=omjo9Jyt9A2QyWCVq/pOXcGvRF0BpH1TPRsT2sD6Zqc=; b=A0yD1ckWttQ+4jgLB3wpGx2NWBTs34GkHFP9EZsL/P64eOFYpMylEO6KHm6vQoLXaa oAe808LFnxYY9+eM4KG5hckkMUrN53bf5c68wemyNH5z2CovhctA10GGDoALJgLU0aJR R1nGa1QiHiywfx4sWjfdXVAe/YzX72CeL6kMDbaGPBxNZbgXwVRor0tx/sNDz3ffmWqy 3SRUuLxog570JWtK75NdJF/4PutNVuY9p9de49uQy27RAaUQr1U44nItPfZ8NcXyYCht F7ce0xRYUKd5khLbY6QBubkAxYZjt6KUTLm/4+Ghf7pLCAbGuykMzKr+LE1tGLfuMBSC ZTzw== 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 v20si17478474wrb.471.2020.05.13.06.30.28; Wed, 13 May 2020 06:30:28 -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 7272F1D5F1; Wed, 13 May 2020 15:30:16 +0200 (CEST) Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by dpdk.org (Postfix) with ESMTP id 149D91D5D8 for ; Wed, 13 May 2020 15:30:12 +0200 (CEST) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id E6DE020136C; Wed, 13 May 2020 15:30:11 +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 E2EE7201375; Wed, 13 May 2020 15:30:09 +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 2AD1E40318; Wed, 13 May 2020 21:30:07 +0800 (SGT) From: Hemant Agrawal To: dev@dpdk.org, david.marchand@redhat.com, mdr@ashroe.eu Cc: Hemant Agrawal Date: Wed, 13 May 2020 18:57:35 +0530 Message-Id: <20200513132745.9006-3-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200513132745.9006-1-hemant.agrawal@nxp.com> References: <20200512140100.26803-1-hemant.agrawal@nxp.com> <20200513132745.9006-1-hemant.agrawal@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH v3 02/12] 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 -- v3: add entry in libabigail.abinore file --- devtools/libabigail.abignore | 2 ++ 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, 11 insertions(+), 3 deletions(-) -- 2.17.1 diff --git a/devtools/libabigail.abignore b/devtools/libabigail.abignore index b1488d5549..4a5241073e 100644 --- a/devtools/libabigail.abignore +++ b/devtools/libabigail.abignore @@ -51,3 +51,5 @@ ; Ignore moving DPAAx stable functions to INTERNAL tag [suppress_file] file_name_regexp = ^librte_common_dpaax\. +[suppress_file] + file_name_regexp = ^librte_mempool_dpaa\. 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; +};