From 44f45300cb9fe945cd5b2499387b21a7332a46c3 Mon Sep 17 00:00:00 2001 From: Bruce Richardson Date: Fri, 4 Oct 2019 18:19:12 +0100 Subject: [PATCH] baseband/fpga_lte_fec: add public API to map file 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 --- drivers/baseband/fpga_lte_fec/fpga_lte_fec.h | 1 + .../fpga_lte_fec/rte_pmd_bbdev_fpga_lte_fec_version.map | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/drivers/baseband/fpga_lte_fec/fpga_lte_fec.h b/drivers/baseband/fpga_lte_fec/fpga_lte_fec.h index 9ae8b1226f..b2e423c87c 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 e923270751..f64b0f9c27 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,10 @@ DPDK_19.08 { local: *; }; + +EXPERIMENTAL { + global: + + fpga_lte_fec_configure; + +}; -- 2.20.1