DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas@monjalon.net>
To: dev@dpdk.org
Cc: amr.mokhtar@intel.com
Subject: [dpdk-dev] [PATCH] drivers: rename bbdev directory to baseband
Date: Fri,  9 Mar 2018 22:10:46 +0100	[thread overview]
Message-ID: <20180309211046.28952-1-thomas@monjalon.net> (raw)

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

             reply	other threads:[~2018-03-09 21:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-09 21:10 Thomas Monjalon [this message]
2018-03-12 11:44 ` Mokhtar, Amr
2018-03-21 21:43   ` Thomas Monjalon

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=20180309211046.28952-1-thomas@monjalon.net \
    --to=thomas@monjalon.net \
    --cc=amr.mokhtar@intel.com \
    --cc=dev@dpdk.org \
    /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).