From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0074.outbound.protection.outlook.com [104.47.0.74]) by dpdk.org (Postfix) with ESMTP id 375D72C24 for ; Thu, 3 May 2018 17:52:31 +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=EJ15baZIJlkZqmZ0cIT81fPqVp/zu76+iOKDO6XH4v6g3pi2cEBke2/k25z2hxtBrLQsfXVCyV7wuoerHdJ8MNJt2IUYsBxdqqO6mRWiviJcl0g0Dxefcm0suaPNjAMdCqhf+5w6gzhgq7LPLO2MXxY0yIoN+RXla/rEvmEBjxo= 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 VI1PR0401MB2429.eurprd04.prod.outlook.com (2603:10a6:800:2a::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.715.24; Thu, 3 May 2018 15:52:28 +0000 From: Nipun Gupta To: thomas@monjalon.net, hemant.agrawal@nxp.com, shreyansh.jain@nxp.com Cc: dev@dpdk.org, Nipun Gupta Date: Thu, 3 May 2018 21:21:55 +0530 Message-Id: <1525362722-32726-2-git-send-email-nipun.gupta@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1525362722-32726-1-git-send-email-nipun.gupta@nxp.com> References: <1525280972-27736-1-git-send-email-nipun.gupta@nxp.com> <1525362722-32726-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: MA1PR0101CA0046.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:22::32) To VI1PR0401MB2429.eurprd04.prod.outlook.com (2603:10a6:800:2a::22) 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:VI1PR0401MB2429; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0401MB2429; 3:5ky6xFBYoOzblxeMsgfI68FT+T/jYVjOfoThFpWniyxOoKNxT04YfdvanWw+QztVC2tlnAx8Gu7UjldcPCXaqUfJe5/va9ICcK2x1hUHc8yImAjYSjlghy1cJrQriqiATBZnL/odHW34DNZm/au5Df5hkEwwhoWmRx2UL5LsL1l1TKNV6AzixQhi2da6S34VYd+MYcL95MppLBBjuokeLZ6XVjN49s28SJ7/2Ckmsh9wQgIOxxJOFAUT3hZkiiCH; 25:Wd2w9y2+FjXavxaBxR/hvtjCVERwiPlnk/TR3HbDyHJ7fabH/XLGRBgxaBX29NFFU750PcY1EvlsSIoXm96ThkWoFyJzYdsbaHxeLyDHWWOk+sYoXmieH5urY6zzWVsImlsS1OerQGjH7RW4fqvqA9fiwDWT8c/6uCoCbaQSSoGvQ9DTPYEMRTqGl+pLf47o6LMU4Jl+l6YFQmlQPOjIC2WGoYAvEO1/9HYOrECqLhlWwcYilAqeGmzGiFYYsDWr42AHHsgEO0czfol24+B3hGILBR1sKNLvlhyzb55Qm3dm0NT2lV2ANKtpJ4JMoIxwidZEmrpx/Di6UOsmu43TCw==; 31:6v5pPs1fSeIlAt+zvt+BVZlLdVCJ6vvvw+NK+KMXxfQYRHyLUzlIcC4HgzsvklMGBQvfYEE6vk8gjwDLVDfYEMtmqWd3DqiLT14wJuSs3WFl+z2wi5F0BWwZbiALFpvUNtHTd5HGqSx7mUJuACjYkHXx4AUXREwG6cfAqNRIvFA00AjRiQRVlNxZb7VDEHzOgztRvOI37JYPiAMvVj4OKNQt2mULsRltBRSsf/iRidM= X-MS-TrafficTypeDiagnostic: VI1PR0401MB2429: X-Microsoft-Exchange-Diagnostics: 1; VI1PR0401MB2429; 20:gOIQi0ObIzxaGPLE8KUzKjy3jYQz+6Nz+e3eyzTQ/P+hT16IcoU8JSfp7ftfbiBesrYjnAxr9vyZZVFYEFIxdnE7sCpqUjf8VyBYgvSzvWxnDVfs6zlgWQMHJN2lUPyn8e13MRUGf28Z8U8eGnLcgjSS4Jlc4Nxzavw4d3QJBwAF+Kf41RZcvKBYWTKDNzz8NbD/U9SnnDesiN2xo24ahVWZTfYvESFzqexo1wAIjAK6wUP59DM/ZeJ/Ir7s0KPAbHuGa3J9lCm7V+f8GkzE9saqScT5rn1ip8DfDwkwy0Aa8MLArGI8jix4WS03uWAwZ5PYr9sZR1wGLJqf0hMfHPS/tgBjojXbxngoqbCFCwTG/LZOj7TEsWuDUy2zuOHW1viylwnrVkSVnVaj3cbb4ZBiP32HPt0fYQZx5PfH+WisZT4hwrSCP+oJ9AxzhpyJeswfH2rIzz9A6dkVufhOeyvVnM8aWDyww9DeNNKEwmvLmrB3ESVeT189pJJ9I7YL; 4:zbqxUchxkZmM3LInpMJxJwMs9hqpYRuB6EVzVgMiMSF9hqroc+HsWWifdPXLTsXZDkEI4pCZCykUY25SS4OLpsJz1eHETCQj5+qIjbFgdRkLb5kMCQW8nsH/PmSNVGr504NIIxE/VXCMDC0jSdmMjsD5x4/4pErKsVSghGNxny+lEZ+MVlXKQGWTcEEt5tZQLHcp0xrNtgKFxU13B6VQ8HK1FQZz7JNGFg8vMVSwA7EzSWZPDVekGhU0BpMf6poQ+s4FlgGpWv6ASy1zk6P2mk9dilOWzs1Qaq8hcru9bYcVKVmr6EqOF7WBFuRwx/Ao 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)(3231254)(944501410)(52105095)(3002001)(6055026)(6041310)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:VI1PR0401MB2429; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0401MB2429; X-Forefront-PRVS: 066153096A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(366004)(396003)(39380400002)(346002)(39860400002)(199004)(189003)(6666003)(50466002)(6636002)(4326008)(68736007)(6512007)(5009440100003)(25786009)(97736004)(6486002)(36756003)(106356001)(105586002)(2906002)(81166006)(6506007)(316002)(386003)(52116002)(59450400001)(66066001)(47776003)(86362001)(478600001)(446003)(305945005)(7736002)(48376002)(16586007)(76176011)(51416003)(55236004)(6116002)(486006)(186003)(476003)(16526019)(2616005)(11346002)(956004)(81156014)(3846002)(26005)(5660300001)(44832011)(50226002)(53936002)(8676002)(8936002)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0401MB2429; 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; VI1PR0401MB2429; 23:0QnNIhQsbY4dV4ue5E5yGmwQcep5uI5zWfe/bJN?= =?us-ascii?Q?4d0TgtAcSq6afirWDPr+w9sJra6PwfySZNvYqWBRj1RcYK++KpzDTMu7Q8Bt?= =?us-ascii?Q?WvWNwi22xT6+6GlOfA7ZJohmuUt0DCbPGXunTlRM3drAdBYw8C3F0D12r1Dh?= =?us-ascii?Q?Rgu0X1Gje9JytFnTaxxYvxzwPFox/IOduSjlLXpW1xdLHviNpFS3dR1jZ3kz?= =?us-ascii?Q?MxVHHYXUnYAHqWNSqMvyGAI9XTmsuc3BnbgvrGPfQfUbO80bhSuNYSeYZPiR?= =?us-ascii?Q?huKtIIkHRjD84gX48PALgWnsxdyKxJDnMEVAix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FHRENCJTuev5QE2fNB7uEu74gqgikEwwSmHfKEwMAsVL7PVFUpuCvQK388iVVR7tafeZCqKb4LtiW52GVCHndM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; VI1PR0401MB2429; 7:P43EkmRVQEvriGFircU4nVk3vRtRNkxGcNjnnvOc7JbvxLaeXSKCJWX/oiQ5RqvFKdbC3N6dYzJ2F245lij9UtKSAmYaWL5qouArU8+SBBpIMtYIuMnKHvsVw52M/pNygfd8EyN70+Ctoe/+fc4IaDeRm/CuPmRzqQDZdKEEjBm+j47IBkqWlUUDkI5KGUorlU41MWdqehM3iCiel8FbMku0Lp+onW+0Hp3lDvwkUNlJ6zhtVOek4Uu+ClLW6T9R X-MS-Office365-Filtering-Correlation-Id: 251b5931-bf0d-49e5-8f83-08d5b10de02d X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 May 2018 15:52:28.3130 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 251b5931-bf0d-49e5-8f83-08d5b10de02d X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB2429 Subject: [dpdk-dev] [PATCH v7 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: Thu, 03 May 2018 15:52:31 -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