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 10332606A31C for ; Sun, 29 Nov 2026 20:51:53 +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=b7Sq43mJ Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 240E640B9D; Sun, 29 Nov 2026 21:50:31 +0100 (CET) Received: from mail-pg1-f177.google.com (mail-pg1-f177.google.com [209.85.215.177]) by mails.dpdk.org (Postfix) with ESMTPS id E2AD740B9A for ; Sun, 29 Nov 2026 21:50:29 +0100 (CET) Received: by mail-pg1-f177.google.com with SMTP id 41be03b00d2f7-cde1479f76fso5107693a12.0 for ; Sun, 29 Nov 2026 12:50:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20260707.gappssmtp.com; s=20260707; t=1795985428; x=1796590228; 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=YQcsSHjFWW+v6VRpH2XpacWD9NF7ld+/ULsCwBq/zWQ=; b=b7Sq43mJsK/9MAhtTuTkO7135I4UNI/GJacgqR9M/c1FFgqaONs2SUUHTrs16CIjZL dZ6udJckvjYgFs0EEzfLtGgwWS4gqFoUJzLwy9j6Lx28vL9YwbXGG/4PaolY6O6SBAtV B+xU/xSl1qFuuaNHJOjKRd/JCftG0Tz4f2WR3EVB9njU9FKAlTSr3Vc3Mve2ckNdoffJ nLKpKMfrd5L4mmFPDjWltxWvicKAeuB9YH5s2pJ9nnUjjbZqnH+YJMiKrbAoaTlXENx3 vASxdR+xeb4V+ZTZB13kpZ9jlY+EC5Si+nMXkqKqRNQ1czwZteRu9hyntxWNUbKFPyus nBGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795985428; x=1796590228; 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=YQcsSHjFWW+v6VRpH2XpacWD9NF7ld+/ULsCwBq/zWQ=; b=RbWc6RrgNnvhQhEdIiIZ9pnbRyG25oh+NrpZh4XdzkKY+YArsuomKX+KxLWI+aTa0j UzHJz6Y0pXclR6SQ8v953rkKkA2lOxG/4cGd2ECYzpaioMUYdIcpWlzk002JePx2PyQw tzefJB8V+8p/ZfvLGfCk2h2t7bbAZm86tzXLls+LiDlwWcFeWq44hvVlWLDtSjUZ2e56 h/KhbspoewNNKUQSxpuDBqOpFhomk1+OYLLV7nKa4qrIEZi3jUsssaG4e1sRs1HvTItQ 7qaIuPYHL0/imMcb8O6diRymSscHsvBGmyiRGOnw2uDirT+nsORMR0Gd9FzPF6ZAkug/ MNiQ== X-Gm-Message-State: APuU4Z9CzANyKMHzuGypPSwBPKXl/wKEOnGWHOMT03BaDclAYxlYtxk/ oWzAMhOntxJiHh8bNp/QeCJnJ2UvHgLNn5qTBMyRKYv4BYdoXoHt0Tzl/DJgw3LG4tXX0FJHtiu GaOTu X-Gm-Gg: AZFdTZf2xtVNscP3ONZAZh8Cx0w+gwOGAAm7Y8XPWFs0xvN5rutvE6GrYVRUSHUz+Kg yhN2DBLBdl//LxCkvInzWeL/mY0DPpaQ7mzisw8UYtazqbgpHptoJQ38at0z5e70bdLJxGFi1ft nBGO8+LWpUMojVeIqvIrdtnOhNHCQY/7zWLJfpYnn+xgvr7ubXd5TOWKYMzSVIz3xEuTuZkyX3n NkV/MTBDowiIXQNIV0NDR6Smu6W77pk0VwkcpAQ3zTJWTTxHcYYn3gjYjGikrhHU/7xkRQOYBCt hKQdVqkYV+8/ZubhpC/Cxfuxp7keEHSSpADUAKoFB9SuG3i2VIrFbdftDjE2QfbEbvbsPXwxRyo t9gyT45yl6eiaYHuH2nZP6WR+KP+wdO1RY8BE/kURASrYlRmMYT3rG80Cv5vgzHcjpBdciLGOax OkCu/bI7r2QnTNlbFEu4MmVj4yKwBnxgmIxXNF/pHFvgjxEOCdzal2/Csd6NN0jiZ3/xpYYGzxb h6khFp+LkjTwcMC/IVwZ+cw/FbYPjxRdDa8lhXwAzaerd+hUwsrdfnCkaCqZXPUM7Jaus5KDaCR kbhRTdTsm5KOwf6B2fIdYk8+Fj2AXWMEANSgFC0kAv9DzY+YDUnwa1KiWwC7qLQ+EaRP X-Received: by 2002:a17:90a:d607:b0:3a4:ad5c:d48a with SMTP id 98e67ed59e1d1-3b41c97c8acmr32466526a91.67.1795985428328; Sun, 29 Nov 2026 12:50:28 -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.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Nov 2026 12:50:28 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Hemant Agrawal , Sachin Saxena 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 Message-ID: <20261129205006.1440292-14-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 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 --- 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