From patchwork Fri May 15 05:08:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 186794 Delivered-To: patch@linaro.org Received: by 2002:a92:5b0a:0:0:0:0:0 with SMTP id p10csp109658ilb; Thu, 14 May 2020 22:11:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyOr+Z7h+Wnrkp9x5sLu994fykl6puhHPAEfr7cshF/EMpZ04F60QR7O9w3NNRj70+5eMZI X-Received: by 2002:adf:fb0f:: with SMTP id c15mr2221332wrr.410.1589519462067; Thu, 14 May 2020 22:11:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589519462; cv=none; d=google.com; s=arc-20160816; b=VF7IYu6csJs2W2Bj9MpISK1xRcEhgSfsZkZb9rjfylunNmawR7n332RF2zOZlbJg11 4JJMKZwO8EfVnMedR42uPJNeGu2GhLPNei9Yy57DDxevYFIdFBaRnwdkE7g49oU/q1ul gSLiakMgQnqzR5AJhaJbXXNCyQnYYAeHf2eCfLb23rYKjS5kE0iiFrPQDDtTGzmJvbj8 kXQGYQ779dNvYd0D5km4wOiyEa7p3fAucvEQ5ruuh8La5mWxw9wcj0c7ExC232T+ds3f SV6nLzdalHeEohUKpwvY/zkFmx21JaKf/+F4/JZwf83G0qPXillTSAhYBkjAQw+Fm++l QEMw== 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:to:from; bh=2NmqGY5f89zD6gxoJHRt/a/WFAFA6gIMbGQvz1zug6Y=; b=t80F10nXt9JVv0iGiGPEj+uST5K3vTndchz6VGX+GP/l8Sz5RrJA+be9p03dYK1Bk2 XUjurhWMlO8Fosv6kf27AnK5Dzt3+s3bwfbLsUc+/aXrPlq0JO5XzsOxLNFeK+y7lKod cfmY3J0QQZbPP3QIHIfJZhu+qaTUmN4z7QW/Lb2Shbxz8089REmZgtyT1kGEzqTb1kus MW5q0/bOq3DoOrsiG4YdENcow74aOMsxjSc+IBHRgyo5OnwIH3O6i+AYv9KoE/YsKTN/ KvANIuLQgmiiYNotYgjB2lQYP8Ddk8zYTK1h163BZhTrAJsPK0ecUV8qhYKSPy0YwP70 0G0Q== 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 w62si1098943wma.171.2020.05.14.22.11.01; Thu, 14 May 2020 22:11:02 -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 498C41D513; Fri, 15 May 2020 07:11:00 +0200 (CEST) Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by dpdk.org (Postfix) with ESMTP id 137A8199BC for ; Fri, 15 May 2020 07:10:59 +0200 (CEST) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 9CC171A05DC; Fri, 15 May 2020 07:10:58 +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 BABC41A05D6; Fri, 15 May 2020 07:10:56 +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 42574402BE; Fri, 15 May 2020 13:10:54 +0800 (SGT) From: Hemant Agrawal To: dev@dpdk.org, david.marchand@redhat.com, mdr@ashroe.eu Date: Fri, 15 May 2020 10:38:18 +0530 Message-Id: <20200515050831.22834-1-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200514142951.31801-1-hemant.agrawal@nxp.com> References: <20200514142951.31801-1-hemant.agrawal@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH v7 00/13] NXP DPAAx: move internal symbols to INTERNAL 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" v7: using empty DPDK_20.0 to preserve the so name v6: v5 was dirty v5: use empty DPDK_20.0 to avoid so name erriin pmd_dpaa2 v4: pmd_dpaa, mempool_dpaa2 also has external symbols. So, changing the libabigail.abignore exception to only for selected func calls pmd_dpaa2 also has experimental external func call remaining. However, it causes the so name to be changed. So, we need to maintain the specific file name exception there for now. v3: adding entries in libabigail.ignore This patchset moves the internal symbol to the INTERNAL sections This patch also change some of the shared variables to function calls. (Mostly control path used variables). Hemant Agrawal (13): common/dpaax: move internal symbols into INTERNAL section bus/fslmc: move internal symbols into INTERNAL section bus/dpaa: move internal symbols into INTERNAL section mempool/dpaa2: move internal symbols into INTERNAL section net/dpaa: move internal symbols into INTERNAL section net/dpaa2: move internal symbols into INTERNAL section crypto: move internal symbols into INTERNAL section mempool/dpaa2: fix to add the include file bus/dpaa: share qman portal ids as function calls bus/dpaa: move log into to respective dpaa drivers bus/dpaa: change netcfg access as function bus/fslmc: share mcp ptr as function across libs bus/fslmc: remove unused symbols devtools/libabigail.abignore | 17 ++++++ drivers/bus/dpaa/base/qbman/qman_driver.c | 10 ++++ drivers/bus/dpaa/dpaa_bus.c | 25 +++----- drivers/bus/dpaa/include/fsl_bman.h | 6 ++ drivers/bus/dpaa/include/fsl_fman.h | 27 +++++++++ drivers/bus/dpaa/include/fsl_qman.h | 40 ++++++++++++- drivers/bus/dpaa/include/fsl_usd.h | 8 ++- drivers/bus/dpaa/include/netcfg.h | 2 + drivers/bus/dpaa/rte_bus_dpaa_version.map | 17 +++--- drivers/bus/dpaa/rte_dpaa_bus.h | 11 +++- drivers/bus/dpaa/rte_dpaa_logs.h | 58 ------------------- drivers/bus/fslmc/fslmc_vfio.c | 15 ++++- drivers/bus/fslmc/fslmc_vfio.h | 4 ++ drivers/bus/fslmc/mc/fsl_dpbp.h | 6 ++ drivers/bus/fslmc/mc/fsl_dpci.h | 3 + drivers/bus/fslmc/mc/fsl_dpcon.h | 2 + drivers/bus/fslmc/mc/fsl_dpdmai.h | 8 +++ drivers/bus/fslmc/mc/fsl_dpio.h | 9 +++ drivers/bus/fslmc/mc/fsl_dpmng.h | 2 + drivers/bus/fslmc/mc/fsl_mc_cmd.h | 1 + drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c | 8 +-- drivers/bus/fslmc/portal/dpaa2_hw_dpci.c | 2 +- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 2 +- drivers/bus/fslmc/portal/dpaa2_hw_dpio.h | 5 ++ drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 18 ++++-- .../bus/fslmc/qbman/include/fsl_qbman_debug.h | 3 + .../fslmc/qbman/include/fsl_qbman_portal.h | 41 +++++++++++++ drivers/bus/fslmc/rte_bus_fslmc_version.map | 23 ++++---- drivers/bus/fslmc/rte_fslmc.h | 4 ++ drivers/common/dpaax/dpaa_of.h | 15 +++++ drivers/common/dpaax/dpaax_iova_table.h | 4 ++ .../common/dpaax/rte_common_dpaax_version.map | 6 +- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 2 +- drivers/crypto/dpaa2_sec/dpaa2_sec_event.h | 5 +- .../dpaa2_sec/rte_pmd_dpaa2_sec_version.map | 6 +- drivers/crypto/dpaa_sec/dpaa_sec.c | 2 +- drivers/crypto/dpaa_sec/dpaa_sec_event.h | 8 +-- .../dpaa_sec/rte_pmd_dpaa_sec_version.map | 6 +- drivers/event/dpaa/dpaa_eventdev.c | 7 +++ drivers/event/dpaa/dpaa_eventdev.h | 16 +++++ drivers/event/dpaa2/dpaa2_hw_dpcon.c | 2 +- drivers/mempool/dpaa/dpaa_mempool.c | 8 +++ drivers/mempool/dpaa/dpaa_mempool.h | 19 ++++++ .../mempool/dpaa/rte_mempool_dpaa_version.map | 6 +- drivers/mempool/dpaa2/dpaa2_hw_mempool.h | 1 + drivers/mempool/dpaa2/meson.build | 2 + .../dpaa2/rte_mempool_dpaa2_version.map | 9 ++- drivers/net/dpaa/dpaa_ethdev.c | 12 +++- drivers/net/dpaa/dpaa_ethdev.h | 24 ++++++++ drivers/net/dpaa/rte_pmd_dpaa_version.map | 9 ++- drivers/net/dpaa2/dpaa2_ethdev.c | 2 +- drivers/net/dpaa2/dpaa2_ethdev.h | 2 + drivers/net/dpaa2/dpaa2_mux.c | 2 +- drivers/net/dpaa2/dpaa2_ptp.c | 2 +- drivers/net/dpaa2/rte_pmd_dpaa2_version.map | 12 ++-- drivers/raw/dpaa2_qdma/dpaa2_qdma.c | 2 +- 56 files changed, 416 insertions(+), 152 deletions(-) -- 2.17.1