From 03a4e635cf76754ecc7de9e660c8c437b4eb3316 Mon Sep 17 00:00:00 2001 From: Pavan Nikhilesh Date: Wed, 13 May 2020 15:25:57 +0530 Subject: [PATCH] mempool/octeontx2: mark internal symbols Move the internal symbols to INTERNAL sections so that any change in them is not reported as ABI breakage. Signed-off-by: Pavan Nikhilesh Acked-by: Ray Kinsella Signed-off-by: David Marchand --- devtools/libabigail.abignore | 2 ++ drivers/mempool/octeontx2/otx2_mempool.h | 2 ++ drivers/mempool/octeontx2/rte_mempool_octeontx2_version.map | 6 ++++-- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/devtools/libabigail.abignore b/devtools/libabigail.abignore index 1c90361e5b..e2ca73db2d 100644 --- a/devtools/libabigail.abignore +++ b/devtools/libabigail.abignore @@ -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\. diff --git a/drivers/mempool/octeontx2/otx2_mempool.h b/drivers/mempool/octeontx2/otx2_mempool.h index adcc0db245..8aa548248d 100644 --- a/drivers/mempool/octeontx2/otx2_mempool.h +++ b/drivers/mempool/octeontx2/otx2_mempool.h @@ -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 */ diff --git a/drivers/mempool/octeontx2/rte_mempool_octeontx2_version.map b/drivers/mempool/octeontx2/rte_mempool_octeontx2_version.map index d4f81aed8e..8691efdfd8 100644 --- a/drivers/mempool/octeontx2/rte_mempool_octeontx2_version.map +++ b/drivers/mempool/octeontx2/rte_mempool_octeontx2_version.map @@ -1,8 +1,10 @@ DPDK_20.0 { + local: *; +}; + +INTERNAL { global: otx2_npa_lf_fini; otx2_npa_lf_init; - - local: *; }; -- 2.20.1