From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0060.outbound.protection.outlook.com [104.47.42.60]) by dpdk.org (Postfix) with ESMTP id 95203235 for ; Thu, 6 Jul 2017 15:12:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Mjho1avUy2qugdCjr9OvQsKZWlNWn4u9I5IzicxXvc4=; b=A3GPiINJasaIacQIY0PR8Y5KGOWMN71MfL5oLg3ny5aWRyyJ/cp5Z4YycccXsl49UGlta71GMXkX3pSYj8tTFMuoIv1vmJvAiwOYcJGL3cs21cpU7Aw0yNf+cexr1gfX9tgqkJw+rh4T9Vu7lmg9PcZ75kO8k7rs2qKluUCaYHo= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=caviumnetworks.com; Received: from [10.160.0.43] (111.93.218.67) by BN6PR07MB3090.namprd07.prod.outlook.com (10.172.105.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11; Thu, 6 Jul 2017 13:12:36 +0000 To: =?UTF-8?Q?Ga=c3=abtan_Rivet?= References: <20170706123012.GL11154@bidouze.vm.6wind.com> Cc: dev@dpdk.org From: santosh Message-ID: <9e8b63fb-2687-8cff-5f9f-e34dc16ff364@caviumnetworks.com> Date: Thu, 6 Jul 2017 18:42:23 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20170706123012.GL11154@bidouze.vm.6wind.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: MA1PR01CA0081.INDPRD01.PROD.OUTLOOK.COM (10.174.56.21) To BN6PR07MB3090.namprd07.prod.outlook.com (10.172.105.8) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 185901ab-86c5-4282-e7ea-08d4c470acca X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BN6PR07MB3090; X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3090; 3:dI2o+W+2Dl1RRebqsEB2Tu+DXN4cM7MhVk1FbD6F6iyhGvqw6TxiXBTgIv8Vm0SNaXX/Ax+KrJ5SLMfcJgr1R/vTOEepx1jyl3Ut5Sl794kyY6AUJwM6EpLrsmI1TH8s35rtnxAtn3oVI4Af9glCof5YVJ7FbmhMrrGY+Ss+Ain5Z4h81J32IlsSB0BucBhWMQ08D85u1aLVOCqgcnNGaJ5euDJF7iSJpogEkQMIfnerpGM80cCN5vyFx7h25YvCZ9HOqQrVdTlVRTTt5jfNU751hYM8rP/k/+nmvRKgs5EZb3cs/Sl2N3kb+btUd7gY29NjZOmaMYSgZMft4j7AEcGLgTeK9inXrpL1Ls1iEaFAOo3wIRDOnDpM50qg4nZ9mR9/P/nY5HOdS/Nm1f9KHKfJYZHrxRy3m6EQqMgsyNw1dyjuNp992zsx6Dree3xyCIkdbsQ1IzFreUgGqSE4mCIQZ/iuYCR1101tc5zHZstXgUYYy9AEktyFoDQiGVNHPeWzbZkM8FlqhfCGh1NgVx8nG68nyJ6faTnmIH7WuF9B+Qnc2O0BbHT8NhV0aEHEsQ+eBeYSoIOGxIrpjhSkzsa/GHx3BBOW4pLItQeIIWQhhkWS8iGcU7F0TeOZRfoDtmJ6Kajf61ukU9880IMQlFad7xT9eb6gWTl+yCLGXJ0+WDmBZ4oPyX7WF1587uwgdPeEZeiP+4xnBHAbE/OA++kPi5IXP/iQXbCXjdnsTOAAOlu7rQle6yHCUn7jXC/d X-MS-TrafficTypeDiagnostic: BN6PR07MB3090: X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3090; 25:9EXg4TcqB0wJFOo91CE+IadWh5bVuaM8GBx7G1hFnwIp6MerRtzyx35lb+MHOBGR0gSa2DxdQ7LgEiifUU2PvQsv0k+U7+qsChw6yvJHOppX/VUwffTcVWMesLlcxOexOMr4aR6tvmJdyp0+V7fQyDTFzJp1+A+u921Z1le6tR7GW3abpx87oUlyuQGR+80u881L46LWZhqJFc16iKz3WlzXthgaYQNBQQDmPs5b94y4H/AinhmsVIiRmzGzTTR6R6RzTVhioZohDGEke/cq2jrkCCyNrFmLRzXBcfjAgzaxArQiTe3F+P3Iiri8hC/tKDQBCAi6u73QIffmGOz4EVevyz0MXeGIXLtVCWKsxJQUNUuwCoIKPY5gE3FslNPp6T4TYjNf8lL0AjKlm6MVVeuCusxKgyfevL9sC9rys4qvNBKAelv7oknfgqz1LgLPqaPEyOrNmaVAgF2ogCspegUoJ4dGrgL/osGn62gCRxGeCY2JFDjBcMbmE6R0cF3GsO1gC9Vn1yXZAB8XP0Zp0JKlhI1wICSu1aMR25g2WzSKj3T3qw6+UWS8vev61y/35zFj8gL4H3N5QeMDq60FU1xwiurut1z3aKt6r5XCXqnG1prFo/wIWKY4ROE7ExCqAXUk6sMWX9VT9tCoNwjLL8KtTNdY8rTCx4TynJsQ1netR62eBpIqw7/oEZyaE9j2ohPqB/cikYNUYnonLkFkSrS1/LrcfbiaRHp/z9CO10r84OgPG7xDFphKUxCyEcBScxUlWmt9RfI/CXKAOl6CQx9yvakQn7wLyqM0F93nHBfrnW6ak0mPjb6f8in8daAp50/UYyNnNXpBnpD//RFqc/OKxGa07XuBvNfS7T66csvZmjMM/kfNLEEhsDRN0lk5O+tRIifVd+Foy/RGhixy/6xOeMXn5bb4X9lPIzboCy4= X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3090; 31:/E1h/OW3WNAGuEnzKnvAbik7y1gngnGBp/wXcGnfc9xu/kbOsf9Yy7hUKhlE7ycceEjmAhUIYa0ZiG7e8Kh+LgGHadaztH4EoBtnZbE2M2tyC9r+3WdsE3IiWi2K32vk8i1jWFGLul57ogunfAcNvsjobUTxUHn55/VykM/zFFxpIGNdEchz6EWfCrprlQwL+19aLZjenxglg+pGPSTdMWN8ZTJcmDvtEEsCCPeOXNmompl7I5+BAfV7tmRHbhxQ5KpRyg8qsqkYl90slbl/SKYr9raH1qxKHIG4NvtZ46Mf2bLWIZPG5zsSLt+g8FRQO38Sh88PJYs0PzSjTw5w7TMhesTINIox+mOyplli0awt2G4hA4Fj+nO+1HxwgmqBnE7nYBVYzPxK3OzO4lQ3Wuce0rEhV6QimktLMv1jdamr/o45qdBNKsvsCGEPxXG0q+adC/Xg7qPz81gCcr5wL9U2wovqk1/6w5LYghriAxp29iaSXYAeF6b5en/hw+YKmlNTdFHwZ9do3/COc88WfMKfrCnov0K5Xux5HzRLghxtR5GQkOD/hMm5yzJ8Whh3PFX+k2SwB6wjZsh+js1ubMPjv2O8hXQS0T0+z+m9QmzpuQSY1Z00uUfD3x0YSGwzhbTuSRDOEPHatNjeCeoqodJmI5PDKBOnMpWDgXJCi9ILPl5xGDI4RFOOkKnDmBzLgQUE26XnzSijJtVKwDeAqQ== X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3090; 20:0DgJe6qpyTWP3e59cH8gRhkJF7I/K7tz9IrzVQA50sF39HsAm6QowsigtTrOKyv5scaPWYdxKhOUftPQh0JzRfej565Mj2dMoI0cuYuKxr68cKzAwjSE2dzpafnGiYdKyV7Uuu9rU7kqfTmtFDZV+Q+ugoZkKvz2vy2L2Iu+lxnhYExmW6XE6w5m8S0FRp4K34ZUHAklDglgvWCLo5zEaBvQlUlRCiRk/RG9atrQLHUAxrB9lsu/RcZbO1gmPm8OfZznLIaP5eW6h+4q6mjpFcHTI5YAZ+uf+D3Cp6NRE5x+nXfFXsOIM/XRYkLMUw1fblhOXdwk1Pd10/WHwghqE39ZhXlJBazbPEd0CJerkK2m+21wPmRMAHLHeuS/R/Mo2jCkjSXI/j7SnCyQG/7LxP/xfi+e7G8Yl7UZBnjVJ0WxIgizzaXNLpQCzzOWEoww053cOo+8qRhMu1wKAntmaZxuQd38e6uKL9vJnj+l9/Yr5Ld9uIHNHSEGC14qboiLVzAcyrPFmfJ2LABlf5At9/qiCO95cxHK9z8M7r6gNcNmKVWkV3pUoFmYk1FedxWcjPihGHVW5+Y5UfoKFJeulhUuJM+dycUTPP9cUHHaBgs= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(48057245064654); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(93006095)(100000703101)(100105400095)(6041248)(20161123555025)(20161123558100)(20161123562025)(20161123564025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN6PR07MB3090; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN6PR07MB3090; X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; BN6PR07MB3090; 4:osDHO0kzkzhtSkhiFyuTRSg6nLltDivkb0507R?= =?Windows-1252?Q?SAJ6vr8jo64tY1qBe7V6SODNyfowLIdGh1oWdFbMYi9QTPNBRMpEpAUA?= =?Windows-1252?Q?snDUGvaocBoFiU8WMMLpfDEZdcUItN13sQCbhGfVrnyPCHrLBQs9vwJp?= =?Windows-1252?Q?mVONwhqsCcyuxfFXfCnr1kBzlmpk2i1hhPmaOeZGL64MIwmB8pWBsKBu?= =?Windows-1252?Q?pdO1pq6MbnE+qKttvPWEiPE1dJtlfCkOplvyr8NiYi6HPRATIlusIGVM?= =?Windows-1252?Q?R3+k5dU4tDIP903ewPgQ7MEdNIRySNgFoL7GGujVeBqC8VW5nNp/ooly?= =?Windows-1252?Q?Dp0dmpM2jyHMBhSfxlmOs1kQWlidVjOpItBsg4Ulgj1EJd1bPwIH1GRy?= =?Windows-1252?Q?2KU4Urp1WcmMEgQCiviP94Q/pWhBWLzK6RW/rWPlW6WePxMG6naGqBEV?= =?Windows-1252?Q?nQ8bWnx2XdfOuFvHeNyZ6CjyXEdppvVhHrpEmRlo8GY4P+YuWM1Yjeo3?= =?Windows-1252?Q?btqP5kGfaXESrF4npMAUrsK8Li9OeycnadHWfcetmp3liersYX9aTHp+?= =?Windows-1252?Q?hEXAtbP0mOlvlmUd7VmrFs3RxFBbqycBwMneMglRje2Tava2GUy04hA7?= =?Windows-1252?Q?Yw8iihaSP4D2MeHIFRE12QJiVhck5Dwf2JKadarnVgKXl87tCxuCQFYB?= =?Windows-1252?Q?rwJUYTcbdCofQb1ePN1Zf7aVOR3xiQQDVokW0TIa2c/rEVieRhJO6Xma?= =?Windows-1252?Q?6t+GV9lhuIGMcbDGgjRVuYTm8B9QxhMi/0A914yRfwJAg+Xvzy0wcTe3?= =?Windows-1252?Q?YqtMofmYh1qgy/k0cRiaVSAYybguhA2teq4M/OYcFDQhD/bp2RKZDfpr?= =?Windows-1252?Q?RRSYyv104CZyj0GgmYzyqpCyiJuMsl56zxK9v2YQBosgz0jBLt+hkuLu?= =?Windows-1252?Q?QjCAE8ut+awJRzC/0L0cCWheMB1tXinIkN4De97vNGAgfXU9y9agzoeo?= =?Windows-1252?Q?atFCQmtlaR8Pow5jfuJuL6Azyoxc2Ot6HxGYH/TbY5c2rt22tNwunOsU?= =?Windows-1252?Q?80QuH2tj1zWz/p4Hp9dhfZSDwlAeS77d06Jg+n2FayNe+bs7boyL5BoA?= =?Windows-1252?Q?iIqKvA3yzCdhxCXQlcJDCcCfpnhx35fewUGRXzp72jmC1GXhAdvxE6Jm?= =?Windows-1252?Q?zvyrUN4CJkT7EqtBs4NpZov5/Ehw4DLRztpmRmOKjynE7vdOfCgnsQL7?= =?Windows-1252?Q?ct/9n1yJoNGpjErLpzz+iEnzULTzI5U9OvdoDZucaa5XsjDyr3R7R6VI?= =?Windows-1252?Q?E8?= X-Forefront-PRVS: 03607C04F0 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6049001)(39840400002)(39400400002)(39410400002)(39850400002)(39450400003)(24454002)(377454003)(229853002)(4326008)(50466002)(81166006)(83506001)(86152003)(31686004)(2870700001)(93886004)(6666003)(66066001)(478600001)(6116002)(2950100002)(65956001)(42882006)(42186005)(65806001)(23746002)(6916009)(5009440100003)(8676002)(36756003)(305945005)(2906002)(3846002)(6246003)(25786009)(189998001)(110136004)(47776003)(4001350100001)(77096006)(33646002)(575784001)(38730400002)(65826007)(54356999)(7736002)(90366009)(6486002)(76176999)(50986999)(31696002)(72206003)(53936002)(5660300001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR07MB3090; H:[10.160.0.43]; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; BN6PR07MB3090; 23:Hkex1MsybPi2C7lpq740t6AFpUnjRRS36WksR?= =?Windows-1252?Q?thCyBjirdu34O/ro3CDrReTWvXnMCTsbwUYx6KMKOr1dyzvGfokFpnEI?= =?Windows-1252?Q?lwOq27uC5Aeb1zgPFo2voRMdpNSvEXZiXSPug51e2gihGIf8LRV8Qpq9?= =?Windows-1252?Q?mgjUtA/DJI7J5M9bbRwQEI5lsZNNkakKhkAjsTx0sb64kfFU3zUXQOeI?= =?Windows-1252?Q?k4ohqBfNSB/3m5XQQQkA5EFSTSeX7vOY5BcofuGoWNUgKqs/NbpiNneM?= =?Windows-1252?Q?oXt+wNnN4y9Js6tFrImnCnYiVyfCxfgpE0HSZSNs4eRJQj53+HV/RiSK?= =?Windows-1252?Q?tXtDzL17KH/1Wu79J+R3kxTo+FzBBWgNeZW5K7XYkVZkPw09ZEVo7HpO?= =?Windows-1252?Q?c4gkvyLGA76hCmKLYrD7W9xedyO/keH7Br3X/QGqIy+RiWqm2bqN0/4U?= =?Windows-1252?Q?OLBEQ2Cj1H0X3RoEO/CMDVy71g1WGr4fMZPz64Q+6VYDHqGU7rclt9w5?= =?Windows-1252?Q?tC1tcqJMWDl8W3iLadgWAv7TxoIgcDAw978wFZo/GylZBQTfkN7tGSZ8?= =?Windows-1252?Q?1NlW5+BQWIiPdFJC6YuSzPnmtO25l1yCqHI/LnLuSkPpo7gOX+ONbU4j?= =?Windows-1252?Q?wwiybr0WhY5WXw6dyRM7d8eovaunhYU3HW2STeVe8LCXqYAFYu6Dir2X?= =?Windows-1252?Q?xOiFCbpiuI9tzXETKVuvp5Gp796xKUu84uFJl/UUSzyAT5SlV3LlbaIg?= =?Windows-1252?Q?IdNY+3VN18C3FFcK/37VJs2R0XMrSwqYxiVN0yqHMGtixmwFWo6bQwqk?= =?Windows-1252?Q?R061O6KFqwiLADjEQeLmepCgoytAbrreIFs79Ut3hp1mOaC6d1KA++AU?= =?Windows-1252?Q?F5f17P9Q2g54GqXzNHSV8ZIW+e0xudIf3e9X4wdD89oFfggHLChFA26R?= =?Windows-1252?Q?TRS6Xl2D9H4giUvS9DByXPpLqcbGIuRM6PRLNw9VkldTBj8Uw0sJCOYP?= =?Windows-1252?Q?rpfSlQnQBq/yJ0sKoVIGzKLUPhtVrdDGE48omvkQyJe4Lpu8c7QtEUmV?= =?Windows-1252?Q?R6SvUVUqQ+2hdp3wBSECwcTAo9raRR66iueZvpW9aKxWzD4UnPrd1t0S?= =?Windows-1252?Q?nUtmbC3lRe7D06P9S1e8M5s5zYgv/IdBwRAlR7gn8NM47uzG1P1xk9rC?= =?Windows-1252?Q?uogpOTYlj+sRhKA9yGw1G0fg+iR9MM5tfHdUv7xuoYFPSPIIE1E2ZJEL?= =?Windows-1252?Q?dwjaQApqTXnXkguuzAsIvnDHurHTDUnlExcjxtxbAgqJffLUFiHhzXtz?= =?Windows-1252?Q?47IJ171GV4KW5rjlCVbCQgvRj3dlxN52HTiYd4r7udHdBCsXeKTLmews?= =?Windows-1252?Q?AtZ7bw8v4yj7cwv/6AyXu9/blm+mVq8BhGMLSJsI83/V9HPO22bFnt4s?= =?Windows-1252?Q?1/3FXIsUoZSTqVvZa7BQF6aQNPY2OsufKbe/s3qvbo076Guq2fMDMTlb?= =?Windows-1252?Q?G4X+nfVn20oLjdCuyjuS4TZKPBAGTKsBIpDC0K/+SFLRvTLUA=3D=3D?= X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; BN6PR07MB3090; 6:SARiYGw6FyPX1tUooMRxstsT8ukeXC64yCOYIr?= =?Windows-1252?Q?f+d0I8w0cogxYAgas3yRHEQonE1/nwfR4yTnE1FDK+Y8U9+YOMcbrn7a?= =?Windows-1252?Q?Vs4RBQ2zzwsyoXNWqlHo+ZA7jm/2lIcKLVofbyQQQU9ZedK5vt8H6ugE?= =?Windows-1252?Q?MS97MwOI12J9oXHFK2sQ1YP2Mw+qzK+1r0Mpt8VVpM87NKgML+QE1bQe?= =?Windows-1252?Q?PPGYZMrAY+DBgCSrGHPK4rSfU2u5dzV3daZ1qr82v+tynQzRHXGm4bXe?= =?Windows-1252?Q?3NBuCuooruV1LVafv6v4v2EmXIPBkYbGyjtDdrTzPCFRBrTrfactRKll?= =?Windows-1252?Q?DGx+J7L+OSrcu4iSiVQ2hlD4rOYJ9gYpOUuztPT+5N/0a7rFp0LHlq3o?= =?Windows-1252?Q?RsmciCThy4Z8q8WrBthS8ZrWxYkhq8dJniB7SeePvftr0cH3DPW7XHPj?= =?Windows-1252?Q?B8vktI+zUs+qN1bGgHAD7J/KpJkAgBEYXULs1uuJjyXff6Uv+nZ2pwRq?= =?Windows-1252?Q?kXrQfDGSbzt34TC/YZ0+fUUz70jNmdzzaEQTJkFArGOvbD0mfHHqKN//?= =?Windows-1252?Q?93DqMXoxuGl4DqHUpszIAye8hZKZAYjBPFSekPFMY4ZdSH4Z9gokuODu?= =?Windows-1252?Q?P7GN4BFAB30kwLiPhuBizyAvWGFgND1SKemkEDUIRs/0hVuwbDZP7yN+?= =?Windows-1252?Q?w1dZWIHKFZhvB8z1W4QXTXenmNLartafw1Cq0lK7UF4pbRI9FJDnOOGy?= =?Windows-1252?Q?qu+jWAcDf1b9KwLHfnvsRLfnk0uFRb1b1fAludxq2UPrFpFwHorje5OC?= =?Windows-1252?Q?qnZ6iV4FTMu3+/84QExdUxZcmOjlyFLK/NGW+okW9+Qs5K71IGNWgHGf?= =?Windows-1252?Q?w6veuUgbXHdURapspxd6VO1aKNqmcyS33heOsMlXVAIBy9gq53MnM3H3?= =?Windows-1252?Q?pooDlp3wGVk+1OsuD586gnulQM5E6HEcjpW179KARfUXtj/i3wUMXlYt?= =?Windows-1252?Q?w28tmNNEs/YJKPw437Uq03kLFJRRN+8eP6paVUkbVxIL8ZmyZasylsAr?= =?Windows-1252?Q?cRaTcOnlcUg5E=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3090; 5:ur+BSSNbn4MIGmto0yWRGvH1CaG3wM0PbuJ5kT9jonaG/k8F5wwaQwCDiMJsdp+5bUapXH5+waWngNLpzvLwiWJymP1KeO/OSFxftnIdBm89kxGWsn9JxuyM1NTrkxbYgtmSp/HHmBV0WyBDaQe5sJtcGNQENrg6x8TMoRtGLtjBhvlWLNGAWRyfvJKGtAov0hpGCFIejIn6+r/fir8Ce0JDyjnyAgktmjqpQ63XXtRx5nmrooilECVuavw8B35prmqoDSH9yZxuS1g4dx87rqLP1WDijkV9rWm5vpYsRAQn1x7/031+KWgiAZcDLv5gB86NBMGXuFQz8HOnJc54718vdNnOKstNtKaa1x77Vfs+azkvUW0e5wCk7LD80Fa7NoWn0SbPj4LWrMGZY9q1KKpFl9Q6eZQqQEmr4W7FbecrEH0ryKOiPmZfo9i7WCcqYDFPTuJIXaq9Swh4m5jMwgAvI6YJpEBko4nbOe5TDJYF36fb0Y59rk58a4gazOv2; 24:QkaS3gPQiWEjZZ+Wj68w5tQ6iyTrCHFjymq80vUAW8NnvYJ0EL3MpSkS8qX96mmqq5IeRHbQ5On/18+yO/qrnYF/Cxww7XjErJhjnf/QVEM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3090; 7:G1HX9SKoTU5etF4vkmmi2nvw+fNss9Z4EPulC59uc9Oe1FsaYgPzeDW1SOALiN4i0kFYjX4XWkb8oHD3eIbl1aEWHceZ34e7oZcXEONBw42XfmN4h+jgWErvK4+g88iu3xPMr+eSe8hpzm+nU6wDbOznqPruqCjHJQ3S01X+ur0FBTBiwjg3sWS6bGfejTwUxlspmQQn11hA9k+3KlARfrG4OxYpjTjvuzbosl5eTVPTjmptUz1C9HGRB3aQL80hYUXxVkaMKVHroI7IDOQXDQgMVbm6CnzCsWVm083SuRXWHUWTLMtxaUR7wi9X2lHLS6NY9mO4sg0q+irsXJJVmqIxN3oOkcprfNQUrI3s++MutOxsswDJMmxRIs+dl+2GfcszNPZ5qQ9k+0BevjmL0CQs2RTvWDGGL0jTiJpgd2ph8MZXW8ERc3vG1+rSC7L51Q3inVh9QMFLUYH2N1sXTqfsGd6F2oQztD+PsDRYv5yLGN9tBR+Ujv6nluYxVYc/Ie+bBPk/f1RIKY6IS6Uj7pB5pQE/wxwV3Vw/H/lDt8byTrpPD0MbVhRU7I0X/qoWfDenTxcKuxopMn4A7FVbBeiX4gzgWD0znuyip5eNJqgpTeYnMoJzQxTaRJENAqylS/vBcy/pKFrWGxIuIW7fI2zOx/Q8CimWi062okggZPiZ4owYkmhV8oxVKPmZp13dSKik0lBPZ0BFlq5zjLkK4pZaHY1RjYwqOmv8/rp9Q5id7jsTQKQrdpaKdX2bvVNGLE0FM4btyNqH3K8qyU+I8K2ukzzGfd3FY9YrNtGFXVE= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jul 2017 13:12:36.5442 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR07MB3090 Subject: Re: [dpdk-dev] [PATCH v7 2/6] bus: introduce parsing functionality 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, 06 Jul 2017 13:12:40 -0000 On Thursday 06 July 2017 06:00 PM, Gaëtan Rivet wrote: > On Thu, Jul 06, 2017 at 02:49:41PM +0530, santosh wrote: >> Hi Gaetan, >> >> On Wednesday 05 July 2017 05:25 AM, Gaetan Rivet wrote: >> >>> This operation can be used either to validate that a device >>> representation can be understood by a bus, as well as store the resulting >>> specialized device representation in any format determined by the bus. >>> >>> Signed-off-by: Gaetan Rivet >>> --- >>> lib/librte_eal/common/include/rte_bus.h | 21 +++++++++++++++++++++ >>> 1 file changed, 21 insertions(+) >>> >>> diff --git a/lib/librte_eal/common/include/rte_bus.h b/lib/librte_eal/common/include/rte_bus.h >>> index 773b0d7..aebf57e 100644 >>> --- a/lib/librte_eal/common/include/rte_bus.h >>> +++ b/lib/librte_eal/common/include/rte_bus.h >>> @@ -138,6 +138,26 @@ typedef int (*rte_bus_plug_t)(struct rte_device *dev, >>> typedef int (*rte_bus_unplug_t)(struct rte_device *dev); >>> >>> /** >>> + * Bus specific parsing function. >>> + * Validates the syntax used in the textual representation of a device, >>> + * If the syntax is valid and ``addr`` is not NULL, writes the bus-specific >>> + * device representation to ``addr``. >>> + * >>> + * @param[in] name >>> + * device textual description >>> + * >>> + * @param[out] addr >>> + * device information location address, into which parsed info >>> + * should be written. If NULL, nothing should be written, which >>> + * is not an error. >>> + * >> r / is not a error/ is valid? >> > I'm partial to "is not an error" here, but it doesn't matter that much > and I can change it if you prefer. > >>> + * @return >>> + * 0 if parsing was successful. >>> + * !0 for any error. >>> + */ >>> +typedef int (*rte_bus_parse_t)(const char *name, void *addr); >>> + >> _parse handler in _common_vdev or common_pci file return boolean value >> i.e..0 for success and 1 for error, right? if so then >> !0 for any error would be like '1' for error case.. make sense? >> > I thought of that yes, and actually your suggestion was the first > version I used. > > Ultimately however, this function is not only saying "can parse": it is > not merely a test of being able to process the input, but also the > process itself. The test value is then a byproduct. > > As such, I decided to settle on the standard "0 means nothing of note > happened, carry on". I'm not aware of past work history, catching up with stuff so no strong opinion but In my opinion: if we're sure about return values then better mention them explicitly. Thanks.