DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] drivers: rename bbdev directory to baseband
@ 2018-03-09 21:10 Thomas Monjalon
  2018-03-12 11:44 ` Mokhtar, Amr
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Monjalon @ 2018-03-09 21:10 UTC (permalink / raw)
  To: dev; +Cc: amr.mokhtar

The drivers directory contains some sub-directories
for each kind of device (or bus, mem):
	net, crypto, event, raw
They are not suffixed with "dev" because it is obvious.

For consistency, the sub-directory drivers/bbdev/
is renamed to drivers/baseband/.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
---
 MAINTAINERS                                                           | 2 +-
 drivers/Makefile                                                      | 4 ++--
 drivers/{bbdev => baseband}/Makefile                                  | 0
 drivers/{bbdev => baseband}/null/Makefile                             | 0
 drivers/{bbdev => baseband}/null/bbdev_null.c                         | 0
 drivers/{bbdev => baseband}/null/rte_pmd_bbdev_null_version.map       | 0
 drivers/{bbdev => baseband}/turbo_sw/Makefile                         | 0
 drivers/{bbdev => baseband}/turbo_sw/bbdev_turbo_software.c           | 0
 .../{bbdev => baseband}/turbo_sw/rte_pmd_bbdev_turbo_sw_version.map   | 0
 9 files changed, 3 insertions(+), 3 deletions(-)
 rename drivers/{bbdev => baseband}/Makefile (100%)
 rename drivers/{bbdev => baseband}/null/Makefile (100%)
 rename drivers/{bbdev => baseband}/null/bbdev_null.c (100%)
 rename drivers/{bbdev => baseband}/null/rte_pmd_bbdev_null_version.map (100%)
 rename drivers/{bbdev => baseband}/turbo_sw/Makefile (100%)
 rename drivers/{bbdev => baseband}/turbo_sw/bbdev_turbo_software.c (100%)
 rename drivers/{bbdev => baseband}/turbo_sw/rte_pmd_bbdev_turbo_sw_version.map (100%)

diff --git a/MAINTAINERS b/MAINTAINERS
index a646ca3e1..cc5794c4a 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -282,7 +282,7 @@ Baseband API - EXPERIMENTAL
 M: Amr Mokhtar <amr.mokhtar@intel.com>
 F: lib/librte_bbdev/
 F: doc/guides/prog_guide/bbdev.rst
-F: drivers/bbdev/
+F: drivers/baseband/
 F: doc/guides/bbdevs/
 F: app/test-bbdev/
 F: doc/guides/tools/testbbdev.rst
diff --git a/drivers/Makefile b/drivers/Makefile
index ee65c87b0..a1fa8b917 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -8,8 +8,8 @@ DIRS-y += mempool
 DEPDIRS-mempool := bus
 DIRS-y += net
 DEPDIRS-net := bus mempool
-DIRS-$(CONFIG_RTE_LIBRTE_BBDEV) += bbdev
-DEPDIRS-bbdev := bus mempool
+DIRS-$(CONFIG_RTE_LIBRTE_BBDEV) += baseband
+DEPDIRS-baseband := bus mempool
 DIRS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += crypto
 DEPDIRS-crypto := bus mempool
 DIRS-$(CONFIG_RTE_LIBRTE_EVENTDEV) += event
diff --git a/drivers/bbdev/Makefile b/drivers/baseband/Makefile
similarity index 100%
rename from drivers/bbdev/Makefile
rename to drivers/baseband/Makefile
diff --git a/drivers/bbdev/null/Makefile b/drivers/baseband/null/Makefile
similarity index 100%
rename from drivers/bbdev/null/Makefile
rename to drivers/baseband/null/Makefile
diff --git a/drivers/bbdev/null/bbdev_null.c b/drivers/baseband/null/bbdev_null.c
similarity index 100%
rename from drivers/bbdev/null/bbdev_null.c
rename to drivers/baseband/null/bbdev_null.c
diff --git a/drivers/bbdev/null/rte_pmd_bbdev_null_version.map b/drivers/baseband/null/rte_pmd_bbdev_null_version.map
similarity index 100%
rename from drivers/bbdev/null/rte_pmd_bbdev_null_version.map
rename to drivers/baseband/null/rte_pmd_bbdev_null_version.map
diff --git a/drivers/bbdev/turbo_sw/Makefile b/drivers/baseband/turbo_sw/Makefile
similarity index 100%
rename from drivers/bbdev/turbo_sw/Makefile
rename to drivers/baseband/turbo_sw/Makefile
diff --git a/drivers/bbdev/turbo_sw/bbdev_turbo_software.c b/drivers/baseband/turbo_sw/bbdev_turbo_software.c
similarity index 100%
rename from drivers/bbdev/turbo_sw/bbdev_turbo_software.c
rename to drivers/baseband/turbo_sw/bbdev_turbo_software.c
diff --git a/drivers/bbdev/turbo_sw/rte_pmd_bbdev_turbo_sw_version.map b/drivers/baseband/turbo_sw/rte_pmd_bbdev_turbo_sw_version.map
similarity index 100%
rename from drivers/bbdev/turbo_sw/rte_pmd_bbdev_turbo_sw_version.map
rename to drivers/baseband/turbo_sw/rte_pmd_bbdev_turbo_sw_version.map
-- 
2.16.2

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] [PATCH] drivers: rename bbdev directory to baseband
  2018-03-09 21:10 [dpdk-dev] [PATCH] drivers: rename bbdev directory to baseband Thomas Monjalon
@ 2018-03-12 11:44 ` Mokhtar, Amr
  2018-03-21 21:43   ` Thomas Monjalon
  0 siblings, 1 reply; 3+ messages in thread
From: Mokhtar, Amr @ 2018-03-12 11:44 UTC (permalink / raw)
  To: Thomas Monjalon, dev

> -----Original Message-----
> From: Thomas Monjalon [mailto:thomas@monjalon.net]
> Sent: Friday 9 March 2018 21:11
> To: dev@dpdk.org
> Cc: Mokhtar, Amr <amr.mokhtar@intel.com>
> Subject: [PATCH] drivers: rename bbdev directory to baseband
> 
> The drivers directory contains some sub-directories
> for each kind of device (or bus, mem):
> 	net, crypto, event, raw
> They are not suffixed with "dev" because it is obvious.
> 
> For consistency, the sub-directory drivers/bbdev/
> is renamed to drivers/baseband/.
> 
> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
> ---

Thanks! Looks cleaner now.

Acked-by: Mokhtar, Amr <amr.mokhtar@intel.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] [PATCH] drivers: rename bbdev directory to baseband
  2018-03-12 11:44 ` Mokhtar, Amr
@ 2018-03-21 21:43   ` Thomas Monjalon
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Monjalon @ 2018-03-21 21:43 UTC (permalink / raw)
  To: Mokhtar, Amr; +Cc: dev

12/03/2018 12:44, Mokhtar, Amr:
> From: Thomas Monjalon [mailto:thomas@monjalon.net]
> > 
> > The drivers directory contains some sub-directories
> > for each kind of device (or bus, mem):
> > 	net, crypto, event, raw
> > They are not suffixed with "dev" because it is obvious.
> > 
> > For consistency, the sub-directory drivers/bbdev/
> > is renamed to drivers/baseband/.
> > 
> > Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
> > ---
> 
> Thanks! Looks cleaner now.
> 
> Acked-by: Mokhtar, Amr <amr.mokhtar@intel.com>

Applied

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-03-21 21:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-09 21:10 [dpdk-dev] [PATCH] drivers: rename bbdev directory to baseband Thomas Monjalon
2018-03-12 11:44 ` Mokhtar, Amr
2018-03-21 21:43   ` Thomas Monjalon

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).