From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0078.outbound.protection.outlook.com [104.47.0.78]) by dpdk.org (Postfix) with ESMTP id 1DD652BAA for ; Wed, 2 May 2018 19:10:20 +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=cZvBCFcFuluS5pEx5oGi19JoAaKKbMqBYc842Q3N/eS1/flpEHR2hmJhtH06hW8j9kq0oVnNel6UKX5mvBq3pvIRKQgbKHrhll/YGW3fYLk6lgJgOFsHRRMGyFWKi9U+HJRZW1kB6epD/yHLnFpu9ii4+QfiBGqwlG+W6oJBrfY= 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 VI1PR0401MB2431.eurprd04.prod.outlook.com (2603:10a6:800:2a::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.696.13; Wed, 2 May 2018 17:10:18 +0000 From: Nipun Gupta To: thomas@monjalon.net, hemant.agrawal@nxp.com, shreyansh.jain@nxp.com Cc: dev@dpdk.org, Nipun Gupta Date: Wed, 2 May 2018 22:39:25 +0530 Message-Id: <1525280972-27736-2-git-send-email-nipun.gupta@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1525280972-27736-1-git-send-email-nipun.gupta@nxp.com> References: <1525168731-30912-1-git-send-email-nipun.gupta@nxp.com> <1525280972-27736-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: MAXPR0101CA0016.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:c::26) To VI1PR0401MB2431.eurprd04.prod.outlook.com (2603:10a6:800:2a::24) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:VI1PR0401MB2431; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0401MB2431; 3:N8WfwhS/orw2L0R5B1F01xwDV3woOdElw+UM+n8TvMWyq6k2TUoR0NfF2wGr7bbTbrUB5hGhePCUlj4s6xgNpNGBojXEAP62qBkgXKzh6etGGAudj2ScvRpv6UkCIwyrJFqoQPvJHRMBk/y8BEmzWvqaJ1VQ0nWL1dm1/CZrZdF8UnBFqDznsgU3XTTBA4Rv9WEjp08k0y9jc7VYzNpOpDzV5bakED2gHxLv2CF/RCgaG5OLN+OnMpXOdYElr2Q5; 25:HaC5PztzaAmAaCeJtwry5pPfcX5rhmKOKeW2dTsSHM4TWG0vitD7c9XwbompJVXSKbR3dVW5PIH5shNHlbRrZiUHO1OcVMpFAcYZnpc1UOFAWbfjAYTntywoKkmbdLc8y2PCSfhB6RIv7ox4eDhxvERX9+eOahQTGJY9makFcalLhDuWNqWSsFk6EcHJTDfN5kIZAcQ7u2duJ0RN726M+T5FL7TJCvwqoLwpPEJpgDV1SmQm+eAvZZ4qecJmvaBTvnzxLibTDX+L7lblG1f2aIgsQuoagr1rJR9Hou3DM9U4lBDBvTKJ1Q9Z4n5cQfAxYDRR4QbSC0xkpqqPy6QrrA==; 31:vDgGD0XzJBjHrKGcrvcpjDO4S6ayqUzA5J8gDE4LS7+uWaL+F9p8Ts+9ZB/OFCHafuv9Ez4jOwY6eKupGfn2UWzixf/4SMp0wbq4LYV5GJueasPhvoFiepFwDyGQdHmcwvGG4Eycq+YxCoI/lHHjJviJTDYK1AFlED7Hqe879QTF5XXkwRYTn/rYRJCSvGhx+3EjbwSDxQxxRFU8Oo8GYTniRu3Jd1MOdeGQsmR5xzc= X-MS-TrafficTypeDiagnostic: VI1PR0401MB2431: X-Microsoft-Exchange-Diagnostics: 1; VI1PR0401MB2431; 20:3E4YVkQYmmmN6hvidRDCnjAImFe17D3Tyn+FnvMbVFquJSfYQDOq4lrYOdeCkhsfJFLczsK5L1VpKz5NjfkUhbU+MoFOeDy+WipDe1oR3XKSg2yw4WicDsTxgnZKsO6jfRP/+KI8p39axryCV7Ckyqh+HQjxAFlbrHa93+NsGQNbmJhjukdeFeN/Y1sIfwzjPaC67WjIveRCPA2ZXnHm0DH9bQtbiKY5FmDFXKYNVHAtlV7CRoBHHmEHxufHOb2QK+x+NXnX6MXCLIHZu4c7TQEFFY9M4PqgsjT8KZxBp6SfhHxENjmRhcU+J4+YxnGZBaLemLNzirqhgHIXwjac8mnmqFAQFtZj4Itcd/bC28ZMoqLr4YDQpI9WJ+WXmCKf2/JKewqEIa0LlC6ZUjt5BiSGCZvLZqxrc/I9njHYNpJOgrFt/S6uxGSWIT04lHxRToeEsuvpiYUShKLfAuD1rQMoa91BZ+PpfEqqrUQngDZek1Ya9CvuUWKSeXtE33zz; 4:MFn0IOyUR0gzhbKZ+40WVBbeHnkriN6M8NI/9qvp/L1lkcsRatjFzlveUXTMy9oVZw8o8a9zj23szz2Vb5VAsOOc1aSOTXrD1peM/PWbfby+or9TgPJbAh7Zf7vMZrpPtjJf3PWuJMT/MQk51xJpHsvPsf1UkYKL3ccqp4uWPvkmNNrop/BdXHK++3g6lv/awl8ap2+ZtQAomm6Im9sunWCT4tgeMIwzUNARd+iEWu5C5ABhd5OFwHIIJP40KErulDfAud7RRaZWqf4rypvRvtFodXWWF7B6DLYjNxBKpnQb4sp1Exq8TcTj9gR4nqc9 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)(8121501046)(5005006)(10201501046)(3002001)(3231254)(944501410)(52105095)(93006095)(93001095)(6055026)(6041310)(20161123562045)(20161123560045)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:VI1PR0401MB2431; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0401MB2431; X-Forefront-PRVS: 06607E485E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39860400002)(366004)(39380400002)(376002)(346002)(396003)(189003)(199004)(106356001)(2616005)(305945005)(6636002)(6666003)(16526019)(50466002)(7736002)(5660300001)(48376002)(6486002)(25786009)(478600001)(53936002)(105586002)(97736004)(4326008)(59450400001)(44832011)(186003)(26005)(47776003)(8676002)(956004)(52116002)(81156014)(5009440100003)(51416003)(386003)(486006)(476003)(6512007)(2906002)(8936002)(3846002)(6506007)(68736007)(6116002)(66066001)(446003)(11346002)(76176011)(36756003)(16586007)(316002)(55236004)(86362001)(81166006)(50226002)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0401MB2431; H:b27504-OptiPlex-790.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR0401MB2431; 23:w9kml/o+/1ScS8BY1Q6Q9uL2bvlHQfcciyqAVtc?= =?us-ascii?Q?Iu5wJJNVJlzC+AF0g8vx/N35zH9W+IxWyprg5TuD91A+qhbBe+JvIx/gU442?= =?us-ascii?Q?bxNqAuPdB3KTIq9yq2v7Ifo46drOZhYUwDroj+di/MZTcLZS5JlYWtF8vVvy?= =?us-ascii?Q?EYYXgmlM4yJifj2FXEcGKNa4NPKU0U++91PBLOKy1CaMoF0sihPNwipqcvTt?= =?us-ascii?Q?DNApcJj3VLMqnTpc6xsZ42tZOgAk986aDWevumxHSZ5THFALwBL97r9hMVQN?= =?us-ascii?Q?OSsnEk0h5Fbc1DPo42G0VqockkQCuxfl5P8t1b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MfLTtK9hJcg3drS8DhG8AmI3OPNcRlf3w3rmr/H0+xQ0QG6PDQ5JLdjpbANAqEKTNo8dji/cGPp/0PYukFiGLMitsWk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; VI1PR0401MB2431; 7:lS6Kdal3HfcGQJ9M149V9xgkzggwZeFMlRhnSre6fy+pQxcoCaxon1i70E/ecPolvQAGi0n7dHiBbRQq9Po0OxYvjDV6BuBBMS9gTpJyYMzorQ7KkQILt+yDPCLwkUvkdty508w1aYepkWIamNU/Wsf0KiC2LmnkraPwt1CF6E3PLdqlWUke0Ns4nMfNXonsHq/zwVCHSF/V4IViijMorxEFLCxoLeGClAnq+Wk7w9BOZDvJ1pY4kGwSvMDLQjOZ X-MS-Office365-Filtering-Correlation-Id: 3dbcb1d6-86ee-4337-3cbf-08d5b04f9557 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2018 17:10:18.4407 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3dbcb1d6-86ee-4337-3cbf-08d5b04f9557 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB2431 Subject: [dpdk-dev] [PATCH v6 1/8] 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: Wed, 02 May 2018 17:10:21 -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