[4/5] baseband/fpga_lte_fec: add public API to map file

Message ID 20191004171913.59574-5-bruce.richardson@intel.com (mailing list archive)
State Accepted, archived
Delegated to: akhil goyal
Headers
Series some bbdev cleanups |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Bruce Richardson Oct. 4, 2019, 5:19 p.m. UTC
  To allow shared library builds of e.g. test-bbdev app, we need to export
the configure function. Since this needs to be exported as experimental by
default, we update the header file to add the experimental tag there too.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
 drivers/baseband/fpga_lte_fec/fpga_lte_fec.h                  | 1 +
 .../fpga_lte_fec/rte_pmd_bbdev_fpga_lte_fec_version.map       | 4 ++++
 2 files changed, 5 insertions(+)
  

Patch

diff --git a/drivers/baseband/fpga_lte_fec/fpga_lte_fec.h b/drivers/baseband/fpga_lte_fec/fpga_lte_fec.h
index 9ae8b1226..b2e423c87 100644
--- a/drivers/baseband/fpga_lte_fec/fpga_lte_fec.h
+++ b/drivers/baseband/fpga_lte_fec/fpga_lte_fec.h
@@ -62,6 +62,7 @@  struct fpga_lte_fec_conf {
  * @return
  *   Zero on success, negative value on failure.
  */
+__rte_experimental
 int
 fpga_lte_fec_configure(const char *dev_name,
 		const struct fpga_lte_fec_conf *conf);
diff --git a/drivers/baseband/fpga_lte_fec/rte_pmd_bbdev_fpga_lte_fec_version.map b/drivers/baseband/fpga_lte_fec/rte_pmd_bbdev_fpga_lte_fec_version.map
index e92327075..7e26c8553 100644
--- a/drivers/baseband/fpga_lte_fec/rte_pmd_bbdev_fpga_lte_fec_version.map
+++ b/drivers/baseband/fpga_lte_fec/rte_pmd_bbdev_fpga_lte_fec_version.map
@@ -1,3 +1,7 @@ 
 DPDK_19.08 {
     local: *;
 };
+EXPERIMENTAL {
+    global:
+    fpga_lte_fec_configure;
+};