From patchwork Wed May 26 07:47:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 93443 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 860BCA0546; Wed, 26 May 2021 09:49:21 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ECF0841102; Wed, 26 May 2021 09:49:16 +0200 (CEST) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140082.outbound.protection.outlook.com [40.107.14.82]) by mails.dpdk.org (Postfix) with ESMTP id 4D723410E1 for ; Wed, 26 May 2021 09:49:15 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l1M+jePIa7uOET9uNtTjj3rnT4nb24Q6ld2IAFC4GrcFotCG0mI6ZUuvLZx55g8hjkNvsf94S/AybQL/NE8su+uku4vNeT447A9GwCPtq4Cu8DNiSX1HGSvbJPpkuJQ33rN41M8t/TvQctWf7jjXAWszrmamjrnbVZyWtGso36GcuD65F8BoLKc9xRH2d6WSo/fIaw9CrvLq2cY4qmAlSgTchb4afqEjhnE/DfEGKKqH+AAl+YiVaG5AV0NQl5TQ0uQut+8gftrNf1MtOK0tKvIk70Sj3iQbtEQkeMvgiND2j0x5rHNojvE4UZ+P3U1xiQT7D/MwriYh9NnPDtKrCA== 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-SenderADCheck; bh=1kvLWOEgsnkL+AuwUcM/ZARz1npptMgdCDRzqPn1v/w=; b=OZD3tX+yADJx4ZPO5zdYAMHf75ffV9sOWpxsgEK8WVPsOIJ9GUyKGbmYrzbeox3KdtxQ7Le6HANIz8ADYRa894XBfGN9rmiu66SbOBsfvwyY20QfE4VkygXLhEwtAvy7kONpSzISGwCws2HbzraCfviWGdMBgH4ptK4ImpEicsXWZuj+PEr5SpzRPF5uPQT18zmEuWFfIq9J+rQlnzIO+mHm8YyK3Qg3Mf7v9XMqNh6xlqw0qfg2iEudQbzh89D6z7N4j4o/YP2Q3poxz4OiqB+4m9gveQXEXVTirfl5YDrs8MGSpsrlxKgqz/DpPIZUzmeEdCIdagqD0X8iE97QhQ== 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=1kvLWOEgsnkL+AuwUcM/ZARz1npptMgdCDRzqPn1v/w=; b=rLlWv2jFC/PZiyITVe1gBTwF1xHVZDzLRsMIZNX0wFVJSUhJ928NHJ7+XaUA6hZ5Q9qod8UToa8AIbDB05lKcSpGhorsLcwOX54++Ne0rSxquJa8gKb2Hp2C6McKPvZxZN5mg9hC2zaElRjvtjc9dORlQmwfH2o/IILxWmayQ/A= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB8173.eurprd04.prod.outlook.com (2603:10a6:102:1ca::20) by PR3PR04MB7306.eurprd04.prod.outlook.com (2603:10a6:102:81::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4173.20; Wed, 26 May 2021 07:49:14 +0000 Received: from PAXPR04MB8173.eurprd04.prod.outlook.com ([fe80::b9fa:7c06:b620:fbf2]) by PAXPR04MB8173.eurprd04.prod.outlook.com ([fe80::b9fa:7c06:b620:fbf2%7]) with mapi id 15.20.4150.027; Wed, 26 May 2021 07:49:14 +0000 From: Hemant Agrawal To: dev@dpdk.org Cc: xiaoyun.li@intel.com, bruce.richardson@intel.com, jingjing.wu@intel.com, Hemant Agrawal Date: Wed, 26 May 2021 13:17:12 +0530 Message-Id: <20210526074712.9270-2-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-Originating-IP: [92.120.0.67] X-ClientProxiedBy: SG2PR01CA0099.apcprd01.prod.exchangelabs.com (2603:1096:3:15::25) To PAXPR04MB8173.eurprd04.prod.outlook.com (2603:10a6:102:1ca::20) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from dpdk-xeon.ap.freescale.net (92.120.0.67) by SG2PR01CA0099.apcprd01.prod.exchangelabs.com (2603:1096:3:15::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4173.20 via Frontend Transport; Wed, 26 May 2021 07:49:13 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 77c02962-9a1e-4001-e584-08d9201ac1fe X-MS-TrafficTypeDiagnostic: PR3PR04MB7306: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7219; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dW3+c7FdtK0dCNrv7NsVUGc1402DztGs6cXMw0AlvqizBdI79ECM9rgnmxxrH+wtbbMDd6VHcCL3IFUnoSh8OpZICr+nFNiw40LfT3F/TVRgtMgLgOVKrXUdHEcdspECrEM/r6pvY1XsUlTaWzD1iFW3/r77/yL52xbWEQDugpfL2UDgdp6L2O12VcrCTugBtBVGZaTHRF95GesmqvIAvDEkWW31XLKGIeqxfZZAxwn3VqGtoYH4hSSmg1aLR9QpbcgE9s2P64FxoAxq3gRT1ayV2OLbHgobX7s+llux6/+YTA4Anm50WquDxwB4Kh0cvqInp1EQyN2n0z1LlkDwt2O+e8919YWmn2NZrlAYa4FXxw6R9eoUH0CyvMUvTPkQGs8N10XtZOfDYPUUeJcHZXcREpEVzO0TucFn2IgMp0W0oyPkkHPSzsMItS4AfP0kzn+YbicK4vMx4S+xgOk/SIVaTlPxudYe5Im3vsCanSeBKH73grWghoZ+OiGpt26HQ/hBcbktcoTCYdnHynThM9hgGAvYnfdJ3u8LIZ/phMOScaplL94lfULagv5A9e0YHzlpohZwvKn5tO0J+OJ2zV0t+fROI4kHKtc5iZ4GfyjeKLu1h6cKmUASkjygnCf4LrJyETLnm6UbhiB9nChIwFmb3necClEk5cl578l8Teg= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAXPR04MB8173.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(376002)(39860400002)(366004)(136003)(346002)(36756003)(26005)(38350700002)(2616005)(66476007)(66946007)(66556008)(2906002)(316002)(186003)(16526019)(4326008)(956004)(44832011)(8936002)(6486002)(38100700002)(8676002)(83380400001)(478600001)(6506007)(86362001)(6916009)(1076003)(52116002)(6512007)(5660300002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: Pcb7LE8gDinpaIQ4ElsxZhV/oPwwgibzV0H1YiJWS+2trvoBh9dWMU7D5m1UwlGqUiQPrgavXXPowKphJ9oRksI0RzLgZwcanRIkAcvnj3Hdt33wAr/vFVKwC6pWeV75kgJkCnibZfIEnLfuHo+AVtAcZOSw9cQFWFwmCc+oBgkoQPV1IJs4aq7IevvHGooWaZGL6yBXJg9KXMJZiDai/NYaG+PXfvec6/YLWeA6iYK3CI3f7M6wP3Dhvncyoc/PveQaZmPutnIFhOoZAu5/eaq/5fA1Pbj0dZ6wnyv4Y8R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-CrossTenant-Network-Message-Id: 77c02962-9a1e-4001-e584-08d9201ac1fe X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8173.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 May 2021 07:49:14.7453 (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: WaKnjz4P3A2oHFdv99Aq8qdFUGOic+Ii7eimcqtxP91tPfPHnzOfQ+m11c9gmzeM7pN5K8YqoTXIgQHzRbP3AQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR04MB7306 Subject: [dpdk-dev] [PATCH 2/2] examples: move vendor specific apps to drivers sub directory 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 Sender: "dev" As approved by DPDK technical board on 2021-03-24 NTB and IOAT raw driver's example application will be moved to example/drivers/raw/ to avoid PMD specific example application to show up in examples directory. Signed-off-by: Hemant Agrawal --- doc/guides/sample_app_ug/ioat.rst | 2 +- doc/guides/sample_app_ug/ntb.rst | 2 +- examples/{ => drivers/raw}/ioat/Makefile | 0 examples/{ => drivers/raw}/ioat/ioatfwd.c | 0 examples/{ => drivers/raw}/ioat/meson.build | 0 examples/{ => drivers/raw}/ntb/Makefile | 0 examples/{ => drivers/raw}/ntb/meson.build | 0 examples/{ => drivers/raw}/ntb/ntb_fwd.c | 0 examples/meson.build | 4 ++-- 9 files changed, 4 insertions(+), 4 deletions(-) rename examples/{ => drivers/raw}/ioat/Makefile (100%) rename examples/{ => drivers/raw}/ioat/ioatfwd.c (100%) rename examples/{ => drivers/raw}/ioat/meson.build (100%) rename examples/{ => drivers/raw}/ntb/Makefile (100%) rename examples/{ => drivers/raw}/ntb/meson.build (100%) rename examples/{ => drivers/raw}/ntb/ntb_fwd.c (100%) diff --git a/doc/guides/sample_app_ug/ioat.rst b/doc/guides/sample_app_ug/ioat.rst index 7eb557f91c..72d5d17c07 100644 --- a/doc/guides/sample_app_ug/ioat.rst +++ b/doc/guides/sample_app_ug/ioat.rst @@ -29,7 +29,7 @@ Compiling the Application To compile the sample application see :doc:`compiling`. -The application is located in the ``ioat`` sub-directory. +The ``ioat`` application code is located in the ``drivers/raw`` sub-directory. Running the Application diff --git a/doc/guides/sample_app_ug/ntb.rst b/doc/guides/sample_app_ug/ntb.rst index f80b221db7..20e1f55a2f 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 ``drivers/raw`` sub-directory. Running the Application ----------------------- diff --git a/examples/ioat/Makefile b/examples/drivers/raw/ioat/Makefile similarity index 100% rename from examples/ioat/Makefile rename to examples/drivers/raw/ioat/Makefile diff --git a/examples/ioat/ioatfwd.c b/examples/drivers/raw/ioat/ioatfwd.c similarity index 100% rename from examples/ioat/ioatfwd.c rename to examples/drivers/raw/ioat/ioatfwd.c diff --git a/examples/ioat/meson.build b/examples/drivers/raw/ioat/meson.build similarity index 100% rename from examples/ioat/meson.build rename to examples/drivers/raw/ioat/meson.build diff --git a/examples/ntb/Makefile b/examples/drivers/raw/ntb/Makefile similarity index 100% rename from examples/ntb/Makefile rename to examples/drivers/raw/ntb/Makefile diff --git a/examples/ntb/meson.build b/examples/drivers/raw/ntb/meson.build similarity index 100% rename from examples/ntb/meson.build rename to examples/drivers/raw/ntb/meson.build diff --git a/examples/ntb/ntb_fwd.c b/examples/drivers/raw/ntb/ntb_fwd.c similarity index 100% rename from examples/ntb/ntb_fwd.c rename to examples/drivers/raw/ntb/ntb_fwd.c diff --git a/examples/meson.build b/examples/meson.build index 07e682401b..e0664c09df 100644 --- a/examples/meson.build +++ b/examples/meson.build @@ -12,13 +12,14 @@ all_examples = [ 'bond', 'cmdline', 'distributor', + 'drivers/raw/ioat', + 'drivers/raw/ntb', 'ethtool', 'eventdev_pipeline', 'fips_validation', 'flow_classify', 'flow_filtering', 'helloworld', - 'ioat', 'ip_fragmentation', 'ip_pipeline', 'ip_reassembly', @@ -41,7 +42,6 @@ all_examples = [ 'multi_process/hotplug_mp', 'multi_process/simple_mp', 'multi_process/symmetric_mp', - 'ntb', 'packet_ordering', 'performance-thread/l3fwd-thread', 'performance-thread/pthread_shim',