From: Stephen Hemminger <stephen@networkplumber.org>
To: dev@dpdk.org
Cc: Stephen Hemminger <stephen@networkplumber.org>,
Hemant Agrawal <hemant.agrawal@nxp.com>,
Sachin Saxena <sachin.saxena@nxp.com>
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 [thread overview]
Message-ID: <20261129205006.1440292-13-stephen@networkplumber.org> (raw)
In-Reply-To: <20261129205006.1440292-1-stephen@networkplumber.org>
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 <stephen@networkplumber.org>
---
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
next prev parent reply other threads:[~2026-11-29 20:51 UTC|newest]
Thread overview: 90+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-29 20:48 [PATCH 00/45] remove unused internal symbols and dead code Stephen Hemminger
2026-11-29 20:48 ` [PATCH 01/45] bus/vmbus: do not export unused internal symbol Stephen Hemminger
2026-11-29 20:48 ` [PATCH 02/45] bus/dpaa: remove exports for nonexistent symbols Stephen Hemminger
2026-11-29 20:48 ` [PATCH 03/45] ethdev: do not export internal dummy ops Stephen Hemminger
2026-11-29 20:48 ` [PATCH 04/45] hash: do not export internal toeplitz helper Stephen Hemminger
2026-11-29 20:48 ` [PATCH 05/45] cryptodev: do not export internal device name helper Stephen Hemminger
2026-11-29 20:48 ` [PATCH 06/45] mldev: do not export internal PMD device helpers Stephen Hemminger
2026-11-29 20:48 ` [PATCH 07/45] gpudev: do not export unused internal functions Stephen Hemminger
2026-11-29 20:48 ` [PATCH 08/45] eal/linux: do not export internal VFIO helpers Stephen Hemminger
2026-11-29 20:48 ` [PATCH 09/45] eal/linux: remove unused VFIO device number helper Stephen Hemminger
2026-11-29 20:48 ` [PATCH 10/45] eal: make per-thread epoll instance getter static Stephen Hemminger
2026-11-29 20:48 ` [PATCH 11/45] bus: do not export unused driver unregister functions Stephen Hemminger
2026-11-29 20:48 ` Stephen Hemminger [this message]
2026-11-29 20:48 ` [PATCH 13/45] bus/dpaa: do not export internal symbols used only in the bus Stephen Hemminger
2026-11-29 20:48 ` [PATCH 14/45] common/dpaax: do not export IOVA table dump helper Stephen Hemminger
2026-11-29 20:49 ` [PATCH 15/45] net/nfb: do not export MDIO speed capability helper Stephen Hemminger
2026-11-30 9:56 ` Martin Spinler
2026-11-29 20:49 ` [PATCH 16/45] common/sxe2: do not export internal ioctl channel helpers Stephen Hemminger
2026-11-29 20:49 ` [PATCH 17/45] common/mlx5: do not export internal symbols used only in common code Stephen Hemminger
2026-11-30 10:50 ` Dariusz Sosnowski
2026-11-29 20:49 ` [PATCH 18/45] net/idpf: do not export internal symbols used only in the driver Stephen Hemminger
2026-11-29 20:49 ` [PATCH 19/45] net/iavf: do not export VF reset function Stephen Hemminger
2026-11-29 20:49 ` [PATCH 20/45] eal: do not export unused Windows interrupt handle accessors Stephen Hemminger
2026-11-29 20:49 ` [PATCH 21/45] common/cnxk: do not export internal symbols used only in roc Stephen Hemminger
2026-11-29 20:49 ` [PATCH 22/45] common/sfc_efx: do not export internal symbols unused outside base Stephen Hemminger
2026-11-29 20:49 ` [PATCH 23/45] crypto/cnxk: do not export internal Rx inject helpers Stephen Hemminger
2026-11-29 20:49 ` [PATCH 24/45] net/cnxk: do not export inline inbound mode setter Stephen Hemminger
2026-11-29 20:49 ` [PATCH 25/45] common/sfc_efx: remove unused libefx functions Stephen Hemminger
2026-11-29 20:49 ` [PATCH 26/45] common/cnxk: remove unused roc functions Stephen Hemminger
2026-11-29 20:49 ` [PATCH 27/45] common/mlx5: remove unused internal functions Stephen Hemminger
2026-11-30 10:51 ` Dariusz Sosnowski
2026-11-29 20:49 ` [PATCH 28/45] bus/fslmc: remove unused VFIO helpers Stephen Hemminger
2026-11-29 20:49 ` [PATCH 29/45] bus/dpaa: remove unused FMan and netcfg helpers Stephen Hemminger
2026-11-29 20:49 ` [PATCH 30/45] common/dpaax: remove unused IOVA table dump Stephen Hemminger
2026-11-29 20:49 ` [PATCH 31/45] net/idpf: remove unused queue enable helper Stephen Hemminger
2026-11-29 20:49 ` [PATCH 32/45] gpudev: remove unused attach function Stephen Hemminger
2026-11-29 20:49 ` [PATCH 33/45] cryptodev: remove unused device name helper Stephen Hemminger
2026-11-29 20:49 ` [PATCH 34/45] common/cnxk: remove unused MCS port recovery Stephen Hemminger
2026-11-29 20:49 ` [PATCH 35/45] bus/dpaa: remove unused QMan and BMan functions Stephen Hemminger
2026-11-29 20:49 ` [PATCH 36/45] bus/fslmc: remove unused MC object functions Stephen Hemminger
2026-11-29 20:49 ` [PATCH 37/45] eal: remove unused Windows interrupt handle accessors Stephen Hemminger
2026-11-29 20:49 ` [PATCH 38/45] common/sfc_efx: make efx_family static Stephen Hemminger
2026-11-29 20:49 ` [PATCH 39/45] gpudev: make event notify helper static Stephen Hemminger
2026-11-29 20:49 ` [PATCH 40/45] mldev: make device lookup " Stephen Hemminger
2026-11-29 20:49 ` [PATCH 41/45] bus/fslmc: make internal helpers static Stephen Hemminger
2026-11-29 20:49 ` [PATCH 42/45] net/cnxk: make inline inbound mode setter static Stephen Hemminger
2026-11-29 20:49 ` [PATCH 43/45] common/sxe2: make memory event callback static Stephen Hemminger
2026-11-29 20:49 ` [PATCH 44/45] net/idpf: make internal burst functions static Stephen Hemminger
2026-11-29 20:49 ` [PATCH 45/45] common/cnxk: make internal roc " Stephen Hemminger
2026-11-30 21:49 ` [PATCH v2 00/38] enable unreachable code detection Stephen Hemminger
2026-11-30 21:49 ` [PATCH v2 01/38] net/mlx4: fix unreachable code warnings Stephen Hemminger
2026-11-30 21:49 ` [PATCH v2 02/38] net/mlx5: " Stephen Hemminger
2026-11-30 21:49 ` [PATCH v2 03/38] examples/ipsec-secgw: remove dead code Stephen Hemminger
2026-11-30 21:49 ` [PATCH v2 04/38] eventdev: fix vector adapter instance allocation Stephen Hemminger
2026-11-30 21:49 ` [PATCH v2 05/38] test/eal: skip filesystem test on FreeBSD Stephen Hemminger
2026-12-01 8:58 ` Bruce Richardson
2026-11-30 21:49 ` [PATCH v2 06/38] eal: silence unreachable code in version string Stephen Hemminger
2026-11-30 21:49 ` [PATCH v2 07/38] net/dpaa2: remove debug abort in flow destroy Stephen Hemminger
2026-11-30 21:49 ` [PATCH v2 08/38] app/testpmd: fix unreachable VF traffic error message Stephen Hemminger
2026-11-30 21:49 ` [PATCH v2 09/38] examples/eventdev_pipeline: remove dead continue Stephen Hemminger
2026-11-30 21:49 ` [PATCH v2 10/38] examples/skeleton: handle SIGINT and SIGTERM Stephen Hemminger
2026-12-01 8:59 ` Bruce Richardson
2026-11-30 21:49 ` [PATCH v2 11/38] examples/rxtx_callbacks: " Stephen Hemminger
2026-11-30 21:49 ` [PATCH v2 12/38] examples/service_cores: " Stephen Hemminger
2026-11-30 21:49 ` [PATCH v2 13/38] examples/timer: " Stephen Hemminger
2026-11-30 21:49 ` [PATCH v2 14/38] examples/multi_process: handle SIGINT and SIGTERM in client Stephen Hemminger
2026-11-30 21:49 ` [PATCH v2 15/38] examples/server_node_efd: handle SIGINT and SIGTERM in node Stephen Hemminger
2026-11-30 21:49 ` [PATCH v2 16/38] examples/pipeline: handle SIGINT and SIGTERM Stephen Hemminger
2026-11-30 21:49 ` [PATCH v2 17/38] ethdev: fix unreachable warnings from switch declarations Stephen Hemminger
2026-11-30 21:49 ` [PATCH v2 18/38] config: add per-directory option for -Wunreachable-code Stephen Hemminger
2026-11-30 21:49 ` [PATCH v2 19/38] bus/dpaa: exempt this driver from unreachable code detection Stephen Hemminger
2026-11-30 21:49 ` [PATCH v2 20/38] net/qede: disable unreachable code checks Stephen Hemminger
2026-11-30 21:49 ` [PATCH v2 21/38] net/txgbe: " Stephen Hemminger
2026-11-30 21:49 ` [PATCH v2 22/38] net/ixgbe: disable unreachable code check Stephen Hemminger
2026-11-30 21:49 ` [PATCH v2 23/38] net/ngbe: " Stephen Hemminger
2026-11-30 21:49 ` [PATCH v2 24/38] net/octeontx: replace unreachable code Stephen Hemminger
2026-11-30 21:49 ` [PATCH v2 25/38] common/sfc_efx: disable unreachable code check for base code Stephen Hemminger
2026-11-30 21:49 ` [PATCH v2 26/38] net/dpaa2: check port state before changing TM hierarchy Stephen Hemminger
2026-11-30 21:49 ` [PATCH v2 27/38] net/e1000: disable unreachable code check for base code Stephen Hemminger
2026-11-30 21:49 ` [PATCH v2 28/38] net/ice: " Stephen Hemminger
2026-11-30 21:49 ` [PATCH v2 29/38] raw/ifpga: " Stephen Hemminger
2026-11-30 21:49 ` [PATCH v2 30/38] net/bnxt: disable unreachable code check Stephen Hemminger
2026-11-30 21:49 ` [PATCH v2 31/38] net/ntnic: " Stephen Hemminger
2026-11-30 21:49 ` [PATCH v2 32/38] lib: mark never returning thread functions Stephen Hemminger
2026-11-30 21:49 ` [PATCH v2 33/38] lib: remove unreachable statements Stephen Hemminger
2026-11-30 21:49 ` [PATCH v2 34/38] app: " Stephen Hemminger
2026-11-30 21:49 ` [PATCH v2 35/38] examples: " Stephen Hemminger
2026-11-30 21:49 ` [PATCH v2 36/38] drivers: " Stephen Hemminger
2026-11-30 21:49 ` [PATCH v2 37/38] efd: mark configuration dependent vector selection Stephen Hemminger
2026-11-30 21:49 ` [PATCH v2 38/38] config: enable unreachable code detection Stephen Hemminger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261129205006.1440292-13-stephen@networkplumber.org \
--to=stephen@networkplumber.org \
--cc=dev@dpdk.org \
--cc=hemant.agrawal@nxp.com \
--cc=sachin.saxena@nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox