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 13/45] bus/dpaa: do not export internal symbols used only in the bus
Date: Sun, 29 Nov 2026 12:48:58 -0800 [thread overview]
Message-ID: <20261129205006.1440292-14-stephen@networkplumber.org> (raw)
In-Reply-To: <20261129205006.1440292-1-stephen@networkplumber.org>
These QMan and BMan helpers are only used inside the dpaa bus driver.
The dpaa net, crypto and event drivers use the frame queue and buffer
pool 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/dpaa/dpaa_bus_base_symbols.c | 13 -------------
drivers/bus/dpaa/include/fsl_bman.h | 1 -
drivers/bus/dpaa/include/fsl_fman.h | 2 --
drivers/bus/dpaa/include/fsl_qman.h | 6 ------
drivers/bus/dpaa/include/fsl_usd.h | 2 --
drivers/bus/dpaa/include/netcfg.h | 2 --
6 files changed, 26 deletions(-)
diff --git a/drivers/bus/dpaa/dpaa_bus_base_symbols.c b/drivers/bus/dpaa/dpaa_bus_base_symbols.c
index 5fe7b72ebc..d197c94e18 100644
--- a/drivers/bus/dpaa/dpaa_bus_base_symbols.c
+++ b/drivers/bus/dpaa/dpaa_bus_base_symbols.c
@@ -28,7 +28,6 @@ RTE_EXPORT_INTERNAL_SYMBOL(fman_if_get_fc_threshold)
RTE_EXPORT_INTERNAL_SYMBOL(fman_if_set_fc_threshold)
RTE_EXPORT_INTERNAL_SYMBOL(fman_if_get_fc_quanta)
RTE_EXPORT_INTERNAL_SYMBOL(fman_if_set_fc_quanta)
-RTE_EXPORT_INTERNAL_SYMBOL(fman_if_get_fdoff)
RTE_EXPORT_INTERNAL_SYMBOL(fman_if_set_err_fqid)
RTE_EXPORT_INTERNAL_SYMBOL(fman_if_set_ic_params)
RTE_EXPORT_INTERNAL_SYMBOL(fman_if_set_fdoff)
@@ -36,28 +35,21 @@ RTE_EXPORT_INTERNAL_SYMBOL(fman_if_set_maxfrm)
RTE_EXPORT_INTERNAL_SYMBOL(fman_if_get_maxfrm)
RTE_EXPORT_INTERNAL_SYMBOL(fman_if_get_sg_enable)
RTE_EXPORT_INTERNAL_SYMBOL(fman_if_set_sg)
-RTE_EXPORT_INTERNAL_SYMBOL(fman_if_discard_rx_errors)
RTE_EXPORT_INTERNAL_SYMBOL(fman_if_receive_rx_errors)
-RTE_EXPORT_INTERNAL_SYMBOL(netcfg_acquire)
-RTE_EXPORT_INTERNAL_SYMBOL(netcfg_release)
RTE_EXPORT_INTERNAL_SYMBOL(bman_new_pool)
RTE_EXPORT_INTERNAL_SYMBOL(bman_free_bpid)
RTE_EXPORT_INTERNAL_SYMBOL(bman_free_pool)
RTE_EXPORT_INTERNAL_SYMBOL(bman_get_params)
-RTE_EXPORT_INTERNAL_SYMBOL(bman_release)
RTE_EXPORT_INTERNAL_SYMBOL(bman_acquire)
RTE_EXPORT_INTERNAL_SYMBOL(bman_query_free_buffers)
-RTE_EXPORT_INTERNAL_SYMBOL(bman_thread_irq)
RTE_EXPORT_INTERNAL_SYMBOL(qman_alloc_fqid_range)
RTE_EXPORT_INTERNAL_SYMBOL(qman_reserve_fqid_range)
RTE_EXPORT_INTERNAL_SYMBOL(qman_alloc_pool_range)
RTE_EXPORT_INTERNAL_SYMBOL(qman_alloc_cgrid_range)
-RTE_EXPORT_INTERNAL_SYMBOL(qman_release_cgrid_range)
RTE_EXPORT_INTERNAL_SYMBOL(dpaa_intr_enable)
RTE_EXPORT_INTERNAL_SYMBOL(dpaa_intr_disable)
RTE_EXPORT_INTERNAL_SYMBOL(dpaa_get_ioctl_version_number)
RTE_EXPORT_INTERNAL_SYMBOL(dpaa_get_link_status)
-RTE_EXPORT_INTERNAL_SYMBOL(dpaa_get_qm_channel_pool_num)
RTE_EXPORT_INTERNAL_SYMBOL(dpaa_update_link_status)
RTE_EXPORT_INTERNAL_SYMBOL(dpaa_update_link_speed)
RTE_EXPORT_INTERNAL_SYMBOL(dpaa_restart_link_autoneg)
@@ -69,7 +61,6 @@ RTE_EXPORT_INTERNAL_SYMBOL(qman_fq_portal_irqsource_add)
RTE_EXPORT_INTERNAL_SYMBOL(qman_irqsource_remove)
RTE_EXPORT_INTERNAL_SYMBOL(qman_fq_portal_irqsource_remove)
RTE_EXPORT_INTERNAL_SYMBOL(qman_portal_poll_rx)
-RTE_EXPORT_INTERNAL_SYMBOL(qman_clear_irq)
RTE_EXPORT_INTERNAL_SYMBOL(qman_portal_dequeue)
RTE_EXPORT_INTERNAL_SYMBOL(qman_dequeue)
RTE_EXPORT_INTERNAL_SYMBOL(qman_dqrr_consume)
@@ -77,15 +68,11 @@ RTE_EXPORT_INTERNAL_SYMBOL(qman_static_dequeue_add)
RTE_EXPORT_INTERNAL_SYMBOL(qman_dca_index)
RTE_EXPORT_INTERNAL_SYMBOL(qman_create_fq)
RTE_EXPORT_INTERNAL_SYMBOL(qman_fq_fqid)
-RTE_EXPORT_INTERNAL_SYMBOL(qman_fq_state)
RTE_EXPORT_INTERNAL_SYMBOL(qman_init_fq)
RTE_EXPORT_INTERNAL_SYMBOL(qman_retire_fq)
RTE_EXPORT_INTERNAL_SYMBOL(qman_oos_fq)
-RTE_EXPORT_INTERNAL_SYMBOL(qman_query_fq_np)
RTE_EXPORT_INTERNAL_SYMBOL(qman_query_fq_frm_cnt)
RTE_EXPORT_INTERNAL_SYMBOL(qman_set_vdq)
-RTE_EXPORT_INTERNAL_SYMBOL(qman_volatile_dequeue)
-RTE_EXPORT_INTERNAL_SYMBOL(qman_enqueue)
RTE_EXPORT_INTERNAL_SYMBOL(qman_enqueue_multi)
RTE_EXPORT_INTERNAL_SYMBOL(qman_enqueue_multi_fq)
RTE_EXPORT_INTERNAL_SYMBOL(qman_modify_cgr)
diff --git a/drivers/bus/dpaa/include/fsl_bman.h b/drivers/bus/dpaa/include/fsl_bman.h
index fcf2f25257..8d4ef4a245 100644
--- a/drivers/bus/dpaa/include/fsl_bman.h
+++ b/drivers/bus/dpaa/include/fsl_bman.h
@@ -345,7 +345,6 @@ const struct bman_pool_params *bman_get_params(const struct bman_pool *pool);
* @flags: bit-mask of BMAN_RELEASE_FLAG_*** options
*
*/
-__rte_internal
int bman_release(struct bman_pool *pool, const struct bm_buffer *bufs, u8 num,
u32 flags);
__rte_internal
diff --git a/drivers/bus/dpaa/include/fsl_fman.h b/drivers/bus/dpaa/include/fsl_fman.h
index 0af2fb259e..a4f6eb59fc 100644
--- a/drivers/bus/dpaa/include/fsl_fman.h
+++ b/drivers/bus/dpaa/include/fsl_fman.h
@@ -133,7 +133,6 @@ int fman_if_set_ic_params(struct fman_if *fm_if,
const struct fman_if_ic_params *icp);
/* Get interface fd->offset value */
-__rte_internal
int fman_if_get_fdoff(struct fman_if *fm_if);
/* Set interface fd->offset value */
@@ -160,7 +159,6 @@ void fman_if_set_maxfrm(struct fman_if *fm_if, uint16_t max_frm);
void fman_if_set_dnia(struct fman_if *fm_if, uint32_t nia);
/* discard error packets on rx */
-__rte_internal
void fman_if_discard_rx_errors(struct fman_if *fm_if);
__rte_internal
diff --git a/drivers/bus/dpaa/include/fsl_qman.h b/drivers/bus/dpaa/include/fsl_qman.h
index 59b41e17f0..12af1d8029 100644
--- a/drivers/bus/dpaa/include/fsl_qman.h
+++ b/drivers/bus/dpaa/include/fsl_qman.h
@@ -48,7 +48,6 @@ u16 dpaa_get_qm_channel_caam(void);
__rte_internal
u16 dpaa_get_qm_channel_pool(void);
-__rte_internal
u16 dpaa_get_qm_channel_pool_num(void);
/* Portal processing (interrupt) sources */
@@ -1604,7 +1603,6 @@ u32 qman_fq_fqid(struct qman_fq *fq);
* This captures the state, as seen by the driver, at the time the function
* executes.
*/
-__rte_internal
void qman_fq_state(struct qman_fq *fq, enum qman_fq_state *state, u32 *flags);
/**
@@ -1715,7 +1713,6 @@ int qman_query_fq_has_pkts(struct qman_fq *fq);
* @fq: the frame queue object to be queried
* @np: storage for the queried FQD fields
*/
-__rte_internal
int qman_query_fq_np(struct qman_fq *fq, struct qm_mcr_queryfq_np *np);
/**
@@ -1754,7 +1751,6 @@ int qman_query_wq(u8 query_dedicated, struct qm_mcr_querywq *wq);
* callback, or by waiting for the QMAN_FQ_STATE_VDQCR bit to disappear from the
* "flags" retrieved from qman_fq_state().
*/
-__rte_internal
int qman_volatile_dequeue(struct qman_fq *fq, u32 flags, u32 vdqcr);
/**
@@ -1790,7 +1786,6 @@ int qman_volatile_dequeue(struct qman_fq *fq, u32 flags, u32 vdqcr);
* of an already busy hardware resource by throttling many of the to-be-dropped
* enqueues "at the source".
*/
-__rte_internal
int qman_enqueue(struct qman_fq *fq, const struct qm_fd *fd, u32 flags);
__rte_internal
@@ -2071,7 +2066,6 @@ static inline int qman_alloc_cgrid(u32 *result)
* @id: the base CGR ID of the range to deallocate
* @count: the number of CGR IDs in the range
*/
-__rte_internal
void qman_release_cgrid_range(u32 id, unsigned int count);
static inline void qman_release_cgrid(u32 id)
{
diff --git a/drivers/bus/dpaa/include/fsl_usd.h b/drivers/bus/dpaa/include/fsl_usd.h
index 183ddac8aa..d4e2ea139d 100644
--- a/drivers/bus/dpaa/include/fsl_usd.h
+++ b/drivers/bus/dpaa/include/fsl_usd.h
@@ -72,11 +72,9 @@ int bman_thread_fd(void);
__rte_internal
void qman_thread_irq(void);
-__rte_internal
void bman_thread_irq(void);
__rte_internal
void qman_fq_portal_thread_irq(struct qman_portal *qp);
-__rte_internal
void qman_clear_irq(void);
/* Global setup */
diff --git a/drivers/bus/dpaa/include/netcfg.h b/drivers/bus/dpaa/include/netcfg.h
index a7d4f54b17..842ce95d92 100644
--- a/drivers/bus/dpaa/include/netcfg.h
+++ b/drivers/bus/dpaa/include/netcfg.h
@@ -33,13 +33,11 @@ struct netcfg_info {
* cfg_file: FMC config XML file
* Returns the configuration information in newly allocated memory.
*/
-__rte_internal
struct netcfg_info *netcfg_acquire(void);
/* cfg_ptr: configuration information pointer.
* Frees the resources allocated by the configuration layer.
*/
-__rte_internal
void netcfg_release(struct netcfg_info *cfg_ptr);
#ifdef RTE_LIBRTE_DPAA_DEBUG_DRIVER
--
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 ` [PATCH 12/45] bus/fslmc: do not export internal symbols used only in the bus Stephen Hemminger
2026-11-29 20:48 ` Stephen Hemminger [this message]
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-14-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