[dpdk-dev] [PATCH 3/5] drivers/baseband: remove override of driver names
Bruce Richardson
bruce.richardson at intel.com
Fri Oct 4 19:19:11 CEST 2019
Now that all driver names follow a consistent pattern, remove the override
of the name in each driver which adds the prefix. Instead we can just add
the prefix at a higher level.
Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
---
drivers/baseband/fpga_lte_fec/meson.build | 1 -
drivers/baseband/meson.build | 4 ++--
drivers/baseband/null/meson.build | 1 -
drivers/baseband/turbo_sw/meson.build | 1 -
4 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers/baseband/fpga_lte_fec/meson.build b/drivers/baseband/fpga_lte_fec/meson.build
index bf44e6bba..c4d3a489a 100644
--- a/drivers/baseband/fpga_lte_fec/meson.build
+++ b/drivers/baseband/fpga_lte_fec/meson.build
@@ -2,6 +2,5 @@
# Copyright(c) 2019 Intel Corporation
deps += ['bbdev', 'bus_vdev', 'ring', 'pci', 'bus_pci']
-name = 'bbdev_fpga_lte_fec'
allow_experimental_apis = true
sources = files('fpga_lte_fec.c')
diff --git a/drivers/baseband/meson.build b/drivers/baseband/meson.build
index 03604400e..be7677f87 100644
--- a/drivers/baseband/meson.build
+++ b/drivers/baseband/meson.build
@@ -3,5 +3,5 @@
drivers = ['null', 'turbo_sw', 'fpga_lte_fec']
-config_flag_fmt = 'RTE_LIBRTE_PMD_ at 0@'
-driver_name_fmt = 'rte_pmd_ at 0@'
+config_flag_fmt = 'RTE_LIBRTE_PMD_BBDEV_ at 0@'
+driver_name_fmt = 'rte_pmd_bbdev_ at 0@'
diff --git a/drivers/baseband/null/meson.build b/drivers/baseband/null/meson.build
index 64c29d860..e491c7da4 100644
--- a/drivers/baseband/null/meson.build
+++ b/drivers/baseband/null/meson.build
@@ -2,6 +2,5 @@
# Copyright(c) 2018 Luca Boccassi <bluca at debian.org>
deps += ['bbdev', 'bus_vdev', 'ring']
-name = 'bbdev_null'
allow_experimental_apis = true
sources = files('bbdev_null.c')
diff --git a/drivers/baseband/turbo_sw/meson.build b/drivers/baseband/turbo_sw/meson.build
index 1a1f7c9a9..21c3cf819 100644
--- a/drivers/baseband/turbo_sw/meson.build
+++ b/drivers/baseband/turbo_sw/meson.build
@@ -36,6 +36,5 @@ if dpdk_conf.has('RTE_BBDEV_SDK_AVX512')
endif
deps += ['bbdev', 'bus_vdev', 'ring']
-name = 'bbdev_turbo_sw'
allow_experimental_apis = true
sources = files('bbdev_turbo_software.c')
--
2.21.0
More information about the dev
mailing list