]> git.droids-corp.org - dpdk.git/commitdiff
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 ec6a5ddb40ac50c29f7a2f61799ad1ecc0586594..82c82417a68478530fb92dbd1d3199e085d15d28 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 9eebaf7ffd4db647462f2436238143e42397188d..89d7cf49578a720614fb4192aad490e58990e3e1 100644 (file)
@@ -1,8 +1,10 @@
 DPDK_20.0 {
+       local: *;
+};
+
+INTERNAL {
        global:
 
        rte_dpaa_bpid_info;
        rte_dpaa_memsegs;
-
-       local: *;
 };
index fa0f2280d538960b00d5bd27a329f8d7010f84e8..53fa1552d158bc86f780e5c95b08d9a1e0a1d28c 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 cd4bc882730a99a187a2738efbab46af7c88205f..686b024624546ff99af951105f614b210d7f302a 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;
+};