DPDK patches and discussions
 help / color / mirror / Atom feed
From: Hemant Agrawal <hemant.agrawal@nxp.com>
To: thomas@monjalon.net, dev@dpdk.org
Cc: stephen@networkplumber.org
Subject: [v2 2/2] examples: move vendor specific apps to drivers sub directory
Date: Wed,  5 Jul 2023 15:26:26 +0530	[thread overview]
Message-ID: <20230705095626.31177-2-hemant.agrawal@nxp.com> (raw)
In-Reply-To: <20230705095626.31177-1-hemant.agrawal@nxp.com>

As approved by DPDK technical board on 2021-03-24 NTB
raw driver example application will be moved to
example/rawdev/ to avoid PMD specific example application
to show up in examples directory.

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
---
 doc/guides/sample_app_ug/ntb.rst      |  2 +-
 examples/meson.build                  |  2 +-
 examples/rawdev/Makefile              | 10 ++++++++++
 examples/{ => rawdev}/ntb/Makefile    |  0
 examples/{ => rawdev}/ntb/meson.build |  0
 examples/{ => rawdev}/ntb/ntb_fwd.c   |  0
 6 files changed, 12 insertions(+), 2 deletions(-)
 create mode 100644 examples/rawdev/Makefile
 rename examples/{ => rawdev}/ntb/Makefile (100%)
 rename examples/{ => rawdev}/ntb/meson.build (100%)
 rename examples/{ => rawdev}/ntb/ntb_fwd.c (100%)

diff --git a/doc/guides/sample_app_ug/ntb.rst b/doc/guides/sample_app_ug/ntb.rst
index f80b221db7..10f7395aff 100644
--- a/doc/guides/sample_app_ug/ntb.rst
+++ b/doc/guides/sample_app_ug/ntb.rst
@@ -22,7 +22,7 @@ Compiling the Application
 
 To compile the sample application see :doc:`compiling`.
 
-The application is located in the ``ntb`` sub-directory.
+The ``ntb`` application code is located in the ``rawdev/ntb`` sub-directory.
 
 Running the Application
 -----------------------
diff --git a/examples/meson.build b/examples/meson.build
index 55ba8847a0..f4a1ea3f70 100644
--- a/examples/meson.build
+++ b/examples/meson.build
@@ -39,12 +39,12 @@ all_examples = [
         'multi_process/hotplug_mp',
         'multi_process/simple_mp',
         'multi_process/symmetric_mp',
-        'ntb',
         'packet_ordering',
         'pipeline',
         'ptpclient',
         'qos_meter',
         'qos_sched',
+        'rawdev/ntb',
         'rxtx_callbacks',
         'server_node_efd/efd_node',
         'server_node_efd/efd_server',
diff --git a/examples/rawdev/Makefile b/examples/rawdev/Makefile
new file mode 100644
index 0000000000..0c26937a13
--- /dev/null
+++ b/examples/rawdev/Makefile
@@ -0,0 +1,10 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright 2023 NXP
+
+subdirs := ntb
+
+.PHONY: all static shared clean $(subdirs)
+all static shared clean: $(subdirs)
+
+$(subdirs):
+	$(MAKE) -C $@ $(MAKECMDGOALS)
diff --git a/examples/ntb/Makefile b/examples/rawdev/ntb/Makefile
similarity index 100%
rename from examples/ntb/Makefile
rename to examples/rawdev/ntb/Makefile
diff --git a/examples/ntb/meson.build b/examples/rawdev/ntb/meson.build
similarity index 100%
rename from examples/ntb/meson.build
rename to examples/rawdev/ntb/meson.build
diff --git a/examples/ntb/ntb_fwd.c b/examples/rawdev/ntb/ntb_fwd.c
similarity index 100%
rename from examples/ntb/ntb_fwd.c
rename to examples/rawdev/ntb/ntb_fwd.c
-- 
2.17.1


  reply	other threads:[~2023-07-05  9:56 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-26  7:47 [dpdk-dev] [PATCH 1/2] doc: add policy for adding vendor PMD specific examples Hemant Agrawal
2021-05-26  7:47 ` [dpdk-dev] [PATCH 2/2] examples: move vendor specific apps to drivers sub directory Hemant Agrawal
2021-06-17  7:17   ` Thomas Monjalon
2021-07-05  8:53     ` Jerin Jacob
2021-11-17 11:02       ` Thomas Monjalon
2021-07-05  8:49   ` Jerin Jacob
2021-11-17 11:01   ` Thomas Monjalon
2021-07-05  8:47 ` [dpdk-dev] [PATCH 1/2] doc: add policy for adding vendor PMD specific examples Jerin Jacob
2021-11-17 10:57 ` Thomas Monjalon
2023-07-03 23:30   ` Stephen Hemminger
2023-07-05  9:56 ` [v2 " Hemant Agrawal
2023-07-05  9:56   ` Hemant Agrawal [this message]
2023-07-06  5:00   ` Jerin Jacob
2023-10-31 20:02     ` Stephen Hemminger

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=20230705095626.31177-2-hemant.agrawal@nxp.com \
    --to=hemant.agrawal@nxp.com \
    --cc=dev@dpdk.org \
    --cc=stephen@networkplumber.org \
    --cc=thomas@monjalon.net \
    /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).