From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4CE7942DD6; Wed, 5 Jul 2023 11:56:53 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1B989410F6; Wed, 5 Jul 2023 11:56:50 +0200 (CEST) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2070.outbound.protection.outlook.com [40.107.21.70]) by mails.dpdk.org (Postfix) with ESMTP id 086B640150 for ; Wed, 5 Jul 2023 11:56:48 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CpE5F6gCEa4RGElpbJl6Ih7l+UfxliyANdg53UqinC6Md0bzze3m6TS4mnPARmtSQBe4MVw5pv3zRBSQEtK4N/5EIFVLXF9AGblvhIs3q7J65usLVyIqBklR1GuX6LWbj5rl29jidpoDhbWioRCgxCK9xA9XC3Y+kWjDe0sIyYISj6T7bbJLwRjA43s6i1IFFqmhbizGYgGBhxYUFEDLtfKYRifLjYBXQpKCsIT0vWAmPOBEFmK6HyfuhQjTVROWON1gswW+6bZYBxGBlEg8FLq8Fn9itLI/LQtH1akMafFT/z5s56u+GVPFRk91YMq1dsNtiM0rWar2CCAMwS35Fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=NBynGanRGjeAYwYcAZbEgBd8ArVR6N2rkd9iNskFWi8=; b=HeEHq35ijlwZrQo025fusMCE8cKbP80YtDc6zWj+/GR0iaOEcrPfxswZDGfqR57wg0WlpbHTzwK0L0xVK2lOgMw225jYWZ7uViZrTIO59JIv3RWpKm7dj2OOqwj8Sm8YWfmPKMHqWsjp6sl0W8ngCmkveAJGbE1+dRYTAtjN3tIisDq10K1xbA+H1Dv3JJZ7xaZPd6CXHtaFJF3dEBHG2M0z2Wnd4ZMURMUA+rewFjRfN8E7noswQOb+iq/Rqx7KQkG7ok2QpQEN4J2b9qAXRLtSXQAFFF/MGWK/C9KyokEFCxV47+uafmXqZzm1aP3DIpOZ57suqbH6NGdX9pMaOQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NBynGanRGjeAYwYcAZbEgBd8ArVR6N2rkd9iNskFWi8=; b=cKR/rCicQp3BaG0FX8j4qjY153UVB+DQP5d8Fmd00DhM0chL0Tn41VzgoFKqDzEz2rKsBUuyzX2Fv+9oZAJHMf0pPC68KA9iSnzEUIVbzrF7k0jO8cJxP2ru0QXpkOMXd9hxRLg9rp1eStHiOH98gXz2U5fGEjpz0jbErMLahYE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9328.eurprd04.prod.outlook.com (2603:10a6:102:2b6::15) by VE1PR04MB7230.eurprd04.prod.outlook.com (2603:10a6:800:1ab::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6544.24; Wed, 5 Jul 2023 09:56:46 +0000 Received: from PAXPR04MB9328.eurprd04.prod.outlook.com ([fe80::8f04:8a71:fee6:eb88]) by PAXPR04MB9328.eurprd04.prod.outlook.com ([fe80::8f04:8a71:fee6:eb88%7]) with mapi id 15.20.6544.024; Wed, 5 Jul 2023 09:56:46 +0000 From: Hemant Agrawal 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 Message-Id: <20230705095626.31177-2-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230705095626.31177-1-hemant.agrawal@nxp.com> References: <20210526074712.9270-1-hemant.agrawal@nxp.com> <20230705095626.31177-1-hemant.agrawal@nxp.com> Content-Type: text/plain X-ClientProxiedBy: SG2PR02CA0083.apcprd02.prod.outlook.com (2603:1096:4:90::23) To PAXPR04MB9328.eurprd04.prod.outlook.com (2603:10a6:102:2b6::15) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9328:EE_|VE1PR04MB7230:EE_ X-MS-Office365-Filtering-Correlation-Id: 3b8f2e88-be5a-4aba-c61f-08db7d3e2511 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kDTled5q9ndYwrgsXE7+kJl7ylIQgkiftNkSSxPE+EBvvTj5E2bC7Uf9pbwHEckXzqXyN1p8b/7r4uHhHhn2alB/wywgdqzesrdx7fdBgWIeEk9Mp8AfbQ5zaf8n+CkXVfHAPE/jIlj7gNe7Bcrh8awAS31HDKVyjsZDXsNus28P/hqJurPsd+VCiv9je8bXFzIWyeQkDb71nN4ScCmHSOVy9N+/QJ70OX4SBqO6rU4z2u7GOrWsyz7e3q117raJZzuaIJGwOIZNJusdM75MXQda5GEZhRS1QqkdxRAQp2L0MIh0wVQ1h+X6YO/c7Ga4Cfv6q9myYjkLIbaHoi+Q4Lvi4OxBWW39q3cNQYNhCP2i4z9jdDb8UpXH84a4E3DWJIbttZCNRvv1YXOXQ27t+4CUqI9EqMQd4ykWDyG4rdweqqT9kqJB6/R4lvmC7euyXqNZ7+iKT8wyIJP/fJ8qKMXBaWeqslj5QEUp9/XfWQs3E8MFLUDl3viyO+9tKtwRviSynnrt6E6lAlM0OCu0tHnDbhbbx4XjOZ3DjNjClVSYoflda+34UWxCB4YnhgrZeHaHqmegk/0MPEw78sgpJTJ89DV92hLi2frKxKE7Hx1/Wjmz3GRWfMKRErwjy8/7 X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAXPR04MB9328.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(376002)(136003)(396003)(366004)(346002)(39860400002)(451199021)(26005)(44832011)(66556008)(66946007)(36756003)(66476007)(4326008)(316002)(478600001)(8676002)(8936002)(5660300002)(2906002)(41300700001)(86362001)(6486002)(6512007)(38350700002)(52116002)(38100700002)(6666004)(1076003)(186003)(6506007)(83380400001)(2616005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?QwfTvcpHuKKxsG7b/IWGVR3Bhd7QphSpvCh6LNfhhKCk+daR39UT696wvVLX?= =?us-ascii?Q?ZnbgHBApuveJJ7GeGz1vyjKZoTSYefvUvu1a0ffkWEo7CHEyOz0ElNXKMIMR?= =?us-ascii?Q?XGfTu3rKA5qRmP+AaOgKX+hqKAJynggK/+xRepVKZ2iuc0EiG/3QmtJRFlEK?= =?us-ascii?Q?LKd5cg8IflN+Y3NGYJ0pSNZapsgui+Qx3vsDXLQBL5JX7ZuIBTAfk516/n52?= =?us-ascii?Q?PC6VOtwtx21LZTj7EFY+wbvJjCl5bDQGNxZXK/pj3MSlOSeI2JXbf50PNCZ3?= =?us-ascii?Q?Cjanty+dyBVld1IOKXUoyYCt+y0LynLn4B4ApDJQE7YxHIWgaVzkd5vYq4OS?= =?us-ascii?Q?IbCF3j3zxDxJ9Pr1beXgns1MH9Hn++6styEfPk5YVx8AImZSaC8YInlQQR6B?= =?us-ascii?Q?VEEJ3egKQaNMPElSlFLqqT15gkE0b5g/lh9IQKqNDbDCGEoH1cM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6uHP28P2wBbyEWltoWUwml9IkxONPsL6X9H78sXf?= =?us-ascii?Q?dKrw7gt/P0aykCE5rI6m5QjdlY4KJ1gyz4w3cBz4Oh9wtehbCKx6xPmcBFb/?= =?us-ascii?Q?ZVelCHhbYVfCCOqkUMoQdvH95NhMs6jgNrwoGut6RoH7wTvGh5vkMkVGx101?= =?us-ascii?Q?X5wwKODRt4L/WCHhXFeClyLQ9SHAu/XgEZdANcejFtZtQE4MqgrwOYgx2Wzv?= =?us-ascii?Q?BpItJM5q4lPwUtrqrRHJ/008tpm0RKdkFKXBYSWCJW/UQfoajdvHbbd8nJpr?= =?us-ascii?Q?yg=3D=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3b8f2e88-be5a-4aba-c61f-08db7d3e2511 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9328.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jul 2023 09:56:46.7938 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: fxqpVzeCN6kIXXkKuz8EE+oSx2rhOoL+HNlYVXqFk/lBW+sFAftNfEutdXcA+q3QC/9JQpym4m8xwYdyV7rk6Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7230 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 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 --- 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