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.richard...@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(+) 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; +}; -- 2.21.0