drivers: mark internal NXP symbols
authorHemant Agrawal <hemant.agrawal@nxp.com>
Fri, 15 May 2020 09:47:44 +0000 (15:17 +0530)
committerDavid Marchand <david.marchand@redhat.com>
Tue, 19 May 2020 13:49:53 +0000 (15:49 +0200)
This patch moves the internal symbols to INTERNAL sections
so that any change in them is not reported as ABI breakage.

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Acked-by: Ray Kinsella <mdr@ashroe.eu>
devtools/libabigail.abignore
drivers/crypto/dpaa2_sec/dpaa2_sec_event.h
drivers/crypto/dpaa2_sec/rte_pmd_dpaa2_sec_version.map
drivers/crypto/dpaa_sec/dpaa_sec_event.h
drivers/crypto/dpaa_sec/rte_pmd_dpaa_sec_version.map
drivers/net/dpaa/dpaa_ethdev.h
drivers/net/dpaa/rte_pmd_dpaa_version.map
drivers/net/dpaa2/dpaa2_ethdev.h
drivers/net/dpaa2/rte_pmd_dpaa2_version.map

index 82c8241..becbf84 100644 (file)
@@ -75,3 +75,5 @@
         name = rte_dpaa2_bpid_info
 [suppress_function]
         name = rte_dpaa2_mbuf_alloc_bulk
+[suppress_function]
+        name_regexp = ^dpaa2?_.*tach$
index c779d5d..675cbbb 100644 (file)
@@ -6,12 +6,13 @@
 #ifndef _DPAA2_SEC_EVENT_H_
 #define _DPAA2_SEC_EVENT_H_
 
-int
-dpaa2_sec_eventq_attach(const struct rte_cryptodev *dev,
+__rte_internal
+int dpaa2_sec_eventq_attach(const struct rte_cryptodev *dev,
                int qp_id,
                struct dpaa2_dpcon_dev *dpcon,
                const struct rte_event *event);
 
+__rte_internal
 int dpaa2_sec_eventq_detach(const struct rte_cryptodev *dev,
                int qp_id);
 
index 5952d64..3d863af 100644 (file)
@@ -1,8 +1,10 @@
 DPDK_20.0 {
+       local: *;
+};
+
+INTERNAL {
        global:
 
        dpaa2_sec_eventq_attach;
        dpaa2_sec_eventq_detach;
-
-       local: *;
 };
index 8d1a018..0b09fa8 100644 (file)
@@ -6,14 +6,14 @@
 #ifndef _DPAA_SEC_EVENT_H_
 #define _DPAA_SEC_EVENT_H_
 
-int
-dpaa_sec_eventq_attach(const struct rte_cryptodev *dev,
+__rte_internal
+int dpaa_sec_eventq_attach(const struct rte_cryptodev *dev,
                int qp_id,
                uint16_t ch_id,
                const struct rte_event *event);
 
-int
-dpaa_sec_eventq_detach(const struct rte_cryptodev *dev,
+__rte_internal
+int dpaa_sec_eventq_detach(const struct rte_cryptodev *dev,
                int qp_id);
 
 #endif /* _DPAA_SEC_EVENT_H_ */
index 8580fa1..023e120 100644 (file)
@@ -1,8 +1,10 @@
 DPDK_20.0 {
+       local: *;
+};
+
+INTERNAL {
        global:
 
        dpaa_sec_eventq_attach;
        dpaa_sec_eventq_detach;
-
-       local: *;
 };
index af9fc21..7393a9d 100644 (file)
@@ -160,12 +160,14 @@ struct dpaa_if_stats {
        uint64_t tund;          /**<Tx Undersized */
 };
 
+__rte_internal
 int
 dpaa_eth_eventq_attach(const struct rte_eth_dev *dev,
                int eth_rx_queue_id,
                u16 ch_id,
                const struct rte_event_eth_rx_adapter_queue_conf *queue_conf);
 
+__rte_internal
 int
 dpaa_eth_eventq_detach(const struct rte_eth_dev *dev,
                           int eth_rx_queue_id);
index f403a15..774aa0d 100644 (file)
@@ -1,9 +1,14 @@
 DPDK_20.0 {
        global:
 
-       dpaa_eth_eventq_attach;
-       dpaa_eth_eventq_detach;
        rte_pmd_dpaa_set_tx_loopback;
 
        local: *;
 };
+
+INTERNAL {
+       global:
+
+       dpaa_eth_eventq_attach;
+       dpaa_eth_eventq_detach;
+};
index 2c49a7f..c7fb653 100644 (file)
@@ -164,11 +164,13 @@ int dpaa2_remove_flow_dist(struct rte_eth_dev *eth_dev,
 
 int dpaa2_attach_bp_list(struct dpaa2_dev_priv *priv, void *blist);
 
+__rte_internal
 int dpaa2_eth_eventq_attach(const struct rte_eth_dev *dev,
                int eth_rx_queue_id,
                struct dpaa2_dpcon_dev *dpcon,
                const struct rte_event_eth_rx_adapter_queue_conf *queue_conf);
 
+__rte_internal
 int dpaa2_eth_eventq_detach(const struct rte_eth_dev *dev,
                int eth_rx_queue_id);
 
index f2bb793..b633fdc 100644 (file)
@@ -1,9 +1,4 @@
 DPDK_20.0 {
-       global:
-
-       dpaa2_eth_eventq_attach;
-       dpaa2_eth_eventq_detach;
-
        local: *;
 };
 
@@ -14,3 +9,10 @@ EXPERIMENTAL {
        rte_pmd_dpaa2_set_custom_hash;
        rte_pmd_dpaa2_set_timestamp;
 };
+
+INTERNAL {
+       global:
+
+       dpaa2_eth_eventq_attach;
+       dpaa2_eth_eventq_detach;
+};