From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50066.outbound.protection.outlook.com [40.107.5.66]) by dpdk.org (Postfix) with ESMTP id D2A591B060 for ; Wed, 11 Jul 2018 13:55:51 +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=3b9pXmXYlDdCYuecocD2FDV1SFVy5etch/3CqXglH/U=; b=MugFOzvPFtHqnrnViaFrmPN3gF++YKp2d/Rns7uw4H9OEXTO9RW6ltdu6X3JIZ9ZvgoFeZg/pC2URRS9SqTQ168zEQyuXsg1D8Yfztz8KPFRbUZKYkRx0i6eJqHtP1AYqoyrNWL+arMKsHjK5PoueU9A1xYYCUV1gvr8bMnv9tk= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; Received: from [10.232.14.39] (14.142.187.166) by AM0PR04MB4673.eurprd04.prod.outlook.com (2603:10a6:208:75::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.930.21; Wed, 11 Jul 2018 11:55:49 +0000 To: Thomas Monjalon , Gaetan Rivet Cc: dev@dpdk.org, olivier.matz@6wind.com References: <6816f4a37e4f3869422377392689ec9ff3f25e7b.1530791217.git.gaetan.rivet@6wind.com> <1866386.cgS3gS0Edk@xps> From: Shreyansh Jain Message-ID: Date: Wed, 11 Jul 2018 17:25:25 +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: <1866386.cgS3gS0Edk@xps> 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: BM1PR01CA0108.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00::24) To AM0PR04MB4673.eurprd04.prod.outlook.com (2603:10a6:208:75::15) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 65bb33f5-f189-40e4-9662-08d5e7253f8e X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600053)(711020)(48565401081)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020); SRVR:AM0PR04MB4673; X-Microsoft-Exchange-Diagnostics: 1; AM0PR04MB4673; 3:juhWq9ZkGjgcYXF8lDVZkjhO1NTOnOOrE1NCUx4Ph/MDjuQtr2V6/Xg9Eaa6CbDt1rXrFdKU0sJa+dV+Rdu+6dfyXiSnGb073sNWpdrK+UqZCJ+0svF/pgxpdszYdLyQXa4MqeiCt68stg4HSL9PESkOSx682HqAeI2igEEDNYmO0I0FZypDMCnhZqkBzZtYkIVBJ4cbDvfVpF1eTJFjkrof/g32TKhkRUnxmhnmKb+vpvAD6NVwWsyVaBmA+MC+; 25:VujeaUoKYt9miekILOHvGUl1Dgt6ev7pQncxeIYGC21jfyFOMuC0rODZJkTMm0OR1o6oIx10t7IVNmJHrT+cxseAlaZbRPDW/8JUS1tAHAEZ4nhaqPDOHIZCwouapgcXW7OLFDGVCjShPSfhEMJUMAkWSdL/hlZHBIyr6xIumDsU2o/ZuYvRpN7om1DE4XTKWrKwTKi/IQfQ9nixBF/Sw+8szHEVTX65IkvKjkAQPZ/Lr5RAxoUATjg3ZUbA1D462B/OOZGhYjefsZM8rkEv4ef45zoOOLcADTw9mwCGMpvwVzI/xz0TXVOhuQkxgrzsw+mLlwo0bJa8192O93n3Sg==; 31:GRzTyllL1ny8QxLC89dRwLUux4OiD5E2R/xUo3vQb8pb+3ZalX9lfqtl4dsdGOf1UBRYu2BCVW1Eby+zOh7sgAMTF4+VHn+LES3gClS+zHr8dLP1W/fed0reb6yeNhDbaQ/PKEFf08/BRe0yE+dHT6IuI7AO14E9aim3vw1IMkKey+tXOKbUDgNDInhttqAe+71aTu8de1g+D2zVRqk2kr0F8IYqijKdPFREBK992t0= X-MS-TrafficTypeDiagnostic: AM0PR04MB4673: X-Microsoft-Exchange-Diagnostics: 1; AM0PR04MB4673; 20:7nd6UG0vWS59T0cO81AeIBTEY3lVrR8e2EcrQRIQV7LyQIOkjv8ugDOQSvPcdYyMaKq1tspn26iytdrto+uTw22FrQoqj2J0wzmZ7kKG0S/YXnoaFSJZFB03KHSUItk/ZHavoQnj4YpeR/F59NpyOHEtaot+PtB8+kp0V8YYBZRZuVaEps7hSVrDMOcAY9lKToYr1l5c5EfLFFo9rsLAHk1M61ZwTxeClnqLZoyPbD4BpRjXC2XgfY+NdyNdmtdjIYq/jJkDvBZEsQNPZ9+ifgUDSuoaWrelxg4wuzP75vMfszvhA7QuB5R7vN8zNe8BwhIyFVoS8qhSwme4NBkTjp36EHcEM0YUAipiD6jhtmUza7bS1Ld8zR/KXoUGjcWr+TKFYZAhXADweNPR8hUH96jAG9monBn70aAxTjT5hEDaSPR/ION8LtT9xoQDeJ1x+XmdnNtqToigXzkPKTiKiAPIF/VoWtSKHW9Lv7wPkxRQmwqDxeXJtVJk6cGOEhFw; 4:Zyx2aRcJHYuiOxv/rGerTS1N5V1hkkoeeHPqn7MZIqqGA2+AYvhU8W0Kw7zb0SA2jf69eQlCZ5aUMbtNaX8HOB+ddMOC/ARJiwwEbQOTyx6swqeaXABfd1F67owKjXZhbDFtWzZtiljPL2V00Y1kEw9tHAl3GU8J9qjoRtVqDCVBkw7DeQia8ct9gJ4+Zc5Dq5Uwd6aV5nUXKkvWvuKgWN+EwbB42KuvzjybEaDC7kXSaT20eAWfSk5gcHTyFVl22tWFsF0RVkB1Zet31atGOXY2XkdcbURrqyOeDDDvcT30BwJbjHqfoIgdZHYsgcTd 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)(10201501046)(3002001)(93006095)(93001095)(3231311)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(20161123560045)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(6072148)(201708071742011)(7699016); SRVR:AM0PR04MB4673; BCL:0; PCL:0; RULEID:; SRVR:AM0PR04MB4673; X-Forefront-PRVS: 0730093765 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(366004)(346002)(136003)(376002)(39860400002)(396003)(199004)(189003)(53936002)(47776003)(65806001)(66066001)(97736004)(65956001)(25786009)(52116002)(5660300001)(6116002)(229853002)(3846002)(4326008)(23676004)(6246003)(2486003)(52146003)(76176011)(50466002)(65826007)(68736007)(7736002)(86362001)(106356001)(64126003)(5009440100003)(186003)(16526019)(55236004)(386003)(105586002)(486006)(8936002)(110136005)(77096007)(316002)(26005)(476003)(2616005)(478600001)(44832011)(31696002)(956004)(230700001)(67846002)(16576012)(81156014)(446003)(11346002)(36756003)(31686004)(8676002)(305945005)(2906002)(58126008)(81166006)(6486002)(6666003)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB4673; H:[10.232.14.39]; 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: =?utf-8?B?MTtBTTBQUjA0TUI0NjczOzIzOjdHNGZMSVp6VW9mYkl0NVFtdmNkaFJONDVa?= =?utf-8?B?VjlQRElHdFhRVXpPN0lVRWhLRDFVUDZld3JNY3ZOSFdTYzRuWmVmQTE5WnZ2?= =?utf-8?B?SmhFZlN6Qk1OZ2hERnhVSWUwNDZJQ0hpQnNMd041ZGdxVmk0dS9PNHRwZFVa?= =?utf-8?B?ektJN0JobFI4QmE5ZG1MUm5v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yDnydaqqlmvSaTn1BUIjiCrLjdOM5wJsUdLN7EFQZ5X3UskCpD5xZz34rgD7kYA35jiICLTya+OfiXoG4XNTxpAbiJGktcfcY=; 24:MG6NwtFbODGtALAofVPkSO1ur0a4FTonP/49Kclt0K844ORnN4OD7XYN0p8w92mCB2PGk7+o7lQOqar4TPd0T7Dye2ZdE7Ry6vdV978LEM0= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM0PR04MB4673; 7:dFsSaj4SWAcVaPFGWJ0hE4+72+rcw6ivyleGLVb4u41SXm4Ej3mDA2Wv6ZpTjuyYasjSzUEXhZXy3uKm/A6O1S/X0AL53aEOWnRDj57CPbH2sOy5cd+OMMsIDWllkwV5/bstX4WkHAClidj3AA1T5jyPvSeczgnyfOuIJyHJHHpLHAm0ZL8EtekSIaRo7QpTfN40JFHu9t8WscFhsdYTfzZk9O+gvqwTL2iWBH1c+WazrX2HMQlv7gtH6ImrLxvp X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jul 2018 11:55:49.9712 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 65bb33f5-f189-40e4-9662-08d5e7253f8e X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4673 Subject: Re: [dpdk-dev] [PATCH v10 04/27] kvargs: introduce a more flexible parsing function 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: Wed, 11 Jul 2018 11:55:52 -0000 On Friday 06 July 2018 03:30 AM, Thomas Monjalon wrote: > 05/07/2018 13:48, Gaetan Rivet: >> This function permits defining additional terminating characters, >> ending the parsing to arbitrary delimiters. > [...] >> +__rte_experimental >> +struct rte_kvargs *rte_kvargs_parse2(const char *args, >> + const char *const valid_keys[], >> + const char *valid_ends); > > The name is not ideal but I don't have a better idea. > Does 'rte_kvargs_parse_delim()' seem any better? Or, a more obvious one 'rte_kvargs_parse_with_delim()'. [...] As I am already late in commenting on this, I am OK changing this later as well (using the 'experimental' blanket) when a better suggestion comes along. So, from me as well: Acked-by: Shreyansh Jain