From patchwork Wed Jul 5 09:56:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 129281 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 94BC542DD6; Wed, 5 Jul 2023 11:56:48 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2440440A8B; Wed, 5 Jul 2023 11:56:48 +0200 (CEST) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2049.outbound.protection.outlook.com [40.107.21.49]) by mails.dpdk.org (Postfix) with ESMTP id C550240150 for ; Wed, 5 Jul 2023 11:56:46 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O34aTLK5qqfi8rVbbvAS5W7ibXiMK6GU4Mqvky7V5RXqmaGwrdmej6uihlI8NYwks/o0kdorrQNLu+cOoXXFgGmski+1h9RSjPuuaAN+R74nTtM9lt/EqjbHwo/UanifDj9TsUyLaj6L+8K5aeA2ZdQ3Ch6W2LWpcny/dcIoJRO47xHi/XTcVKvDjcy9nDVwL+J/NulNcHjUztx35uDdmjbUIMt2PP+xl16sAc7maxcCosAPKWflIQjkTC+FP1phWawS1URqGsvgFkb2Fg8SepAIPgupY1QooiIIbltWEnJEqM4HuY3+QI57kB+hd776tJYDKZZvRdW0KYqHEtkfzA== 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=shHsGfkH9he3A4gklD0kDui1/QXwH5Sblh4K1dvUGPc=; b=JD4KA+zIk1yQ1edg17IEwO75GWNEyFzKVP8sBI4Xpy45zMZcnqgZtYoSNg1V0aghJzqAWHwlZHcz0uo6yyaT6hwdtM6RtI6O5e+iKHx8k5g3f9IHBZCEPT8batDyvywka0YZfduTEGWMoArNfDA6KRdxsc6WVITdcgRUvkXOF7ogwaxQm/Dht4/s0HO35gjjg/l/LpO8JFL8BJg7+Eh7vCsVh7WZlQYrh+ZrieFpcgzfsD0nHf3IyV5GIzUjqUSKvP9bgpMOzQvNAqQ1vThUtA57o4HcN7/r1eUZ3SzgcX1OIO387O0SKv0ZkFg7eJLAQydR3arj1kup363hxElAOQ== 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=shHsGfkH9he3A4gklD0kDui1/QXwH5Sblh4K1dvUGPc=; b=f4UmtB3TBA5a5VS9kg/IETZvDIfnhBxB9Gk9T+Mm2MbPxhLEReOqHeL5QGszQLIrmkhVh80pH8L9dk6pH1mMOKpK/it0fKkJyJzRMdHvshVZAwF1biuJjvFKxsH8I2rzuXr+eEHfS9K8kvYObYsEOJSWKfOp48AL4N41x4b0+Hw= 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:45 +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:45 +0000 From: Hemant Agrawal To: thomas@monjalon.net, dev@dpdk.org Cc: stephen@networkplumber.org Subject: [v2 1/2] doc: add policy for adding vendor PMD specific examples Date: Wed, 5 Jul 2023 15:26:25 +0530 Message-Id: <20230705095626.31177-1-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210526074712.9270-1-hemant.agrawal@nxp.com> References: <20210526074712.9270-1-hemant.agrawal@nxp.com> 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: 0b5d77a6-10dd-4ea5-034f-08db7d3e2440 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: IKWv0FQtLU56aX9L2ewmc5FFCkxSxSKZLb9hwtZcFHA1CTb2dSglyGN4NU/pmxbWezQ6h67UnELALqNzwioaNkqZtnUrlZByvmVPoEdPJsZQ2vLplcDI4wGOA7ChYR0ngvi8VjiFOEBpKpDNlhAHH9ttSr3XUfxPQPiu0dizOLqkPoFkhOECfwiWrzjxj05BWRdDbEnbvBWLTKS6VvVtnzxR0hlmtY0We5lTMM81FzYgkzXsPDsNbJ0bZCisbncnoWvMZscDdDUjUhmtCBl3whIOqC3PKXhHqaZQVmgMhvYJpqx4P+DXA/4taFNKerfWwFduC1cWVJox7Q9G+UQYmQmn7xT9YsoND2a59YFmlP7Mk64stRdbVd7igapT9mfM5K1BVaD/ri3lbtf8ahex5Gzo+UuDz4/8Dwt9EO6ACNok+XflkshiL/ldsQjPHM+HSzJfipDRTcDbwD5Zo9tvNstXneF/KZVIJ1LEUvifQP8Bt1devE4nvhNDPyRO8E9yHPGTkjh9EnrURhA3V2vR6rh50z2pG8VXSSCSHKx2cpTKl7/hxEntxV72CdUkxOyWts3CepvVC3L/WD5d9Q4aFTzK3WlWLqO/sqJL0W4Ts1vKSf1esSqmTcI8nN5DTxPM 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: CREngoqtty9D+ldDNIKy9hMVvnl6XGqzyv+75C51yyCHcLhJadYHJuxYQUOGA6C8OynTbjVwQN9Z2aZkwJGUoqTZEy+WwhgOAw6N2Dk/m+Gph0+KBXmjqXtCO/17FuD7ByOzJ3itcGSSok6NUEmMmqKDuMICb5xOdCiJmVtd8df80cKENyd4v1a1D5uz83j1oURv5xUxwxWEVJpw6izn7MNpQL8Au2U9BMqnhges9UkAIMNEscvtvOd7sZZvTizqYikdkrmqQFe3xFxlh1AY8OISyxegPNmiCssZmzPhDmpHYV4peoljFT5pxCWMd1yKXUJvFMVCkxtHb6mxksCOoPTps7EDW5isQEfe1Rfcq1/2QJ1G3ddakK+pSrO89wqjm3LgaQz2VeN0564iRtubP0l0Vg0emggOARg+Gx1qBW0fWk+uqunBWQ2+klGBRhxfiXdp6ZSPzr/exJoqYfh+CjwsWX1PwqwcvgXdYW/Nz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IkQ6ygkVGpXHgOvSz5h0N7Wzs4bMUljTZaU+IAzGwN38yHFAlgLmvCrkiUTQ== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0b5d77a6-10dd-4ea5-034f-08db7d3e2440 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:45.4365 (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: 9WEx4A1TVRNkAhkbjmPcqaToDZ0BReEWPpLWBl0Xnqyl73uIUf5DQ9ZEf4EnxJBsZd6EGc6Q5JR3c10z6hIygw== 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 This patch update the dpdk sample app policy to support vendor PMD specific test examples in the respective drivers sub-directory in examples. Signed-off-by: Hemant Agrawal Acked-by: Jerin Jacob Acked-by: Stephen Hemminger --- doc/guides/sample_app_ug/intro.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/guides/sample_app_ug/intro.rst b/doc/guides/sample_app_ug/intro.rst index e765f1fd6b..279aecdfda 100644 --- a/doc/guides/sample_app_ug/intro.rst +++ b/doc/guides/sample_app_ug/intro.rst @@ -94,3 +94,15 @@ examples are highlighted below. There are many more examples shown in the following chapters. Each of the documented sample applications show how to compile, configure and run the application as well as explaining the main functionality of the code. + +Driver specific Sample Application +---------------------------------- + +There are cases where existing sample applications may not be suitable to test +a new driver contribution. In such cases a new driver specific sample application +can be added to specific drivers sub-directory in the examples folder with prior +approval from DPDK technical board. e.g. + +* :doc:`NTB Sample Application`: The NTB Sample Application, + or ``ntb`` application demonstrates how to use NTB rawdev driver for + packet based processing between two systems.. From patchwork Wed Jul 5 09:56:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 129282 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org 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> 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: QwfTvcpHuKKxsG7b/IWGVR3Bhd7QphSpvCh6LNfhhKCk+daR39UT696wvVLXZnbgHBApuveJJ7GeGz1vyjKZoTSYefvUvu1a0ffkWEo7CHEyOz0ElNXKMIMRXGfTu3rKA5qRmP+AaOgKX+hqKAJynggK/+xRepVKZ2iuc0EiG/3QmtJRFlEKLKd5cg8IflN+Y3NGYJ0pSNZapsgui+Qx3vsDXLQBL5JX7ZuIBTAfk516/n52PC6VOtwtx21LZTj7EFY+wbvJjCl5bDQGNxZXK/pj3MSlOSeI2JXbf50PNCZ3Cjanty+dyBVld1IOKXUoyY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Y4KJ1gyz4w3cBz4Oh9wtehbCKx6xPmcBFb/ZVelCHhbYVfCCOqkUMoQdvH95NhMs6jgNrwoGut6RoH7wTvGh5vkMkVGx101X5wwKODRt4L/WCHhXFeClyLQ9SHAu/XgEZdANcejFtZtQE4MqgrwOYgx2WzvBpItJM5q4lPwUtrqrRHJ/008tpm0RKdkFKXBYSWCJW/UQfoajdvHbbd8nJpryg== 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 Acked-by: Stephen Hemminger --- 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