summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Richardson <bruce.richardson@intel.com>2019-10-04 18:19:12 +0100
committerAkhil Goyal <akhil.goyal@nxp.com>2019-10-09 11:50:12 +0200
commit44f45300cb9fe945cd5b2499387b21a7332a46c3 (patch)
treeb88bf36060eee4fafe286b9c0f9a645ec1be3bb2
parentfd05e9626682cd7d071d56b087f1a88ec48d1a14 (diff)
downloaddpdk-44f45300cb9fe945cd5b2499387b21a7332a46c3.zip
dpdk-44f45300cb9fe945cd5b2499387b21a7332a46c3.tar.gz
dpdk-44f45300cb9fe945cd5b2499387b21a7332a46c3.tar.xz
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 <bruce.richardson@intel.com>
-rw-r--r--drivers/baseband/fpga_lte_fec/fpga_lte_fec.h1
-rw-r--r--drivers/baseband/fpga_lte_fec/rte_pmd_bbdev_fpga_lte_fec_version.map7
2 files changed, 8 insertions, 0 deletions
diff --git a/drivers/baseband/fpga_lte_fec/fpga_lte_fec.h b/drivers/baseband/fpga_lte_fec/fpga_lte_fec.h
index 9ae8b12..b2e423c 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 e923270..f64b0f9 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;
+
+};