From fd05e9626682cd7d071d56b087f1a88ec48d1a14 Mon Sep 17 00:00:00 2001 From: Bruce Richardson Date: Fri, 4 Oct 2019 18:19:11 +0100 Subject: [PATCH] drivers/baseband: remove override of driver names 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 --- 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 bf44e6bbab..c4d3a489a9 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 03604400e6..be7677f874 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_@0@' -driver_name_fmt = 'rte_pmd_@0@' +config_flag_fmt = 'RTE_LIBRTE_PMD_BBDEV_@0@' +driver_name_fmt = 'rte_pmd_bbdev_@0@' diff --git a/drivers/baseband/null/meson.build b/drivers/baseband/null/meson.build index 64c29d8600..e491c7da4a 100644 --- a/drivers/baseband/null/meson.build +++ b/drivers/baseband/null/meson.build @@ -2,6 +2,5 @@ # Copyright(c) 2018 Luca Boccassi 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 1a1f7c9a95..21c3cf819a 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.20.1