From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0084.outbound.protection.outlook.com [104.47.2.84]) by dpdk.org (Postfix) with ESMTP id 966402BFA for ; Tue, 24 Apr 2018 13:50:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=/VFuSIV5DfPs381zZI8wsfUFaCBoCOTSDO6No9t9154=; b=DAQvjVrj58Rri2tGTKoBLFl/XIz2gX5qmUylmcfRQFvDETvjiOPe8KZMGulX0mhIEl9yXFH7HXqZhGpd2IaKg2XnH0cOzJpevw3a9yafjnFW4o0FFP+/bbv67pSuGbybPsQNEUy81M4VlryO+xmXih//+ud9JYhxGmeaKgfjA9Q= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=nipun.gupta@nxp.com; Received: from b27504-OptiPlex-790.ap.freescale.net (14.142.187.166) by DB6PR0401MB2424.eurprd04.prod.outlook.com (2603:10a6:4:4a::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.696.15; Tue, 24 Apr 2018 11:50:23 +0000 From: Nipun Gupta To: shreyansh.jain@nxp.com, thomas@monjalon.net, hemant.agrawal@nxp.com Cc: dev@dpdk.org, Nipun Gupta Date: Tue, 24 Apr 2018 17:19:42 +0530 Message-Id: <1524570589-20148-2-git-send-email-nipun.gupta@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1524570589-20148-1-git-send-email-nipun.gupta@nxp.com> References: <1523114224-9852-1-git-send-email-nipun.gupta@nxp.com> <1524570589-20148-1-git-send-email-nipun.gupta@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: PN1PR01CA0085.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:1::25) To DB6PR0401MB2424.eurprd04.prod.outlook.com (2603:10a6:4:4a::27) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(48565401081)(2017052603328)(7153060)(7193020); SRVR:DB6PR0401MB2424; X-Microsoft-Exchange-Diagnostics: 1; DB6PR0401MB2424; 3:6iCAUjYARUw1oY0duKAx8IhRMa5bbj1KjNHgy32GBd4spZS6+bO3VYm5e0g5OBiyHiAuzQldtOrw2Ak0NdhkhU7L9eU2PsyLtbE/xoui+0qPlyusNt4vVYQlUjAoBL/O1fHlHYPmAkOCIi/Wp3ZuXqs30iYdBxC/nFwecX8CHhlNvNX6kPXU0yuaOSt9LoZ7Vf3cowuQhOAxcbwGXzA67xjDz4oGSqxkjbyoBEV4bPwqaD59jZ6rIo2vdmnZwMLC; 25:K9IWXOkgMe4uWTun6qHYfxarPMN0O7yU1Z7K6Lv4N3J/QuNPd55s06pGYYGQGgrtZWUAmU7YwqutEVpomPawOngbTIXlDy63EMNEuBZUCywvmHS0xbQmPBle/AP8MJLc4CdCknt0Pr3nSq2B3wKMnrqKacUV9LRdkGQhQG4ifDzQjCinY+zTZ3QcARIm4ZTGGo2hS085vu8gxldZdnsMeCQIGb+p3Ybbjf2gch+VLgPd/r8MfcVAKAwqCdEmUyRsLppEoztcoQktXk8+x6fRJsteu++ce/BdSvLisqOxFNSKI7qSN2eeZGmMQWAZeKo48UJgYELsEtCAkLYaNWhtdA==; 31:BmDMRtaAkK6ghHwNOac8X655iLjAhbOgoszDyoQCJXKVlEJpjk8bx7lUpHuYhLjOoVTmyZHLknDQiLTiIb8agkxoa7JAHIXQHTT1QGbaxi6zfK3kYb1TdiUP1q5rl+blTEDfgeiMeItU3VgmfUtxpNbPbLmrwOgiaYoY9VPM9QNVGb3p51DaAOCVVC5IcYipPLS/zzP3rAZ2NBDI377cxjozWLApdwrdmkAcVIZcTMA= X-MS-TrafficTypeDiagnostic: DB6PR0401MB2424: X-Microsoft-Exchange-Diagnostics: 1; DB6PR0401MB2424; 20:FZg+vyDx259F1BsuYZ5gtsThAjW0MeEqFx8wiYcYrLurMBAlFlNCJc94IvMCgdR6TrL4DpBDO2xge6rv/s8uPq4599znbXeAjTWCaE3Xi4Y3H0FBYrk3jOGH2pEbZL+UZNyLRkfF4Oh1lDNGEOwkKP7pN2NtO/ez5Twm87/3c3XNTlmVkFTdFaDdQK4ie2s4Axfpj8yT+ldswHOJFpcAbRRDbODq/D4QiHleExGDwJwsP9udftndLYqckwqZkmY+rfvQS6aZ64ekOPL6wRa+R0qINekqijvbEnlJM8dMaMoI7VFoLwKlxHwhqezrRzt1zrLeKP3T3j246WHZpxJveDglCWr/H5lj/J+w5VXiXaqAiGtnoQBd3Xy+nn5o7my6byA8QotAmglTk0nkOfWFxxRW9Yp8UIzN0AcgJZ2jsf4W9k8O4kzSQV1gV7cUUqFpcBIwc4WAzG5OJiG+A+fVxKcIEaF43+9EVy9LFITpQzVKR5/YSYXg0wusxzTE7HcB; 4:ddnTTnqHSjV8Wu7kh5An/Wc/gscjZAzkV2Rk1bu5HjII3C1d4eCf3ypYk8GO2PPpc0XjlNmnLxjjwu0KWEIJE65C82igFeD1+of7DJfLwVOTVtD5KViCeyzd9W+c5NEr2vKu8YSUbWVAehl47npmAZezXa2NzAvDuqng0TvTdFvrxBbuvT4WnS0D62zujlqc+xvy8tJd4TX7Pi45WpJwZdTcreWoROFI8KaQKU53rSi3qVLTgBKVArpWdPjFIRR6f93HyLV3VhGPt0sxhFKpuR9dI6rQus94aH/NgpO3SkWQ7OXIP82n+9dy3xRdwkhI X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(93006095)(93001095)(3002001)(3231232)(944501410)(52105095)(6055026)(6041310)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123564045)(6072148)(201708071742011); SRVR:DB6PR0401MB2424; BCL:0; PCL:0; RULEID:; SRVR:DB6PR0401MB2424; X-Forefront-PRVS: 0652EA5565 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(346002)(39860400002)(396003)(39380400002)(366004)(199004)(189003)(3846002)(97736004)(316002)(486006)(305945005)(6486002)(6636002)(476003)(2616005)(956004)(4326008)(25786009)(5009440100003)(446003)(86362001)(6512007)(6666003)(11346002)(5660300001)(478600001)(44832011)(53936002)(52116002)(16526019)(76176011)(68736007)(7736002)(47776003)(51416003)(6506007)(106356001)(66066001)(26005)(36756003)(386003)(59450400001)(50466002)(81166006)(8676002)(6116002)(105586002)(16586007)(48376002)(50226002)(81156014)(8936002)(2906002)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0401MB2424; H:b27504-OptiPlex-790.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB6PR0401MB2424; 23:0HgPS5IJKGxYzwuUA5S0J50JwyPHcw+6961K51H?= =?us-ascii?Q?GAtmCw/BhN3IMuSQSRh+tO2noK6IB2AiaV9Pop9gbDDlXogUb+16nRDtxDNF?= =?us-ascii?Q?G6CAd6BdIKvfrAUyH9sr2MpYBABPxLqemKsrdJ93ToNld2itcn4/bqJjzSzo?= =?us-ascii?Q?VVFW+oNiq1p6aKPkRDiSuWSYOfxnf4sLoJfPhEXduop45U1gvTc6lCYNk++7?= =?us-ascii?Q?0J36+Yb++fW4yoLsb2BbsZxXP5k1KYexvn5q31YixRQqOX3ztUjGSZ3ljCV2?= =?us-ascii?Q?9pStgwtfU4w8cdwsG2qh9MJgVu/FC/XtjnjikxKjIRf3Zgecu3CHQKu4SBHs?= =?us-ascii?Q?B1+dBEpVH+JHaXc2HQN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Q= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DB6PR0401MB2424; 7:EPaqyES5jQDYqpVXdQ2Ewkdkh92sqF2e1mifL0ZohNaUjlxGcyxEabZ1/fkuE2WCZyf+bx//0WmUfTZT+UoeMD8KlBwf3Qv/6xPSBEeZtY49//SnaxUcf5yOswaM53qZVteqkEHOoEIyX7ZFu/UMbimpfDWiEYxqaTvrF3BO6B7woEVse/avm0polLQ/AT+/RcYFsPCFl+D2QAAMcK+Nt8LLRQLXXBwEipZyqDoTcXvV/tbdfGpPY0tM0TgRqwdV X-MS-Office365-Filtering-Correlation-Id: b8cc73e1-76f8-4827-ccef-08d5a9d99114 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Apr 2018 11:50:23.8756 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b8cc73e1-76f8-4827-ccef-08d5a9d99114 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0401MB2424 Subject: [dpdk-dev] [PATCH 1/8 v4] raw: support meson build X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Apr 2018 11:50:26 -0000 Signed-off-by: Shreyansh Jain Signed-off-by: Nipun Gupta --- drivers/meson.build | 3 ++- drivers/raw/meson.build | 7 +++++++ drivers/raw/skeleton_rawdev/meson.build | 8 ++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 drivers/raw/meson.build create mode 100644 drivers/raw/skeleton_rawdev/meson.build diff --git a/drivers/meson.build b/drivers/meson.build index b146f09..f879cb6 100644 --- a/drivers/meson.build +++ b/drivers/meson.build @@ -7,7 +7,8 @@ driver_classes = ['common', 'mempool', # depends on common and bus. 'net', # depends on common, bus and mempool. 'crypto', # depends on common, bus and mempool (net in future). - 'event'] # depends on common, bus, mempool and net. + 'event', # depends on common, bus, mempool and net. + 'raw'] # depends on common, bus, mempool, net and event. foreach class:driver_classes drivers = [] diff --git a/drivers/raw/meson.build b/drivers/raw/meson.build new file mode 100644 index 0000000..24c82ff --- /dev/null +++ b/drivers/raw/meson.build @@ -0,0 +1,7 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright 2018 NXP + +drivers = ['skeleton_rawdev'] +std_deps = ['rawdev'] +config_flag_fmt = 'RTE_LIBRTE_PMD_@0@_RAWDEV' +driver_name_fmt = 'rte_pmd_@0@' diff --git a/drivers/raw/skeleton_rawdev/meson.build b/drivers/raw/skeleton_rawdev/meson.build new file mode 100644 index 0000000..7cb2d3f --- /dev/null +++ b/drivers/raw/skeleton_rawdev/meson.build @@ -0,0 +1,8 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright 2018 NXP + +deps += ['rawdev', 'kvargs', 'mbuf', 'bus_vdev'] +sources = files('skeleton_rawdev.c', + 'skeleton_rawdev_test.c') + +allow_experimental_apis = true -- 1.9.1