mempool/octeontx2: mark internal symbols
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Wed, 13 May 2020 09:55:57 +0000 (15:25 +0530)
committerDavid Marchand <david.marchand@redhat.com>
Mon, 18 May 2020 15:29:24 +0000 (17:29 +0200)
Move the internal symbols to INTERNAL sections so that any
change in them is not reported as ABI breakage.

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Acked-by: Ray Kinsella <mdr@ashroe.eu>
Signed-off-by: David Marchand <david.marchand@redhat.com>
devtools/libabigail.abignore
drivers/mempool/octeontx2/otx2_mempool.h
drivers/mempool/octeontx2/rte_mempool_octeontx2_version.map

index 1c90361..e2ca73d 100644 (file)
@@ -52,3 +52,5 @@
 ; Ignore moving OCTEONTX2 stable functions to INTERNAL tag
 [suppress_file]
        file_name_regexp = ^librte_common_octeontx2\.
+[suppress_file]
+       file_name_regexp = ^librte_mempool_octeontx2\.
index adcc0db..8aa5482 100644 (file)
@@ -206,7 +206,9 @@ npa_lf_aura_op_range_set(uint64_t aura_handle, uint64_t start_iova,
 }
 
 /* NPA LF */
+__rte_internal
 int otx2_npa_lf_init(struct rte_pci_device *pci_dev, void *otx2_dev);
+__rte_internal
 int otx2_npa_lf_fini(void);
 
 /* IRQ */
index d4f81ae..8691efd 100644 (file)
@@ -1,8 +1,10 @@
 DPDK_20.0 {
+       local: *;
+};
+
+INTERNAL {
        global:
 
        otx2_npa_lf_fini;
        otx2_npa_lf_init;
-
-       local: *;
 };