From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0067.outbound.protection.outlook.com [104.47.2.67]) by dpdk.org (Postfix) with ESMTP id 417011B7EA for ; Mon, 9 Apr 2018 16:22:43 +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=8PBdhGD9qWHDhc9WO5DeYN2lsDy0NQ8yzEyGD1Cp33w=; b=LMgS/whu26MtAkfKIXynV1QZhK+vbN2Zt9mTnWkspqaizfPX238vaOYS4ZyTNWO+Qx9BKBSmMrKtbZ8kTh+VNu8G2kqeakHDHQRFxuQG6+Bur6QoWJ3oT3mnC4DqkUvACAUQd5uFckLOlG2mPydnV4kyN2nk6ytg1/8bkivdqCw= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; Received: from [10.232.14.39] (14.142.187.166) by VI1PR0402MB2781.eurprd04.prod.outlook.com (2603:10a6:800:ad::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.653.12; Mon, 9 Apr 2018 14:22:40 +0000 To: Bruce Richardson Cc: hemant.agrawal@nxp.com, dev@dpdk.org References: <20180404101213.142824-1-bruce.richardson@intel.com> From: Shreyansh Jain Message-ID: <660a184b-d6ae-cdc5-d9b1-61c94a5ebf82@nxp.com> Date: Mon, 9 Apr 2018 20:07:41 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180404101213.142824-1-bruce.richardson@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: BM1PR0101CA0065.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:19::27) To VI1PR0402MB2781.eurprd04.prod.outlook.com (2603:10a6:800:ad::11) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: ab6caf55-97fd-4f3d-0e94-08d59e255aa3 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:VI1PR0402MB2781; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0402MB2781; 3:CESYLI+qIs/mLQUrVGsTXc8ELFHrjItUHMtPNxPOYeSBRdK9UGOua84losOpGXeJYEG2CS7CyFJviRTO+sq1XvzXBUDqqpPheH/ChWw22hKmhA0SzatDQlh5dbdpj4ZBhw2+NiDD2TkWDRow2OjHOSNSgznw3pL/sPBvqGFFp8knL4MllpkeuPqDDG+NxPle/YSvLfSmGalcEM5wgH/XppCRrfplo46431+KJNdDpQ+lvNJMEBOrLB1EfqPjCC0h; 25:qSaNPbtKfHKRQM31FK985krp7wjR48jJKzyDnd6ag7RXB7m/RzzpQ5P7lQs4dvL1q+G09BhKJM4FXG/biYsxWLfkclNoHCzHdM/38kHwttpoDrVz5raQk93hxcDn/H6WX3LhNm22PFnh/6MqXQwtAE7CqrYfyCXaiaXcXhvuRWzK43zcnbtuwI/BtZCGJSsQ58XuVDvPdr5kn/p9XomsJHDVT7sRbXpQy/M2vwM6RiwaBbWNEQvx/vBfMVZIzijlOph2I/I/EUFNWxJI1Ll8SayyYk09rfsj/Q6YE0htiGgFhomlvkAeZg8TdFnjiicPue5NOqXRrMeTjLqF5heFyw==; 31:rqYbN3PGNNemhcpoEM4kaTXQLINmCeXPgDU3qK/cF4sHgSsw2EYME+3ZOUS8g562baq6oGtIfSXlCzif4V5hlDHuIsXiIvKqPy7ku06fJcYZjBpkUTqXR6nDJoxP0UgW/oE7fmuKoUpfPSFdngiezbCqfqDNqlMZGz5qfLS7KbQWi7BoQbuGdNR3Q8rZ8gy68vjR0ro7mGJQI3I8EkpC2aGW1+x+lkRhZo4ob8b9lcM= X-MS-TrafficTypeDiagnostic: VI1PR0402MB2781: X-Microsoft-Exchange-Diagnostics: 1; VI1PR0402MB2781; 20:p75BKsLxhBUF0NBAl0nEkyvvp1ObzyKbl67urXWAvn4p/7ij3k/ceEKmC6gMkDo2FwCbL6OaN2p67lWYT90+YXIghQOOv2/kP1GhZfduWYfge7Vm3v0eXUfsMKV6E2ncUg92QuyguPq4mdlJ721MDPcL2bhnQI3RBHvidGIL+pbYvJjZnP/m9iR8GLfVOxNUpWAuYV5qEyVBVE/YeQgX9rTc+G2up7UZR5K9vbXHtyg2J0/Fp26vY6FfaHSWZ1y9qX/tBxOpeYCQsK3Ax+erHEvAwYXhloMxnhbV5B5LQ5zewRVSi+crnyonb/bSdBLbNQqnHDZlCdUKLm+d5XSZVEZmY455PMWJKxwpAqcUs+pEWDtic8Bso9CtMVkM6qhkuUK1aojXiMmye1Eo5HjkGfmUVi4cfJQDi5ZNatDarwmPU1I3EE2PKorITzqcLW8R+obz/8624AgTLF/sc3IyI1LrJiMx7UC7A9G4D13EgHnNmOB0PEktt6hGjQ/8WfBQ; 4:T2rimQmJ7HORzw7nPwgg18Qx3kaveZe6iMBfEGJX4iLBSxzI1PNXOnsiM2tquyX8PPIyi0itasJ1QBs0y+AmFfV2nU3JCd/MGY2LxroG4qtMRs1k5N9rjMt1tRtTguNJW6q2q9jociMM3BByzHq37yh7J9Izbt3zRhgMG65m/B+RMSZickQqBU3CMDUcCqdK90DH/xgVFujnXUY4cQztR44pjpcGec1hNmii1G8nthO9EBN0/yIDjBlXXXE/ZTbRDqLBiAFVLAwpvJMGEI+R+tpRf4OL7dEuV95d0RUeLhMSMgD+WKVFyufb58Qv+Pv0z837pPo9NL8Ug63u30TsCoH2ykFUgjHsUO08n+RtX86eQsQ1cwvG89ln/vK9sJdw X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(192374486261705)(185117386973197)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(3231221)(944501327)(52105095)(3002001)(93006095)(93001095)(6055026)(6041310)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(6072148)(201708071742011); SRVR:VI1PR0402MB2781; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0402MB2781; X-Forefront-PRVS: 0637FCE711 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(366004)(39860400002)(346002)(376002)(39380400002)(396003)(189003)(199004)(77096007)(575784001)(81156014)(31696002)(81166006)(5660300001)(36756003)(64126003)(8936002)(86362001)(65826007)(230700001)(5009440100003)(305945005)(3846002)(386003)(6116002)(8676002)(2906002)(105586002)(55236004)(97736004)(956004)(4326008)(2616005)(53936002)(446003)(6246003)(52116002)(229853002)(106356001)(76176011)(31686004)(16576012)(25786009)(68736007)(23676004)(186003)(478600001)(6486002)(50466002)(2486003)(476003)(11346002)(52146003)(59450400001)(316002)(65806001)(6916009)(58126008)(47776003)(486006)(26005)(7736002)(67846002)(66066001)(65956001)(16526019)(110426004); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0402MB2781; H:[10.232.14.39]; 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: =?utf-8?B?MTtWSTFQUjA0MDJNQjI3ODE7MjM6L0l3eFNNTmxNYktVcHZvcTI1OEdVblF2?= =?utf-8?B?ZHlPNzdMZ1dkNTZtSVFFQUg2RVRiRXJEeG1vdERHcnRYVEpBTmI2SHlydFN1?= =?utf-8?B?VWJqRW5jeVYwa1pOS1NyeVhpSW4vNjhYUHMxQ0hON1VRZ09iQWZFT2t0ZVFx?= =?utf-8?B?cVh2b3Ro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CmZojCKEF0cum6UBfAZaO85QrXQ= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; VI1PR0402MB2781; 7:tyDCWGvaJjvKxLaNozpNrHSUvQAli3qtlMIalWn85yYqXWBDsJR3FJlDNwUByTXLbeiXAiX17CgzOukWoNWA8anwYtRKlKeLJ5RFSMUEFUj2abJYJkyiqPZCq34mliwAGSXA1V6DeYxFHyswiUvmV7VdDq4x18GqYmgeuVixVl23NpluhGSKl2Hs/idRu2/vAwfVu0i0ugmZLSl0ukl6xF+OOH+cM+++EOfyL2tpWNZNpKgp36DAXYhdSF3YG10W X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Apr 2018 14:22:40.6751 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ab6caf55-97fd-4f3d-0e94-08d59e255aa3 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB2781 Subject: Re: [dpdk-dev] [PATCH] rawdev: add to 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: Mon, 09 Apr 2018 14:22:43 -0000 On Wednesday 04 April 2018 03:42 PM, Bruce Richardson wrote: > Add librte_rawdev to the meson build of DPDK. > > Signed-off-by: Bruce Richardson > --- > config/rte_config.h | 3 +++ > lib/librte_rawdev/meson.build | 6 ++++++ > lib/meson.build | 2 +- > 3 files changed, 10 insertions(+), 1 deletion(-) > create mode 100644 lib/librte_rawdev/meson.build > Tested-by: Shreyansh Jain > diff --git a/config/rte_config.h b/config/rte_config.h > index 72c0aa2d2..83109a65c 100644 > --- a/config/rte_config.h > +++ b/config/rte_config.h > @@ -56,6 +56,9 @@ > #define RTE_EVENT_MAX_DEVS 16 > #define RTE_EVENT_MAX_QUEUES_PER_DEV 64 > > +/* rawdev defines */ > +#define RTE_RAWDEV_MAX_DEVS 10 > + > /* ip_fragmentation defines */ > #define RTE_LIBRTE_IP_FRAG_MAX_FRAG 4 > #undef RTE_LIBRTE_IP_FRAG_TBL_STAT > diff --git a/lib/librte_rawdev/meson.build b/lib/librte_rawdev/meson.build > new file mode 100644 > index 000000000..dcd37ad49 > --- /dev/null > +++ b/lib/librte_rawdev/meson.build > @@ -0,0 +1,6 @@ > +# SPDX-License-Identifier: BSD-3-Clause > +# Copyright(c) 2018 Intel Corporation > + > +allow_experimental_apis = true > +sources = files('rte_rawdev.c') > +headers = files('rte_rawdev.h', 'rte_rawdev_pmd.h') > diff --git a/lib/meson.build b/lib/meson.build > index ef6159170..17edc4da4 100644 > --- a/lib/meson.build > +++ b/lib/meson.build > @@ -18,7 +18,7 @@ libraries = [ 'compat', # just a header, used for versioning > 'distributor', 'efd', 'eventdev', > 'gro', 'gso', 'ip_frag', 'jobstats', > 'kni', 'latencystats', 'lpm', 'member', > - 'meter', 'power', 'pdump', > + 'meter', 'power', 'pdump', 'rawdev', > 'reorder', 'sched', 'security', 'timer', 'vhost', > # add pkt framework libs which use other libs from above > 'port', 'table', 'pipeline', >