From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40083.outbound.protection.outlook.com [40.107.4.83]) by dpdk.org (Postfix) with ESMTP id A52452BA7 for ; Thu, 3 May 2018 18:06:40 +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=mLMPznJlUA6U5HiiZ1V6nInv7hqkoDoR3JioO5aLJzz1Ds2AuBq0cvW2ZlXPHamoZeB3K7jOeOzPlPlDYErKR8Ti2SjnecxsRJahBvdf/LsReN845iF5+tagbUMwgrwCXv78IKfMI5f8ebkhd1fF8tncsCh88tfCuEZLGmFatEg= 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; Thu, 3 May 2018 16:06:37 +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:36:03 +0530 Message-Id: <1525363570-23542-2-git-send-email-nipun.gupta@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1525363570-23542-1-git-send-email-nipun.gupta@nxp.com> References: <1525280972-27736-1-git-send-email-nipun.gupta@nxp.com> <1525363570-23542-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: MA1PR01CA0105.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:1::21) 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)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(5600026)(2017052603328)(7153060)(7193020); SRVR:HE1PR0401MB2427; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0401MB2427; 3:feA4Zs5gFTv+XwCB5pVbX9U+DfV6MF5wGYymZBKvS40qIbJNlzpHj4bK1UJZYNRuILgIDLgjOkZ41JWbRIAHeJPzcOqioymFgmoObSngqAKvOnURzGqw4cX2saCpBT/vH9jnnx7z++vJAM8GkiAE7hmJnBF2fkmQselD040YTN2kAlG93AZ9HISBQH5xI6UjWkmHxhjk2WYTny9ERTJXGov4P8weUKi0e8MGutwr8KoudBpCFkRm5m2R4YM0scRv; 25:82mSyj7bcqMENcuI+cd8zvqbTcEwpkwdKqugDhOsqe2EkuUBzKI147EGW3g0dbWInz2/m0L3mlY6wwWc6tDnvj6K4MRnWeROLodAqgXG0W9QDPKuAB9kYbpft50kMHO87cBujL1vAfe14pi+KlGeo2fNrGl1VutCdBJmc+SzXzikmF4+f1V2frwrusRjCMD2Ye8a0KYoZNVUuioh+UM7qD7CULiuier049fpaWScqak36XRc7KOG2nopqmgl+1irtuBRjdqxHj3kQspsrIuYrL4pfarbmNN1dNhV0vEqiV9qUKPky72s3/U4wJsOnx/cs6JvygTq75P4IPe8rDZxqw==; 31:UtwtkLbdRWm69Uwy1hXo1MRUTB/nL44Ly0JemU1qwtZVX1aUyt9BeQmj/fVCqo7wkM2zySvEs6HrqV+vlUy9csH3PayDVmk2FEsgU3lFP/nee/3rfdrnnOHj7obKwBO1hmcpbr/eQlCbsj0TwD/9LmesA3WrOfzrh4J57aPZeFb3w66/c8kFRMiiJ1Lvyf9ZNXx3hwR9sSs/noowlxJ7W2r3mJhCjyjVEbNTqZOBzv0= X-MS-TrafficTypeDiagnostic: HE1PR0401MB2427: X-Microsoft-Exchange-Diagnostics: 1; HE1PR0401MB2427; 20:jje6QqMPj8EY9WlV08/rve/zyLwiM2EA5I2lTbI2USmhbid/hfBITdcG3AXdaEnYhPt2FoOy2F1ylFOElXnvQ31oBEQK6khNUZQtzFXzswcuLEookHHYD8Q8eW/iZoc+bbP8sedlBbq8GosZqnVeG3ve07soPbeEtOOky+ReoFe6LMTvRIDKcf8f/miDSWo5fQNVJcrHdMKxGfkGfen1GLdFH2ek4rJbVO0616zb+3pYtgX5Bhpg51CFmHtmA5Ochj2oFU8rI9NruQ53e83uOfKYBu5m/9D9tPZUAuJ4PewSqYqZKfmgo+3fyLUOyl21dpQK960XwUUvVbs66TvcxRAOaMKUo6GkO2XTDWVnOphqmI3kBAFPjcnCyQItil1S1zBgI0bd93wS9Zqqn5X4U5bhr/pw1eI7JN6moQx3MOJ7K3Smhfm1i5pH08geThXYyKmytzKs5FGm6W+jy9MxQAno6gWMf+avISDN53mdum9bhpN6HlFjCCie/EpUxuXV; 4:FpL/OLTb/o1Ngl7f/MUA/WYOnML9jab1cIU5i4JevifPGfLQU0dHSG5mh1Vwn/S2uZhC/GNNe/V5UjF9mTYqhgVifetnmmXo7hA1X8IibhrBGwZjGYK4B9r293etlxjsqg2sAWthCsRLHHs/tx0MFM/mJYwSol2Hka4wmmodZPcK9BorvHs0Z4kBCI/EiSEac2ex4xKocAs6ADbJvd5eEeFZC9LD/yEb52rDKl46K0GAos/smcX0X65r2CKt0pon433sjifLatwS5GehQ2H3CKI3pRCk5jVuom/CRT0ohc3l5fz1MehSQBXTnjlAvNws 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)(93006095)(93001095)(10201501046)(3002001)(3231254)(944501410)(52105095)(6055026)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(20161123558120)(20161123560045)(6072148)(201708071742011); SRVR:HE1PR0401MB2427; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0401MB2427; X-Forefront-PRVS: 066153096A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(376002)(39380400002)(39860400002)(346002)(396003)(199004)(189003)(5660300001)(26005)(186003)(47776003)(16526019)(6506007)(386003)(51416003)(55236004)(52116002)(2906002)(50226002)(59450400001)(97736004)(486006)(105586002)(25786009)(44832011)(106356001)(76176011)(81156014)(86362001)(68736007)(36756003)(6636002)(6512007)(2616005)(11346002)(53936002)(956004)(50466002)(7736002)(81166006)(8676002)(16586007)(6116002)(478600001)(446003)(5009440100003)(48376002)(6666003)(316002)(476003)(3846002)(305945005)(4326008)(66066001)(8936002)(6486002)(110426005)(217873001); 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:S4k3kifElGRYY7F8bpZQKjlP1itLc0K/Ea4D/+J?= =?us-ascii?Q?4AAzucMalHIEoCGcNW+Q5jaiJviqujk2rYk/5eWMrpi5XNQkZLt0cW1wwCE/?= =?us-ascii?Q?D2HHH150XYuxnGvyVBroKnBl4rb86E/Ge4AtPhlTrYms/aIV3Bk8jM85Pd77?= =?us-ascii?Q?VnEZ3hhxT/QXwPPhPudh7Op8+X4xbxcrHT+1tifQfl6bJAKzyvZ59Vo87fa7?= =?us-ascii?Q?eOZ7aN7xcmhUkovi4rz+WAYCJPhaIefVb7C3kodPi5EBMz5MlOIv1MGfhzHs?= =?us-ascii?Q?zS7XkiffjOR2pIcYkd0MmqiBVtxMUykwgixXtSqbOzd5O9nNKPAOgnxp4jvG?= =?us-ascii?Q?ub2V+Gp8maCWfBcPrXCXpC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cD?= =?us-ascii?Q?q7aCmUsiuojJSosys/0E/v6DYGcfycDZXhpTUav4xBWdx/TYXHiP3uWbSYhE?= =?us-ascii?Q?oT9rNcDKoB81tIJgVy7lw8tvcF97qN+iq/LkbF3v2qqwI?= X-Microsoft-Antispam-Message-Info: D1LT6nwSgms7XZDkaEke4/pYMqypDzGICgng0+442sa877kQdJgmRJLpVbY4IJYYLBrDGYa+fydzX3EyENSTsLoRXLlLfAKCYPjmv664bk4zPWENHzePMcLXbF1tztTrUiaIr2mvrd6VcJgL8e1y/dB47e7H8pU+SHT81MLTZRFq06oX36NT0ZLqIkonad9M X-Microsoft-Exchange-Diagnostics: 1; HE1PR0401MB2427; 6:0yc2abssDbA5UpRW5UjmNB/gqczKYkFusmTDuX9ikh5cp+8A8fo4Pqtm/nprLIAyxS/XiMpPPpjSej++1S/ifsxoN7bhlMZk0HNTL8XjDKKHWcQkhd+qb/fez9nE2lazS8iN9G4X+v+veS03Zb81TZ2vNFWOcsTxulFFIsCNAz2s001DDuebTWW12H0O3/MX5MTNr2zeuAlACgtICK5b8hmHy3pmMwOiZFTkt5ATCwxQ5VkYjUWMl1ADBYw43S2+Gz5Se8QOXO55fR1jLBbYq6u2eDOl/KsWP/iBiVFUs6j6Q9lE2NNRsOJ2CuAf3m5xtDhu/NOkiRsjDf8JL5/24WgELqd5SHBKUghK8P4IHwLHR5QELHF0hMmKynNE9QHU/jsjqIHcfXp2LkwB8yAPO1Q7vkwA7G6oAHjJJN3ci+L7hheFHmDVPnjLwwQ4839coa99UwVU0TBzxm1W/irLFw==; 5:qybg8G7n9PmKiEWbW9veLEFdPj1ln1C/4/GXZAyEZ4c2iG8PRYYmuapXz4Ee2LcybO9CgMp6Ka2CBvXvearEKcM0xzAG2qK+qSSkaw+GzLRePRfuIyjmFyuJ2CM1UKKX1kkbrajT+55tBEBCz1gPonKKueoz5IhDvgp2mNp4qn8=; 24:mvxVfgmTErsGglU0gsSGjxBOSENRXejq2oANkfjkiCqQ7ubNFZeJdzLfjzpgDVi9VVil8GUElDjbfswgO/CuDuyqjKUcIWb03loXww3szKw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR0401MB2427; 7:tFivCs4bZyztTTIs1B65+eEH80rnT+FX2lHpX4rs1xF2fNAOkt1l3Z0Tqvop0i1h+VxG3ljIx29I3c2vKWCn8HmThgUObjBrtQCm0sPqOBt+M977O+gZuoJRCu2D6F1/e+twRi868ru8/x+9CuWTnj0preqveAjEayrXQbOnAXsSB150022fpXG3PdBXHFo5B7P49B37rCE5bQeXhpZwQ/n3MBOWOUI5/OpHCvincyCuQcnoOk/a6PWix7TrHq+2 X-MS-Office365-Filtering-Correlation-Id: 5f44291e-a814-401d-fa68-08d5b10fda77 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 May 2018 16:06:37.5871 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5f44291e-a814-401d-fa68-08d5b10fda77 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 RESEND 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 16:06:41 -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