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 <[email protected]>
---
 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

Reply via email to