DPDK patches and discussions
 help / color / mirror / Atom feed
From: Bruce Richardson <bruce.richardson@intel.com>
To: dev@dpdk.org, Nicolas Chautru <nicolas.chautru@intel.com>
Cc: Akhil Goyal <akhil.goyal@nxp.com>,
	Andrzej Ostruszka <amo@semihalf.com>,
	Bruce Richardson <bruce.richardson@intel.com>
Subject: [dpdk-dev] [PATCH 3/5] drivers/baseband: remove override of driver names
Date: Fri,  4 Oct 2019 18:19:11 +0100	[thread overview]
Message-ID: <20191004171913.59574-4-bruce.richardson@intel.com> (raw)
In-Reply-To: <20191004171913.59574-1-bruce.richardson@intel.com>

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@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_@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 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@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


  parent reply	other threads:[~2019-10-04 17:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-04 17:19 [dpdk-dev] [PATCH 0/5] some bbdev cleanups Bruce Richardson
2019-10-04 17:19 ` [dpdk-dev] [PATCH 1/5] drivers/baseband: align meson defines with make Bruce Richardson
2019-10-04 17:19 ` [dpdk-dev] [PATCH 2/5] baseband/fpga_lte_fec: align naming to other bbdevs Bruce Richardson
2019-10-04 17:19 ` Bruce Richardson [this message]
2019-10-04 17:19 ` [dpdk-dev] [PATCH 4/5] baseband/fpga_lte_fec: add public API to map file Bruce Richardson
2019-10-04 17:19 ` [dpdk-dev] [PATCH 5/5] app/test-bbdev: enable fpga_lte_fec support in shared builds Bruce Richardson
2019-10-07 18:29   ` Chautru, Nicolas
2019-10-09  9:28 ` [dpdk-dev] [PATCH 0/5] some bbdev cleanups Akhil Goyal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191004171913.59574-4-bruce.richardson@intel.com \
    --to=bruce.richardson@intel.com \
    --cc=akhil.goyal@nxp.com \
    --cc=amo@semihalf.com \
    --cc=dev@dpdk.org \
    --cc=nicolas.chautru@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).