From: Bruce Richardson Date: Fri, 4 Oct 2019 17:19:12 +0000 (+0100) Subject: baseband/fpga_lte_fec: add public API to map file X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=44f45300cb9fe945cd5b2499387b21a7332a46c3;p=dpdk.git 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 --- 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; + +};