drivers/mempool: mark internal NXP symbols
authorHemant Agrawal <hemant.agrawal@nxp.com>
Fri, 15 May 2020 09:47:43 +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/mempool/dpaa/rte_mempool_dpaa_version.map
drivers/mempool/dpaa2/dpaa2_hw_mempool.h
drivers/mempool/dpaa2/rte_mempool_dpaa2_version.map

index ec6a5dd..82c8241 100644 (file)
         file_name_regexp = ^librte_bus_fslmc\.
 [suppress_file]
         file_name_regexp = ^librte_bus_dpaa\.
+[suppress_variable]
+        name = rte_dpaa_bpid_info
+[suppress_variable]
+        name = rte_dpaa_memsegs
+[suppress_variable]
+        name = rte_dpaa2_bpid_info
+[suppress_function]
+        name = rte_dpaa2_mbuf_alloc_bulk
index 9eebaf7..89d7cf4 100644 (file)
@@ -1,8 +1,10 @@
 DPDK_20.0 {
+       local: *;
+};
+
+INTERNAL {
        global:
 
        rte_dpaa_bpid_info;
        rte_dpaa_memsegs;
-
-       local: *;
 };
index fa0f228..53fa155 100644 (file)
@@ -61,6 +61,7 @@ struct dpaa2_bp_info {
 
 extern struct dpaa2_bp_info *rte_dpaa2_bpid_info;
 
+__rte_internal
 int rte_dpaa2_mbuf_alloc_bulk(struct rte_mempool *pool,
                       void **obj_table, unsigned int count);
 
index cd4bc88..686b024 100644 (file)
@@ -1,10 +1,15 @@
 DPDK_20.0 {
        global:
 
-       rte_dpaa2_bpid_info;
-       rte_dpaa2_mbuf_alloc_bulk;
        rte_dpaa2_mbuf_from_buf_addr;
        rte_dpaa2_mbuf_pool_bpid;
 
        local: *;
 };
+
+INTERNAL {
+       global:
+
+       rte_dpaa2_bpid_info;
+       rte_dpaa2_mbuf_alloc_bulk;
+};