From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8E432606A325 for ; Sun, 29 Nov 2026 20:51:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=networkplumber-org.20260707.gappssmtp.com header.i=@networkplumber-org.20260707.gappssmtp.com header.a=rsa-sha256 header.s=20260707 header.b=Cs2PXfY9 Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5623E40A81; Sun, 29 Nov 2026 21:50:30 +0100 (CET) Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) by mails.dpdk.org (Postfix) with ESMTPS id C142340A7F for ; Sun, 29 Nov 2026 21:50:28 +0100 (CET) Received: by mail-pj1-f53.google.com with SMTP id 98e67ed59e1d1-3b567ae3d54so331217a91.0 for ; Sun, 29 Nov 2026 12:50:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20260707.gappssmtp.com; s=20260707; t=1795985427; x=1796590227; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=3Lf8rXmeFnyxmdnsVbthGAPw/sh8TOVzVV5E+UpUS74=; b=Cs2PXfY9fsXsjuq4mNBBD5q/h+/yBNHUPVgVnaCeHslcbwH6HTyhrds0cvvvGYbgOG aYNL17CJb9vg+sbnyqFvClMd4wc88s6nmm/h4kHEQvvX2fm1QeJuTGCGxF+jyoOiozEr 0QnUWmAADTv/p5Fppl88EtjNOTOszYVCchUdfZ1GsIr5HZoeml5ssG42Yulw2aeJ3quy BVoLqkFOyBB6P6M/4eJYPByNAZWv4pnGvoGHmyrV/UmBYSauMzaIueg2OHlbgj+uIboo EOA2Gh0Xd2tTbMezk2sRZgA0kezUL/8A6yG9irohUIbeBKt9gBF6g3ZU9hGJl96ixU8V k9kQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795985427; x=1796590227; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=3Lf8rXmeFnyxmdnsVbthGAPw/sh8TOVzVV5E+UpUS74=; b=xDMK18AxUHKk0nw5LLtnaxvg+OUsXoG1VqoUAWrfsy48dknNppjtIDTZhPxDtLpJ3k GVjwrKGtuRyQO8f+8QtdPDvXCf1KL6z6mD4uHmCk+QXZmf/z0934sEZ5zvhkjLd1t57a hma23GzcER7BJzqJ3Y4NcVKS4nLL00VLZoC2YvR1ZU1wnvGffnEnr1pD0oLOCCzqEUKu 8k2nF7+OLNOjUc5v5nv4gwWoa6/8UTP1jHl2EGrjl6vRDoqhoz3X9duCc3igWXOKNrLY 2E+qAkQYONOaQ809q6dytk6roZQdQYh1r+VaaEvC6nw8Q25J86EOTj4TnNcwJ2E4eSqV gWmQ== X-Gm-Message-State: APuU4Z/m/XX7w4TXnXc/8naYXfUqIZNB4BJ76LA41c90OzBpSVZlzgs+ mporu9gwJEqedXZo1TKA6RimzHsgU68nHhaoA8Mr8bHUbn9dBqCvtzAj8bVVbydMIiYd3cbgOG0 Lwf6itE0= X-Gm-Gg: AZFdTZfLm20n2zA9AC4fOijSlb2HxtTREeS9Vfe5RNXqa/QfC1ThaB+Dgx2xyijgRf+ IXcj2mAwwy77R8mqV+CLuReDGBp+P6hPhXhYl0uyM+7xbF4BFsCxGKBdLFYwkkaSBhoQWNEuSyo 043dCBMHLcSYkL0OMAqpGKI0KGaJLNnDLxzazJcEqQWMqlgU9xF3wkBAEGTAbXwrdQ7S2ESd+kQ uSkHPDuIaK3rv77sIFRucurHzyJZYm+niVR0eXaCP7IUdbU6ebYrkn5OUX6ujRwivLm+m6F/OGP dh/ifaBA3hCvFVJwhghwJ4YdeBMcAcXMFuhz3DeTxNqSOFpFuCsJXTWfBrP7oZM/vyiNGXzJl0w e0kbhEnKRx6jogsb0+PBH8M0xYKvKfzDGxEEfRrd1z4H6UoDH/pwHuR8cfX1C4nGPJFz3mm4KTq UGzly4JOthvxir7KZlMtHP4rbrI6beLv6i17hU1TQuls35qRVOpX2NlJmG7aZ31dh5RARtiXQ2h 1yd9hF+u05XVbgMfRkXE/nxNn3B9TUMPtotcIidOZa1b1tw011FeSj57qLYkAq0wtOhSf9dr8UM G7hca/IY70vbbQFGHfh3D0827/0Uw7OYxmlwf5yo1m1ID9k3ROT1pfpoxIe/mlt0V4YFfg== X-Received: by 2002:a17:90b:1802:b0:3a4:945e:bc33 with SMTP id 98e67ed59e1d1-3b41c93cf53mr30162998a91.47.1795985427006; Sun, 29 Nov 2026 12:50:27 -0800 (PST) Received: from phoenix.lan (204-195-112-43.wavecable.com. [204.195.112.43]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b50234fb25sm10383968a91.2.2026.11.29.12.50.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Nov 2026 12:50:26 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Hemant Agrawal , Sachin Saxena Subject: [PATCH 12/45] bus/fslmc: do not export internal symbols used only in the bus Date: Sun, 29 Nov 2026 12:48:57 -0800 Message-ID: <20261129205006.1440292-13-stephen@networkplumber.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20261129205006.1440292-1-stephen@networkplumber.org> References: <20261129205006.1440292-1-stephen@networkplumber.org> X-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Archive: List-Post: List-Help: List-Subscribe: , X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 The QBMan helpers, the DPAA2 IOVA conversion helpers and the DPCI/DPIO object functions listed here are only used inside the fslmc bus driver itself. The dpaa2 net, crypto and event drivers use the higher level interfaces, which keep their exports. Drop the internal exports and the matching __rte_internal tags. Signed-off-by: Stephen Hemminger --- drivers/bus/fslmc/bus_fslmc_driver.h | 4 ---- drivers/bus/fslmc/fslmc_vfio.c | 4 ---- drivers/bus/fslmc/mc/dpbp.c | 4 ---- drivers/bus/fslmc/mc/dpci.c | 2 -- drivers/bus/fslmc/mc/dpcon.c | 5 ----- drivers/bus/fslmc/mc/dpio.c | 11 ----------- drivers/bus/fslmc/mc/dprc.c | 1 - drivers/bus/fslmc/mc/fsl_dpbp.h | 4 ---- drivers/bus/fslmc/mc/fsl_dpci.h | 2 -- drivers/bus/fslmc/mc/fsl_dpcon.h | 5 ----- drivers/bus/fslmc/mc/fsl_dpio.h | 11 ----------- drivers/bus/fslmc/mc/fsl_dprc.h | 1 - drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c | 1 - drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 2 -- drivers/bus/fslmc/portal/dpaa2_hw_dpio.h | 1 - drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 1 - drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h | 5 ----- drivers/bus/fslmc/qbman/qbman_portal.c | 5 ----- 18 files changed, 69 deletions(-) diff --git a/drivers/bus/fslmc/bus_fslmc_driver.h b/drivers/bus/fslmc/bus_fslmc_driver.h index 80782a4a88..2e2fbd67e6 100644 --- a/drivers/bus/fslmc/bus_fslmc_driver.h +++ b/drivers/bus/fslmc/bus_fslmc_driver.h @@ -143,14 +143,12 @@ struct rte_dpaa2_driver { int rte_fslmc_vfio_mem_dmamap(uint64_t vaddr, uint64_t iova, uint64_t size); -__rte_internal int rte_fslmc_vfio_mem_dmaunmap(uint64_t iova, uint64_t size); __rte_internal uint64_t rte_fslmc_cold_mem_vaddr_to_iova(void *vaddr, uint64_t size); -__rte_internal void * rte_fslmc_cold_mem_iova_to_vaddr(uint64_t iova, uint64_t size); @@ -160,10 +158,8 @@ rte_fslmc_mem_vaddr_to_iova(void *vaddr); __rte_internal __rte_hot void * rte_fslmc_mem_iova_to_vaddr(uint64_t iova); -__rte_internal uint64_t rte_fslmc_io_vaddr_to_iova(void *vaddr); -__rte_internal void * rte_fslmc_io_iova_to_vaddr(uint64_t iova); diff --git a/drivers/bus/fslmc/fslmc_vfio.c b/drivers/bus/fslmc/fslmc_vfio.c index 5ffa869e6f..8b5c2b637a 100644 --- a/drivers/bus/fslmc/fslmc_vfio.c +++ b/drivers/bus/fslmc/fslmc_vfio.c @@ -1024,7 +1024,6 @@ rte_fslmc_cold_mem_vaddr_to_iova(void *vaddr, return RTE_BAD_IOVA; } -RTE_EXPORT_INTERNAL_SYMBOL(rte_fslmc_cold_mem_iova_to_vaddr) void * rte_fslmc_cold_mem_iova_to_vaddr(uint64_t iova, uint64_t size) @@ -1061,7 +1060,6 @@ rte_fslmc_mem_iova_to_vaddr(uint64_t iova) return rte_fslmc_cold_mem_iova_to_vaddr(iova, 0); } -RTE_EXPORT_INTERNAL_SYMBOL(rte_fslmc_io_vaddr_to_iova) uint64_t rte_fslmc_io_vaddr_to_iova(void *vaddr) { @@ -1077,7 +1075,6 @@ rte_fslmc_io_vaddr_to_iova(void *vaddr) return RTE_BAD_IOVA; } -RTE_EXPORT_INTERNAL_SYMBOL(rte_fslmc_io_iova_to_vaddr) void * rte_fslmc_io_iova_to_vaddr(uint64_t iova) { @@ -1196,7 +1193,6 @@ rte_fslmc_vfio_mem_dmamap(uint64_t vaddr, uint64_t iova, uint64_t size) return fslmc_map_dma(vaddr, iova, size); } -RTE_EXPORT_INTERNAL_SYMBOL(rte_fslmc_vfio_mem_dmaunmap) int rte_fslmc_vfio_mem_dmaunmap(uint64_t iova, uint64_t size) { diff --git a/drivers/bus/fslmc/mc/dpbp.c b/drivers/bus/fslmc/mc/dpbp.c index 1c4bed3af7..cb5a288e68 100644 --- a/drivers/bus/fslmc/mc/dpbp.c +++ b/drivers/bus/fslmc/mc/dpbp.c @@ -28,7 +28,6 @@ * * Return: '0' on Success; Error code otherwise. */ -RTE_EXPORT_INTERNAL_SYMBOL(dpbp_open) int dpbp_open(struct fsl_mc_io *mc_io, uint32_t cmd_flags, int dpbp_id, @@ -240,7 +239,6 @@ int dpbp_is_enabled(struct fsl_mc_io *mc_io, * * Return: '0' on Success; Error code otherwise. */ -RTE_EXPORT_INTERNAL_SYMBOL(dpbp_reset) int dpbp_reset(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token) @@ -372,7 +370,6 @@ int dpbp_get_num_free_bufs(struct fsl_mc_io *mc_io, * * Return: '0' on Success; Error code otherwise. */ -RTE_EXPORT_INTERNAL_SYMBOL(dpbp_set_notifications) int dpbp_set_notifications(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token, @@ -406,7 +403,6 @@ int dpbp_set_notifications(struct fsl_mc_io *mc_io, * * Return: '0' on Success; Error code otherwise. */ -RTE_EXPORT_INTERNAL_SYMBOL(dpbp_get_notifications) int dpbp_get_notifications(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token, diff --git a/drivers/bus/fslmc/mc/dpci.c b/drivers/bus/fslmc/mc/dpci.c index 4188325fb9..3e58c7a218 100644 --- a/drivers/bus/fslmc/mc/dpci.c +++ b/drivers/bus/fslmc/mc/dpci.c @@ -480,7 +480,6 @@ int dpci_get_api_version(struct fsl_mc_io *mc_io, * * Return: '0' on Success; Error code otherwise. */ -RTE_EXPORT_INTERNAL_SYMBOL(dpci_set_opr) int dpci_set_opr(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token, @@ -519,7 +518,6 @@ int dpci_set_opr(struct fsl_mc_io *mc_io, * * Return: '0' on Success; Error code otherwise. */ -RTE_EXPORT_INTERNAL_SYMBOL(dpci_get_opr) int dpci_get_opr(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token, diff --git a/drivers/bus/fslmc/mc/dpcon.c b/drivers/bus/fslmc/mc/dpcon.c index c01d7adabb..044ca7bb8b 100644 --- a/drivers/bus/fslmc/mc/dpcon.c +++ b/drivers/bus/fslmc/mc/dpcon.c @@ -28,7 +28,6 @@ * * Return: '0' on Success; Error code otherwise. */ -RTE_EXPORT_INTERNAL_SYMBOL(dpcon_open) int dpcon_open(struct fsl_mc_io *mc_io, uint32_t cmd_flags, int dpcon_id, @@ -67,7 +66,6 @@ int dpcon_open(struct fsl_mc_io *mc_io, * * Return: '0' on Success; Error code otherwise. */ -RTE_EXPORT_INTERNAL_SYMBOL(dpcon_close) int dpcon_close(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token) @@ -192,7 +190,6 @@ int dpcon_enable(struct fsl_mc_io *mc_io, * * Return: '0' on Success; Error code otherwise */ -RTE_EXPORT_INTERNAL_SYMBOL(dpcon_disable) int dpcon_disable(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token) @@ -251,7 +248,6 @@ int dpcon_is_enabled(struct fsl_mc_io *mc_io, * * Return: '0' on Success; Error code otherwise. */ -RTE_EXPORT_INTERNAL_SYMBOL(dpcon_reset) int dpcon_reset(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token) @@ -275,7 +271,6 @@ int dpcon_reset(struct fsl_mc_io *mc_io, * * Return: '0' on Success; Error code otherwise. */ -RTE_EXPORT_INTERNAL_SYMBOL(dpcon_get_attributes) int dpcon_get_attributes(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token, diff --git a/drivers/bus/fslmc/mc/dpio.c b/drivers/bus/fslmc/mc/dpio.c index 45789dc702..a23692417c 100644 --- a/drivers/bus/fslmc/mc/dpio.c +++ b/drivers/bus/fslmc/mc/dpio.c @@ -28,7 +28,6 @@ * * Return: '0' on Success; Error code otherwise. */ -RTE_EXPORT_INTERNAL_SYMBOL(dpio_open) int dpio_open(struct fsl_mc_io *mc_io, uint32_t cmd_flags, int dpio_id, @@ -64,7 +63,6 @@ int dpio_open(struct fsl_mc_io *mc_io, * * Return: '0' on Success; Error code otherwise. */ -RTE_EXPORT_INTERNAL_SYMBOL(dpio_close) int dpio_close(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token) @@ -177,7 +175,6 @@ int dpio_destroy(struct fsl_mc_io *mc_io, * * Return: '0' on Success; Error code otherwise */ -RTE_EXPORT_INTERNAL_SYMBOL(dpio_enable) int dpio_enable(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token) @@ -201,7 +198,6 @@ int dpio_enable(struct fsl_mc_io *mc_io, * * Return: '0' on Success; Error code otherwise */ -RTE_EXPORT_INTERNAL_SYMBOL(dpio_disable) int dpio_disable(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token) @@ -259,7 +255,6 @@ int dpio_is_enabled(struct fsl_mc_io *mc_io, * * Return: '0' on Success; Error code otherwise. */ -RTE_EXPORT_INTERNAL_SYMBOL(dpio_reset) int dpio_reset(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token) @@ -284,7 +279,6 @@ int dpio_reset(struct fsl_mc_io *mc_io, * * Return: '0' on Success; Error code otherwise */ -RTE_EXPORT_INTERNAL_SYMBOL(dpio_get_attributes) int dpio_get_attributes(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token, @@ -330,7 +324,6 @@ int dpio_get_attributes(struct fsl_mc_io *mc_io, * * Return: '0' on Success; Error code otherwise. */ -RTE_EXPORT_INTERNAL_SYMBOL(dpio_set_stashing_destination) int dpio_set_stashing_destination(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token, @@ -359,7 +352,6 @@ int dpio_set_stashing_destination(struct fsl_mc_io *mc_io, * * Return: '0' on Success; Error code otherwise. */ -RTE_EXPORT_INTERNAL_SYMBOL(dpio_get_stashing_destination) int dpio_get_stashing_destination(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token, @@ -396,7 +388,6 @@ int dpio_get_stashing_destination(struct fsl_mc_io *mc_io, * * Return: '0' on Success; Error code otherwise. */ -RTE_EXPORT_INTERNAL_SYMBOL(dpio_set_stashing_destination_by_core_id) int dpio_set_stashing_destination_by_core_id(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token, @@ -425,7 +416,6 @@ int dpio_set_stashing_destination_by_core_id(struct fsl_mc_io *mc_io, * * Return: '0' on Success; Error code otherwise. */ -RTE_EXPORT_INTERNAL_SYMBOL(dpio_set_stashing_destination_source) int dpio_set_stashing_destination_source(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token, @@ -454,7 +444,6 @@ int dpio_set_stashing_destination_source(struct fsl_mc_io *mc_io, * * Return: '0' on Success; Error code otherwise. */ -RTE_EXPORT_INTERNAL_SYMBOL(dpio_get_stashing_destination_source) int dpio_get_stashing_destination_source(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token, diff --git a/drivers/bus/fslmc/mc/dprc.c b/drivers/bus/fslmc/mc/dprc.c index 578ab63f7b..fcb9faa7dc 100644 --- a/drivers/bus/fslmc/mc/dprc.c +++ b/drivers/bus/fslmc/mc/dprc.c @@ -91,7 +91,6 @@ int dprc_close(struct fsl_mc_io *mc_io, * * Return: '0' on Success; -ENAVAIL if connection does not exist. */ -RTE_EXPORT_INTERNAL_SYMBOL(dprc_get_connection) int dprc_get_connection(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token, diff --git a/drivers/bus/fslmc/mc/fsl_dpbp.h b/drivers/bus/fslmc/mc/fsl_dpbp.h index 491679b191..894ff86d9c 100644 --- a/drivers/bus/fslmc/mc/fsl_dpbp.h +++ b/drivers/bus/fslmc/mc/fsl_dpbp.h @@ -44,7 +44,6 @@ struct dpbp_notification_cfg { uint32_t options; }; -__rte_internal int dpbp_open(struct fsl_mc_io *mc_io, uint32_t cmd_flags, int dpbp_id, @@ -53,12 +52,10 @@ int dpbp_open(struct fsl_mc_io *mc_io, int dpbp_close(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token); -__rte_internal int dpbp_set_notifications(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token, struct dpbp_notification_cfg *cfg); -__rte_internal int dpbp_get_notifications(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token, @@ -99,7 +96,6 @@ int dpbp_is_enabled(struct fsl_mc_io *mc_io, uint16_t token, int *en); -__rte_internal int dpbp_reset(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token); diff --git a/drivers/bus/fslmc/mc/fsl_dpci.h b/drivers/bus/fslmc/mc/fsl_dpci.h index 55b67244c1..8d318d12f7 100644 --- a/drivers/bus/fslmc/mc/fsl_dpci.h +++ b/drivers/bus/fslmc/mc/fsl_dpci.h @@ -231,7 +231,6 @@ int dpci_get_api_version(struct fsl_mc_io *mc_io, uint16_t *major_ver, uint16_t *minor_ver); -__rte_internal int dpci_set_opr(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token, @@ -239,7 +238,6 @@ int dpci_set_opr(struct fsl_mc_io *mc_io, uint8_t options, struct opr_cfg *cfg); -__rte_internal int dpci_get_opr(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token, diff --git a/drivers/bus/fslmc/mc/fsl_dpcon.h b/drivers/bus/fslmc/mc/fsl_dpcon.h index 3bef97f6f5..d84c5ae3e9 100644 --- a/drivers/bus/fslmc/mc/fsl_dpcon.h +++ b/drivers/bus/fslmc/mc/fsl_dpcon.h @@ -22,13 +22,11 @@ struct fsl_mc_io; */ #define DPCON_INVALID_DPIO_ID (int)(-1) -__rte_internal int dpcon_open(struct fsl_mc_io *mc_io, uint32_t cmd_flags, int dpcon_id, uint16_t *token); -__rte_internal int dpcon_close(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token); @@ -57,7 +55,6 @@ int dpcon_enable(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token); -__rte_internal int dpcon_disable(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token); @@ -67,7 +64,6 @@ int dpcon_is_enabled(struct fsl_mc_io *mc_io, uint16_t token, int *en); -__rte_internal int dpcon_reset(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token); @@ -84,7 +80,6 @@ struct dpcon_attr { uint8_t num_priorities; }; -__rte_internal int dpcon_get_attributes(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token, diff --git a/drivers/bus/fslmc/mc/fsl_dpio.h b/drivers/bus/fslmc/mc/fsl_dpio.h index 6acbc8d561..9c1513fedd 100644 --- a/drivers/bus/fslmc/mc/fsl_dpio.h +++ b/drivers/bus/fslmc/mc/fsl_dpio.h @@ -15,13 +15,11 @@ struct fsl_mc_io; -__rte_internal int dpio_open(struct fsl_mc_io *mc_io, uint32_t cmd_flags, int dpio_id, uint16_t *token); -__rte_internal int dpio_close(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token); @@ -61,12 +59,10 @@ int dpio_destroy(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint32_t object_id); -__rte_internal int dpio_enable(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token); -__rte_internal int dpio_disable(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token); @@ -76,36 +72,30 @@ int dpio_is_enabled(struct fsl_mc_io *mc_io, uint16_t token, int *en); -__rte_internal int dpio_reset(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token); -__rte_internal int dpio_set_stashing_destination(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token, uint8_t sdest); -__rte_internal int dpio_get_stashing_destination(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token, uint8_t *sdest); -__rte_internal int dpio_set_stashing_destination_by_core_id(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token, uint8_t core_id); -__rte_internal int dpio_set_stashing_destination_source(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token, uint8_t ss); -__rte_internal int dpio_get_stashing_destination_source(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token, @@ -148,7 +138,6 @@ struct dpio_attr { uint32_t clk; }; -__rte_internal int dpio_get_attributes(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token, diff --git a/drivers/bus/fslmc/mc/fsl_dprc.h b/drivers/bus/fslmc/mc/fsl_dprc.h index dba0d2017d..2201a48fe2 100644 --- a/drivers/bus/fslmc/mc/fsl_dprc.h +++ b/drivers/bus/fslmc/mc/fsl_dprc.h @@ -37,7 +37,6 @@ struct dprc_endpoint { uint16_t if_id; }; -__rte_internal int dprc_get_connection(struct fsl_mc_io *mc_io, uint32_t cmd_flags, uint16_t token, diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c b/drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c index d2ddb76baf..f09c5bb9bf 100644 --- a/drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c +++ b/drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c @@ -129,7 +129,6 @@ void dpaa2_free_dpbp_dev(struct dpaa2_dpbp_dev *dpbp) } } -RTE_EXPORT_INTERNAL_SYMBOL(dpaa2_dpbp_supported) int dpaa2_dpbp_supported(void) { if (TAILQ_EMPTY(&dpbp_dev_list)) diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c b/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c index 2e8c660acf..c4c4f16080 100644 --- a/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c +++ b/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c @@ -50,7 +50,6 @@ #define NUM_HOST_CPUS RTE_MAX_LCORE -RTE_EXPORT_INTERNAL_SYMBOL(dpaa2_io_portal) struct dpaa2_io_portal_t dpaa2_io_portal[RTE_MAX_LCORE]; RTE_EXPORT_INTERNAL_SYMBOL(per_lcore__dpaa2_io) RTE_DEFINE_PER_LCORE(struct dpaa2_io_portal_t, _dpaa2_io); @@ -280,7 +279,6 @@ int dpaa2_dpio_intr_init(struct dpaa2_dpio_dev *dpio_dev, int threshold, return 0; } -RTE_EXPORT_INTERNAL_SYMBOL(dpaa2_dpio_intr_deinit) void dpaa2_dpio_intr_deinit(struct dpaa2_dpio_dev *dpio_dev) { int ret; diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_dpio.h b/drivers/bus/fslmc/portal/dpaa2_hw_dpio.h index 7e2271cc35..6681f5ffdc 100644 --- a/drivers/bus/fslmc/portal/dpaa2_hw_dpio.h +++ b/drivers/bus/fslmc/portal/dpaa2_hw_dpio.h @@ -55,7 +55,6 @@ __rte_internal int dpaa2_dpio_intr_init(struct dpaa2_dpio_dev *dpio_dev, int threshold, int timeout, bool build_epoll); -__rte_internal void dpaa2_dpio_intr_deinit(struct dpaa2_dpio_dev *dpio_dev); /* pin a DPIO's MSI IRQ to the calling lcore's core (rx-queue interrupt mode) */ diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h index 556e1b01c0..0643b734f7 100644 --- a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h +++ b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h @@ -565,7 +565,6 @@ struct dpaa2_dpbp_dev *dpaa2_alloc_dpbp_dev(void); __rte_internal void dpaa2_free_dpbp_dev(struct dpaa2_dpbp_dev *dpbp); -__rte_internal int dpaa2_dpbp_supported(void); __rte_internal diff --git a/drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h b/drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h index b9e7789766..f8f056ae1d 100644 --- a/drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h +++ b/drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h @@ -481,7 +481,6 @@ uint8_t qbman_get_dqrr_idx(const struct qbman_result *dqrr); * * Return dqrr entry object. */ -__rte_internal struct qbman_result *qbman_get_dqrr_from_idx(struct qbman_swp *s, uint8_t idx); /* ------------------------------------------------- */ @@ -990,7 +989,6 @@ void qbman_eq_desc_set_fq(struct qbman_eq_desc *d, uint32_t fqid); * @qd_bin: the queuing destination bin * @qd_prio: the queuing destination priority. */ -__rte_internal void qbman_eq_desc_set_qd(struct qbman_eq_desc *d, uint32_t qdid, uint16_t qd_bin, uint8_t qd_prio); @@ -1037,7 +1035,6 @@ struct qbman_fd *qbman_result_eqresp_fd(struct qbman_result *eqresp); * This value is set into the response id before the enqueue command, which, * get overwritten by qbman once the enqueue command is complete. */ -__rte_internal void qbman_result_eqresp_set_rspid(struct qbman_result *eqresp, uint8_t val); /** @@ -1050,7 +1047,6 @@ void qbman_result_eqresp_set_rspid(struct qbman_result *eqresp, uint8_t val); * copied into the enqueue response to determine if the command has been * completed, and response has been updated. */ -__rte_internal uint8_t qbman_result_eqresp_rspid(struct qbman_result *eqresp); /** @@ -1059,7 +1055,6 @@ uint8_t qbman_result_eqresp_rspid(struct qbman_result *eqresp); * * Return 0 when command is successful. */ -__rte_internal uint8_t qbman_result_eqresp_rc(struct qbman_result *eqresp); /** diff --git a/drivers/bus/fslmc/qbman/qbman_portal.c b/drivers/bus/fslmc/qbman/qbman_portal.c index 7b666d4ef9..71be1a504f 100644 --- a/drivers/bus/fslmc/qbman/qbman_portal.c +++ b/drivers/bus/fslmc/qbman/qbman_portal.c @@ -688,7 +688,6 @@ void qbman_eq_desc_set_fq(struct qbman_eq_desc *d, uint32_t fqid) d->eq.tgtid = fqid; } -RTE_EXPORT_INTERNAL_SYMBOL(qbman_eq_desc_set_qd) void qbman_eq_desc_set_qd(struct qbman_eq_desc *d, uint32_t qdid, uint16_t qd_bin, uint8_t qd_prio) { @@ -2493,19 +2492,16 @@ struct qbman_fd *qbman_result_eqresp_fd(struct qbman_result *eqresp) return (struct qbman_fd *)&eqresp->eq_resp.fd[0]; } -RTE_EXPORT_INTERNAL_SYMBOL(qbman_result_eqresp_set_rspid) void qbman_result_eqresp_set_rspid(struct qbman_result *eqresp, uint8_t val) { eqresp->eq_resp.rspid = val; } -RTE_EXPORT_INTERNAL_SYMBOL(qbman_result_eqresp_rspid) uint8_t qbman_result_eqresp_rspid(struct qbman_result *eqresp) { return eqresp->eq_resp.rspid; } -RTE_EXPORT_INTERNAL_SYMBOL(qbman_result_eqresp_rc) uint8_t qbman_result_eqresp_rc(struct qbman_result *eqresp) { if (eqresp->eq_resp.rc == 0xE) @@ -2962,7 +2958,6 @@ uint8_t qbman_get_dqrr_idx(const struct qbman_result *dqrr) return QBMAN_IDX_FROM_DQRR(dqrr); } -RTE_EXPORT_INTERNAL_SYMBOL(qbman_get_dqrr_from_idx) struct qbman_result *qbman_get_dqrr_from_idx(struct qbman_swp *s, uint8_t idx) { struct qbman_result *dq; -- 2.53.0