]> git.droids-corp.org - dpdk.git/commitdiff
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 82c82417a68478530fb92dbd1d3199e085d15d28..becbf842a505707907e26328e0d2adbe96197e6e 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 c779d5d837a21606796a047577a29e64e6de79a2..675cbbb81dce11398c4f6a84cbf3774a9d3afbbb 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 5952d645fdd9b1823c47039a67abf3edc6d53fa3..3d863aff4d7791ecb6ad1d445cf00a96615ac6f8 100644 (file)
@@ -1,8 +1,10 @@
 DPDK_20.0 {
+       local: *;
+};
+
+INTERNAL {
        global:
 
        dpaa2_sec_eventq_attach;
        dpaa2_sec_eventq_detach;
-
-       local: *;
 };
index 8d1a018096b7b87f2100f597eb5e919e48c8681a..0b09fa8f75027ee8038cdc8220465e435e673907 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 8580fa13db1030400ab5d68dd58291118df131db..023e1205163f1ddc62f5eb37da064820c21877f5 100644 (file)
@@ -1,8 +1,10 @@
 DPDK_20.0 {
+       local: *;
+};
+
+INTERNAL {
        global:
 
        dpaa_sec_eventq_attach;
        dpaa_sec_eventq_detach;
-
-       local: *;
 };
index af9fc2105d23daa5b67e9341916d36ffa5e8e145..7393a9df0518d8f013c6c70b94c6836f2d9fe4fc 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 f403a1526d81c13392e19f3ae5a473b68e265751..774aa0de459f47579fd170b3a99fdeca00eeea8d 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 2c49a7f01f98065db843c0730527a9a50ab375e7..c7fb6539ff5bfde8ddf48641fc1a0621c154505e 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 f2bb793319f66289f4afb0ee4d6611b39d53b8ce..b633fdc2a8722f8d4b622d1d4582ca401a300f88 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;
+};