From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0088.outbound.protection.outlook.com [104.47.1.88]) by dpdk.org (Postfix) with ESMTP id 13B002E81 for ; Tue, 1 May 2018 11:59:18 +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=F3N2WFO/nNCr0qw0cDbwQ7vvst0i7Fw7YxL4sYJXlMoy+r3QyuaYv+5OGOr9oPD1se/bPoDYblzEFMTKDvxZdMZlFaQS259nHVZwIzIspKYSygBtobiDzD1lTtZWzNmworPe665/h3nfAi6tigduPB4XcQS6B8lP0CH4wXjgCgo= 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 HE1PR0401MB2427.eurprd04.prod.outlook.com (2603:10a6:3:25::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.715.23; Tue, 1 May 2018 09:59:16 +0000 From: Nipun Gupta To: shreyansh.jain@nxp.com, thomas@monjalon.net, hemant.agrawal@nxp.com Cc: dev@dpdk.org, Nipun Gupta Date: Tue, 1 May 2018 15:28:44 +0530 Message-Id: <1525168731-30912-2-git-send-email-nipun.gupta@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1525168731-30912-1-git-send-email-nipun.gupta@nxp.com> References: <1524570589-20148-1-git-send-email-nipun.gupta@nxp.com> <1525168731-30912-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: PN1PR0101CA0028.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:c::14) To HE1PR0401MB2427.eurprd04.prod.outlook.com (2603:10a6:3:25::24) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(2017052603328)(7153060)(7193020); SRVR:HE1PR0401MB2427; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0401MB2427; 3:u7abZbS7gLZbd5fKGSQApotD9kUmd0yE0EFAbYr0oEiq2jut3dXxp30i4cpe09lnWX/qwxIELRBGxXIZe5sfRFQ0ikOzvs4pajAB7qGc2v4IeQgitggO1I/XW/lFR4840Z0W1/Wuj9vksF0rkWgQuGYpkgh9PYeVNvkpWGfCsNEeJ1kBASyBYW237pruoTuJ2UsAz120vVkmj0B7eIYrOpWzNUigOUYCynXRmGzap9xeLgatC3kBSggobKchYBqD; 25:5nLTowmnsfldRZcPo7RvKqFHtc+QBTE5MYCiWup3rqxgKCfx9YBksfh9ZhSCvTOhyc3br6y3YAorlELpH1Q+j8l32YO6MRFODa/QR+YfBYBNO834rO1ba5WOKOOTvd49K2iAZgv9CR36ItoJBSmpCzzPn6XV/jc5MPq8R3IqzAT8OLJJAdl2RvAqB3nG/P/WuSO9CPIfrzuCOMM9b43SVD2HJu4RGv8xSdxdVWWNSW9aRy2yIYkJ8v9hU/Ph6rDu/u3KoXawXdy0p9JtgHWhBcsg8taGOGVHa64MvByxvLPjMXMLhVISs75vAEUwOG7kQ63Y7EMJjvJSENQ8L9Rf7w==; 31:zelp0O0dTxDDLj7tJW4YiENruIW2bHvvC0ZjPFO4SHvR5HEX+z7p3s365Yb9z/tRShxb0oHCav8/085C5JDNkkylFjs/B/kf8BD5JYXyKcOZeX9p+Js2icpuri9ErMXUXt9ZPZyRT8bZSrWzm46SebM3bTh2cpx6/jc8dmc3nD5yrSswq9Avyll+kz937yRJ7RtBel1s1RAEgH2mHYDvlq+V3kaI+IfUpMKssCs/FGY= X-MS-TrafficTypeDiagnostic: HE1PR0401MB2427: X-Microsoft-Exchange-Diagnostics: 1; HE1PR0401MB2427; 20:cauHYhXBOuFLdfwJUglbDC4d2dPiTezhpvPVKJz+P/mEkNL9nOVZqb0jPvBPf0ALe8v5Sb1Q1vUerks4/rQJvLLlVXeprA3JyhwMDxnL8GlpoqZj7IEepF7YW7GkL3dCZwMDLEds+E1i6BLFknZt5btXmSgof3979m0C7ibJKoL5PiEXRPfcXrCAlsMqdLaGrrltR1N8QPzv0wVj9OKIDfB9QO1QYLrTzfDzzrqDRovAoT2IxTNj1OTM7Tvf9RaQWTBypja2SRRvjNakTlt8lfD9rczJqOPqBqOsPG6KemCZ81pehqTR+OPCobFNXFTaPflZ+kypqq+oH5UAvaQmn1AqsUus33pOr27E5w5phxRGIQ+t+atx01U3s29UpMvstiXI9y0GoTlZj6/vaBXPAwUQw7gBlA6epzHM/HgsF2iK4eMvtg9Avr9BLl6z4HbprCcX2YP3/BvRfjlYjtR7DAWidH20W3by4AYbYzgT8Mu3U2MV2X9IcygDvFq7Q/Js; 4:3Fc544/MaOxOuDsVxGBcut0SrusB0j37yTLRhbrC9v33IuH1btG63cbLvHpP4KKcJLU5pMlerk8vI9sxSdWIb0WAhIx80ia7TwwBhGQhlpMC7WzY8N5ZqIHUhcBhJRldLoyPdiWU3SR8F4lxWeWeS6kmyHNkShzN8WmB6VvYAHT5VZkECFpEamJeJM3ZCPaM6L2h+/IrBcg+oMlx9Xj/3tKpx5uGcPQXNUcewvj6KHPLvMJ8FEcETqeMhMB+0akrWSPXhC77g6xL2IyqmZfgDVrZ3iv/Z1NmlCIh/zHM1LvZaNucFxpuq9rPD6J+00nA 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)(3231254)(944501410)(52105095)(10201501046)(3002001)(93006095)(93001095)(6055026)(6041310)(20161123562045)(20161123564045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:HE1PR0401MB2427; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0401MB2427; X-Forefront-PRVS: 06592CCE58 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39380400002)(39860400002)(366004)(396003)(346002)(376002)(199004)(189003)(81156014)(3846002)(8936002)(97736004)(50226002)(48376002)(81166006)(316002)(50466002)(16586007)(2906002)(36756003)(44832011)(478600001)(5660300001)(8676002)(6116002)(486006)(16526019)(6512007)(53936002)(476003)(4326008)(446003)(956004)(11346002)(59450400001)(386003)(5009440100003)(76176011)(52116002)(51416003)(26005)(305945005)(68736007)(6506007)(105586002)(106356001)(47776003)(6636002)(66066001)(7736002)(86362001)(6666003)(25786009)(6486002)(2616005)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0401MB2427; 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; HE1PR0401MB2427; 23:Tp98CfYot36FfsuIQrhP4cNdxb62n1aGFGqsJ4D?= =?us-ascii?Q?A8wGejYpPk/wHnfI2x5U38CTdfCd2Qw427wk6g1MW0dfprwHc6UIF5GqGhkL?= =?us-ascii?Q?lIqT63bgwom/u3GE9TE/KstkNpyCu1WqJYV86HsZUy0xIK8tGMQ/SJbowgmD?= =?us-ascii?Q?gOy4ieOKRDu4QFyfmds4qXLxNqxtSU7LzbImKPKEBKC8mzDkGgeydzaiUPoh?= =?us-ascii?Q?GdbTYn/spBjAZUE41vErmSl8qeb2aDsTSImkUGe2xssFZZG7VY3dGOYL52zN?= =?us-ascii?Q?RaOIg36Q/cOs2KDXAIaTTLriKW/Vh2korN1kF20Bp9vYq7sh41ERbeC8zjpG?= =?us-ascii?Q?s/FGyvVW15EyQiRNrF7aljoj3nJjyyIWsMYo826Xg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ZdxHVgzU5BKqUOenByc?= X-Microsoft-Antispam-Message-Info: reua844/gd1h5Qkf5dVBMcOCUm25jMaGL73EBJINMWi7PlsWkJpQPDRhfpxVo/RlT/KAtUhpAAZnVC6EqCF3G1t8GnyfX2iM4PgSiHcHcPkrXqYVniCtGwGwpSQP2XXKSjx3KkUKkWkx1ZYayrWrK9hicgri+MNV5k7wsYFMiIRykhQ97atLA7KU8lPLbf0b X-Microsoft-Exchange-Diagnostics: 1; HE1PR0401MB2427; 6:Pdmklid6UbNlOw+y7764VObSuRD5Nf9P0EJUcTWb/Yv4TBtpWE/NglRf+D72lZ1NHF4sBBK/eajQPYq1WDAFBwsto3ryYeCSn/sXyu5kWz7s7tdW22nunhpr42RvWdETwCjVBadawj35Hui2soYhvdkdj06b/BIBoGNsxIXWJ/LXFxkb9TzbBfmudkHV5p56c+o22pHb4wQLrW7P8vVPuupGxMi99g+diYkcgYkcT5DYQmQl8oByR8Hf0gxSCWnfiWZaexiiTmrm/UEgxIosSxe2BB+rURqcW6oKi/wINUB0iOMbVKEt8kg8vh8FpFTMwdfgn1PR4RNfTtOMdVzmIO+J4HCaUPSR6UNt+20xX80b+7N8rtfXb8dRXgKibKDaUA3koZQljf/M0Q8UxJWVjQWgeyDGlyZU9oG29jeB+JXDmYi/Wl5RMEG7wXrcqTCSzAwX5i7bK6uw82W6kd+trQ==; 5:ZlCN8Sj6LWHx67RdDn2A7tRYBUp71rLMdXkMUQTU2p6hWxgnV7V2ketXFKb7O3s5CqEkFMHGLQH4Tax1yfYKBa3bHWEDMocAys9AR7GnCUVHxpGjSpLlzns9qsqM7ufqS5OuioktP2CKXzfkWnWhhrwUUnmBb2SOkvNLh01kV5M=; 24:svZAQLqB/7cVhZM4uRSPxmws3oMzD4HYXaNe/W7Jq2eHnUvpIGANwr388mzdqtOv6ORVhTjvFXCchHE0XFrivl/yMETAiBb9wPDhUZrciyk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR0401MB2427; 7:8hhHQjf+s/oIbR5opDxmOG5bETYVVTKtqybTA5s6GzZ7of537lYI3oRArDTtZml6PeADzwL5x4ol9hwzikNHF1sSJxnaoNjB3I8eRb9fgqFOWhYndmNQPYQHhEDuhTEN/soI66YkMtidt6Jm3ND2Z3GPxPMMxGgzkBJGaXSQCI03jYJ/a2aHHMyARaesKTxT7d62MpL0HONabvAcGrPQY03phc0PI0Y1QkyDgbZrbUIUNt4BSW/I+Da3CQT9oB1+ X-MS-Office365-Filtering-Correlation-Id: db5985f3-9cd4-41bc-55c9-08d5af4a33c9 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 May 2018 09:59:16.2191 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: db5985f3-9cd4-41bc-55c9-08d5af4a33c9 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0401MB2427 Subject: [dpdk-dev] [PATCH v5 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: Tue, 01 May 2018 09:59:19 -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