From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30049.outbound.protection.outlook.com [40.107.3.49]) by dpdk.org (Postfix) with ESMTP id 8BC141B5CE for ; Thu, 12 Jul 2018 11:48:45 +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:X-MS-Exchange-SenderADCheck; bh=SRph3h5QDNugshZGhE1+cbzs96lpZa0wM0q/CF6ENNY=; b=J+PqpWKqffSHBAi7k0u+rzjC4mZE71tI9sknbvjXDAj9S0j9UYiRYc8EYB0QtbpCveWQ+O+W3CbxQ//M9XOpnLryomgcFd1YSWzPW+IJjZCbL7z9vwbrhz10x05mRsDRj+0mcEO425pg6a3SIk7WB+AAA/XEMM4TutE6zmBRpx4= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; Received: from [10.232.14.39] (14.142.187.166) by AM6PR04MB4679.eurprd04.prod.outlook.com (2603:10a6:20b:1c::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.952.17; Thu, 12 Jul 2018 09:48:43 +0000 To: Gaetan Rivet References: <31ece7bda6ce4809dd5a6941a4f47176996b7321.1531345404.git.gaetan.rivet@6wind.com> Cc: dev@dpdk.org From: Shreyansh Jain Message-ID: Date: Thu, 12 Jul 2018 15:18:19 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.0 MIME-Version: 1.0 In-Reply-To: <31ece7bda6ce4809dd5a6941a4f47176996b7321.1531345404.git.gaetan.rivet@6wind.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: BMXPR01CA0037.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:c::23) To AM6PR04MB4679.eurprd04.prod.outlook.com (2603:10a6:20b:1c::18) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f028ad7d-18f3-4150-3474-08d5e7dca827 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600053)(711020)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(8990107)(48565401081)(2017052603328)(7153060)(7193020); SRVR:AM6PR04MB4679; X-Microsoft-Exchange-Diagnostics: 1; AM6PR04MB4679; 3:MUv715ZlcPedyAEbmPnFIaoUBhjCApsc2QHu6RycogPDcd5ceJqrtXpz2NsXLweqlNaw+b1+DIv8K6GNwUmaTj+rrPey2Urr4sf+h+IiVMkltDNS2kP0eEbDUko6BPYJOpaASU5j/5xydTQ/GI9KxD8t2g/B2rw2wNEhxZVVzqSm/V0SmF48Ze30RAsa1mbm/q8LbUhv8Xg5ZWMKF2yH1qcvPwSODXqoSC6t0MDbjsIqQTcfhHW4zvzy+viPA04t; 25:gA1ZMfXIIsuhS7/li15RHSF1mFhVgVVYVxZAOv1J3piaPEbH3cmQaeGB8AN6IfhDZZslGbbWObYVao/lbkjjoofUIE5isu36XBUOMRzIamgmAYW+Gw0iltNS3GYLf90sGtv9V03tqbN6fxiU7LAOW2lR7mwD19FIWXJRIomzTfJOBe45G8rDNFu/dAedVlg7AW73ChOULcPJz8YzF+8gsqPtDqr3uQmMlx8UPp9qphhqJykL7Gf26OtTypfhQBq/hdtEcfkDcvl/0XP9KwnUXDOlA+X1HNFZAXw+gtqP+EStaCIzjfNytmlgOWpTnsoB8fBZdwb+ITB8F1+WnYJaKA==; 31:mDkPmTS6WSLOwz3fSicjjKymVSlVUIGKZDlu/CYHYAq15974Xo//G2gFRBQecbk/k8mcXrZ74reTRXAz3nHgBfFXbMaRxyeK2feaL3Zo6ALa06mLXeF3cuwsHfQm+/2EeeYKZBke37VtbUaRRz39mXpmtmc2xUzFgBEZeuYJhcC6dujdc14U86GJzzXygrdOOjT/AuTQjTloIJ8cNi52FFPmcB1YLbM9VvmKspUdu0U= X-MS-TrafficTypeDiagnostic: AM6PR04MB4679: X-Microsoft-Exchange-Diagnostics: 1; AM6PR04MB4679; 20:WZ7Nsw1ggwhlJmAucuRKtu9g3u0DxWmLBAqhpW9MzUJqsGQ8i8mvF6KCUGAqzZzTeMBRh82lDgIPGTCotog8MrO3utM8h1iHZMQm/KeREkCF2hIKfI6KUifg56XHgiBM/x/TNyBc/n5teMjz5QwAUa0+vDA2gcc1nxSBe1VfrT4fzn2wFdnNxcJLYQjps0mceQ6eoKoZrhjHaS3c8ayoYldkjVFFh84HWwvBa6Ks30zClaO9YrN7qHzRnNsEd2X7+3XMl+wqh68kfapt9nhRHXhWuW3j0FlGEWEgzPC8Pa//Q0ERojHok6cYs6i5n6kGzXZgWLzWmy4lq95uP+HCrxOcp6yTR8tA68E5WP5N0SzMgurRFRKa24CJigyQqMSKFgMEn97JkvfN5EBOfih6lsBEt8SVCH14gk3jFE1GtFGzcKHP1SOXHF/GbKGlT3PGHCyPy+h5J/kZHI9fIytq7vGOQcU85QylgS3G59ffGJwqEeAfc3NOgphzkasl+bx2; 4:p9p2DQYBDFWzlrr59DGtNGhnET0sbdXjC3eHf1LfKUnW/pE+L10Xx5i1DZJReUHDuizTCYqju4H+FhGZvL2ElEr5Jn7VSqV9HFVdufi7oROKKOX3suaUkrD8Ln8akWHWdKqozE1LpQC3nyVRVRd5ut+9dLXeYHD4v0tMqvStO7EspAHdOeEg8pdFcn1y0+ptPhp57rydumiZ5EXg5u03YtMUlCztmfAj29EOzujdPuiUi6nvAAW4Cs+DFMBL1jJygj210FC04szeRb7ZX9mEgPOsRrdWS5geCu/1gOYRa0KZLrCXDAE463ktl2gXKOkr X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231311)(944501410)(52105095)(93006095)(93001095)(10201501046)(3002001)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(6072148)(201708071742011)(7699016); SRVR:AM6PR04MB4679; BCL:0; PCL:0; RULEID:; SRVR:AM6PR04MB4679; X-Forefront-PRVS: 0731AA2DE6 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(366004)(39860400002)(396003)(346002)(136003)(376002)(189003)(199004)(76176011)(23676004)(52116002)(7736002)(26005)(31686004)(52146003)(2486003)(36756003)(305945005)(106356001)(105586002)(64126003)(58126008)(16576012)(16526019)(2906002)(316002)(55236004)(6116002)(77096007)(2616005)(386003)(446003)(31696002)(11346002)(86362001)(186003)(3846002)(53936002)(956004)(230700001)(5009440100003)(65826007)(6246003)(50466002)(44832011)(81166006)(486006)(6916009)(67846002)(6486002)(476003)(8676002)(229853002)(5660300001)(8936002)(81156014)(47776003)(66066001)(65956001)(65806001)(6666003)(4326008)(68736007)(478600001)(97736004)(25786009)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR04MB4679; 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?MTtBTTZQUjA0TUI0Njc5OzIzOjZoT3l5UTJ4MmVZekFhdFhPTkdjRnBTak5D?= =?utf-8?B?QjF1VnE1WHkvRHNzSk9zNFdNemJHM3k4b0hXN0dNUFA3MmFLb1ZSRC9RSjJx?= =?utf-8?B?aTdISkZLU1BJVG1PckFFR0RmMENCSld0YWhhVTFOTmhKa1U1ZjJQV0R5ZFJq?= =?utf-8?B?WG5tbEtZdXArWWliMVRZRS9DQndHdVdZcjRMTFgrV2FFaTFwclQ1VVA4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eM0SeHi0eAk3gRMghEHoI+7/pQCGcIVmd8yBfR8+YWHwF8CUHxXRSXNfvYd7bTLY=; 24:WfTHY1I+OsYf8TZIUT3gYTjf+kzEwAzeEYFChz6pqFW+bNrYP3yw5hpOC/BAv3nBTbFsRF7uFqV/TLIfd3ctN0GD+gUvGIeFXjGw1KI/8X0= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM6PR04MB4679; 7:JjGEiiIdUpZxTo5bGqJ6bq73vbCbVPI9MEtyoPurlm80mPPDIElDB8BQRZKhYop13C9YLbJaBbuwDWeh0HLulyHrZsmNoP2y1fsxmOp8Wi9JgKu1RACAQBFshWS3h9VaTKr5niXGDwwnZXQPkH0qQC+aJjTvCHvmoGcmLuLgsEo6P3tu9ZAaE+zs4NIjf0o5Yd4mb3sfYjyGsiDQ92sovHYe3uk2aA9SVWl2aXXOwgZNTbXV6cy4y3wC9ErgxKQV X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2018 09:48:43.6506 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f028ad7d-18f3-4150-3474-08d5e7dca827 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB4679 Subject: Re: [dpdk-dev] [PATCH v11 08/25] devargs: add function to parse device layers 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, 12 Jul 2018 09:48:45 -0000 On Thursday 12 July 2018 03:14 AM, Gaetan Rivet wrote: > This function is private to the EAL. > It is used to parse each layers in a device description string, > and store the result in an rte_devargs structure. > > Signed-off-by: Gaetan Rivet > --- > lib/librte_eal/common/eal_common_devargs.c | 144 ++++++++++++++++++++ > lib/librte_eal/common/eal_private.h | 34 +++++ > lib/librte_eal/common/include/rte_devargs.h | 13 +- > 3 files changed, 188 insertions(+), 3 deletions(-) > [...] Acked-by: Shreyansh Jain