From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0058.outbound.protection.outlook.com [104.47.37.58]) by dpdk.org (Postfix) with ESMTP id 01E7429CB for ; Fri, 14 Jul 2017 11:21:29 +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=p7ZX0SAZNli0J2sGjpdgvlx70Yf349JNsN7iGZWrEJw=; b=mXjwp7vTV/LtKDMTG5bsid9oyIkHY57eUxZ5Oy/aeEIkXXr1ufxVoHKKd21ynTW2qTfQbDJ8V/y4wcxHOjKEZ3QFroAQ3JqXZKxCEJtAkjvqKzYNoJkSJ7W6cSB4PenriQ4KayeRu+B50XvYB9MGn/4SuGFWDvuzDTl6CnzBauk= Authentication-Results: 6wind.com; dkim=none (message not signed) header.d=none;6wind.com; dmarc=none action=none header.from=caviumnetworks.com; Received: from [192.168.1.100] (223.180.9.21) by BN6PR07MB3089.namprd07.prod.outlook.com (10.172.105.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.13; Fri, 14 Jul 2017 09:21:24 +0000 To: Hemant Agrawal , thomas@monjalon.net, dev@dpdk.org References: <20170710114235.18970-1-santosh.shukla@caviumnetworks.com> <20170711061631.5018-1-santosh.shukla@caviumnetworks.com> <20170711061631.5018-8-santosh.shukla@caviumnetworks.com> <84703290-1800-1f0c-8a48-bc2b60eb7839@nxp.com> <00d16b14-0bf7-6352-eb78-488ee3ffc16e@caviumnetworks.com> <91dfb8f7-47d2-0b23-4c96-c76b30843180@nxp.com> Cc: bruce.richardson@intel.com, jerin.jacob@caviumnetworks.com, shreyansh.jain@nxp.com, gaetan.rivet@6wind.com, sergio.gonzalez.monroy@intel.com, anatoly.burakov@intel.com, stephen@networkplumber.org, maxime.coquelin@redhat.com, olivier.matz@6wind.com From: santosh Message-ID: <403b5751-e5bf-5ddd-1c1b-57d09150edfb@caviumnetworks.com> Date: Fri, 14 Jul 2017 14:51:08 +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: <91dfb8f7-47d2-0b23-4c96-c76b30843180@nxp.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Originating-IP: [223.180.9.21] X-ClientProxiedBy: PN1PR01CA0117.INDPRD01.PROD.OUTLOOK.COM (10.174.144.33) To BN6PR07MB3089.namprd07.prod.outlook.com (10.172.105.7) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f9967ce4-23b9-4917-d6c2-08d4ca99b505 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:BN6PR07MB3089; X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3089; 3:XjimtHsP3jUfqaM9NQqqj0Q67UEbF1+xobf2R3cCu8U133I+YXxlnqProilqNhIgPEq8waKWqUmvtRLikc6n5oVQAVlD9opSx8eqFS/am9HTm4e2UVRF8ZOAGS904vOmjh7WdANCYvgU+6rk6FKCFOh3K8aQjT1XhfKCdrGvBrIDlo9S+pkb9im1/C92kGx7R8r7fNba2SZd7FgYzbMhXnO6BUq+F4G7Ruyr67TZcCwVGWfYiGxb0npkNlwOkN5w2cnNZcklsi1r2dWsegp/QNYCh0H4LDJ2n8vBvr+3Sq/xjghYxcmAUw6lo3idu+DVBvxkMw7N6c3EQ8J1guWkG3flW6k2ZAF1jsbU552+inEfS+Go/yqHRz0yPCaq5jR/1LpzV2U1lyZanXwQYFZX7nPI7VfJurkLXUBLJfcrkWtVyUoVsX+5mleosV1wehCwV0pX+78e8QIHtOTDynU4Vz+Mwh0EIM1F8aFxjnZn6jL0jlSVabUQqke5OhIhNqyXYAHcK44hUUDGjkKvLHQ7GPS33Kb9ChlupbI2vWa/aH20UO+c7KpIJJxkyL1DdFtz7/8GWJlTC0FXXZqtmpTh5HezDg+K9imZZep0Jv3BrDM81fA1OHFBoCAjXsbQl0gzn3ypBcGEMGCp+2eCtfZY6udCwCVwZww2+Gf35Z49xf5AbvtiTTSuqwvcIjY90qSF2Es5xeGaTJVB5xk+SFfnyDUK7cCopzjTrxmFW5LvWIs= X-MS-TrafficTypeDiagnostic: BN6PR07MB3089: X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3089; 25:SbVZL2FkHbmq7c6m8X2FqHb7zkUAfQi1t6vz9RqBLwZrwMatXrkuzxLXuMjgTN8BUcMSEYY2YLQkVJ9b7aI+Vj3Y6Pzrt91DVR+iQHFfYk6gdfEGj2KvUqMmXkM7rMPo2TZ1XmM71fzN0eYVdDSf5HVc6tgvpxUA+38kUn2ZOUegyeseruc4kS6tOA3fFsUHpzw9tt2s/xG6eT5qwj4kisti4TITxV0ajNQligBE2YECIS3w6McDXqGxkLCP13KVjyGAO9GifHktO8H8Pc7J3GgcxT5XOa14ARjmUIIB60VzR39K1FZWmOqdOlYnxX8CcU6Qf8PqkemSLIvNGwmtW9NG6P/nQZAzaOsL7VqmbRCHu2Dp0UGQDfK3i8s7iommEar79s8eKfQCmZRlXqPD3eDMlbxWESqm4rdD4Q8sDqWXEIbrojdcJ6BYySrVdJaiNDgP969mjf02DHuohjQ2ia9eHejdH71QkiHu3fE75xg7dZFx+VircPd6OxpuUTUkyLMKLe+U/SUKpqst5OVIJ48l31mtLZf0jrbmvXPs5vMUj2G0Q1JkAqQe6Dt/toS912VEfwobogVxIzHwgzBHjgGZ+zheZAnP6yXNUIT/Kgpvi/9p5x1J0SVj+/wa4HkSEAVP4jrHjM3VBfmBqC+Q43q9uwa6ijZr9J3ZtS0jdc/7KI11J1whensSZHqhBiAdOBHfLF9bQ9Hz566SKKXIhbB719rhQlbcnfyqU80GT9Ql+mpYYbD7gUetzaEj+kyhjNho//n0cl7/gmubnakXFryHENlkHR82y7wO5RjnSRqrldhrwWwfSHHRnfm9isLE0C7k5I68gaZGLtwa7ZXByo33zwq+ADPyrCwhnBX0rPsCpSB/Vyxhqpl2q/VjlsOIpIBuQZ3k5JtRLVoLY/71mjKQ8v9cN63keyEuGANiN6w= X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3089; 31:vk9DydivujgnkPYEi3FJraenxgADY9t7/tAk/KqPAZPzbZGhUYKZ8ArT6cEqmJD6puAQEWtLsgKWxtmDm/PUn9xtST9OBZN+8CqIxOUXt9vcFep/kEmwwoXX2Ly3uQSz2k0VqYUayXMXb9rTuR8+8stTllkktyClaDlR+cMqr4d8U8jYZZdmPlbGH8bR4B/KgeW3tU4sBYpw+WaU74GC9iTgn4INhxPnIB9U8MDZ8dcm8a6hQmg00LJYkU/aMM7HAN0jgMSf/arME1FVeWmlAzwZQ65I+THkuFs95G+tR/j1N4efIyDWAW6/VvH6aWTqapJmD9TBOWr+X1CZA/9toWsGHj8FwUfb52kNSPRv9Mj23Eayxrwrqzu7pmjJ4qrGz8m1UQ0t37prLrWslw2WCZF1mgbATGEGAH9kOLvAs5R9gy2PkE46FjZckaX/RwbqGtM7LDKlTjIG3ZK52oDPlXHBDZEhD6U1KraRktM6kuq491TXPI+ygXWAmVxCOe2IbWqwdL+coM055S6pwTz8t296FJ3kNrIZIaXkMKwzBPZs/P6R6c0jWIPbzxb65WDfnSfTw+H21zRHmUkC2quMUagr0ib4FGPzytRhrRVz2ohugvTaKBBZ0AB3C14/yYlP18x9I5WZgflufmc6JkUnkD0F5BiMhy6RV2MGvztlYL8NqMUoUy3NzP/FVPbUC71UqOXraLmx04S5hS+wqn65yQ== X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3089; 20:vpCUqVBezcL8moE359B/kFtDaRVGQOJk0rmORuZwMrWQN4oXCkwWNAfShfqAh6xmJh5jogYhjrWdcgFOP7Sizx2sgh0JoHakeJTWAc77AlmMZOmXYLcI3HdoULn3ApsrTkrWeUwZejW8aepQx5kHZ+0LV1o7Zb4jw7TNdIO6UPTG3n2gi4slRp0cLcZj4Qz/fWW4hTon1Tto54BHPL0JG0Dof4UJ8P6dI0h7gdK1vIW118dgE45UnFqzj3DGZE14KhdgrtehhSn2N9fbI4Ul/jaQmG4aW2By1sI54wRt0PlryNOWF504UF699pC2kDtQcbgPMSXF3yAXK4VdDzlq0ZLE4qF6nnxu6e4wUqAuyBmsO7uTJ+bxSA3JrwCyX6Pxf+uFW4fwo0nk9IM59Op2kfOsWvLDNAuF8khpayzaoqmGr2hX3OB8hm0OEn6o4+x8DLV0Mn6/esy+ctoS14+5XHTVxu9iw/gxnN92YaGsVcro6V/4PBYdEWB+xNeU36g0j4m0i7CF3zkfxcoxEh3XdUuI8ag8nDwX5KX5pA2HBxESP0w5vj2gnjgx7DXOe6MElUfVAzNpaWX/Hu/5qk4rDD7nZi/11UISlv5M2KWoQ7s= X-Exchange-Antispam-Report-Test: UriScan:(133145235818549)(236129657087228)(48057245064654)(148574349560750)(167848164394848)(50300203121483)(17755550239193); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(2017060910075)(93006095)(10201501046)(100000703101)(100105400095)(3002001)(6041248)(20161123564025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123558100)(20161123562025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN6PR07MB3089; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN6PR07MB3089; X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; BN6PR07MB3089; 4:+zHJxYazkLjafeMYBvnDR05GyVFI09fS1FoAN7?= =?Windows-1252?Q?LRkt8k4tQ/xzCuB1a3dMY8Y+5/1SMrIZVpIzjpg5hDh2FjgrSIwfiH9p?= =?Windows-1252?Q?fMiUm3E9kJlhWj3uvXfOwUpXYeGpE6uwlHr00/T2Sb+zhQw5Ox91qBCc?= =?Windows-1252?Q?/S6VDwPEmgzTm2NzugmPO8e8fjjxHtb+fIuypneX64oZp704AzzAKkuy?= =?Windows-1252?Q?ZbZYIsC+cYEXj+5ewI2G4UK8a5SWY3FCa2yjDYSky8dH5wdERT6mw2tO?= =?Windows-1252?Q?2pJ+yUQQysz8BIua3JBPtRrRu2yrUiIqSct/auZON7TCZXBasQHrz7JH?= =?Windows-1252?Q?Y7iziUTdsXth5i/Ui0jautt8IFpxu3E/SJ44rb01fp+ye63UdPGT2wpf?= =?Windows-1252?Q?eKWezoWBAfusHdlbZisY4PXgAO7L9LTMkH8nQD9mjbNh/s7tmsRIluAE?= =?Windows-1252?Q?PmoEsY+9zLGqBO5K8SG0XkeqL2XmDBEhLe9Isiqb4b99VwrqoFYxpWeh?= =?Windows-1252?Q?jcdGEJ0Jbwy7QTJ1yn8iGxgR3yS4tUG9Y4zUw/R8heKeDUg/Kpilq3VV?= =?Windows-1252?Q?yhtlVefJlQbtIuijv/ej+cX6nTdtQhTgnVlXjdp1PSDCtf1VTPPsOUEL?= =?Windows-1252?Q?D6hI04mPJ8P6qcmDaJlNOmjqUmF2zk7qc1eJK9dOcETQ1nr2JlHhdRDl?= =?Windows-1252?Q?voNwyzPwq4RzDeF/s8Ix0ElUKQf9rRs+B8yEGPCISRVy8tE9qdHcApjc?= =?Windows-1252?Q?PWCPiTdOrFYhRdVxkaSbAAh+k4smRM0Wv9YK0npCUhonCa3KYj4T5pA1?= =?Windows-1252?Q?nJwAxtPNvHLK5zcy5/reT0mHFT6tD5ART6AyUUXqTGP7o0mG/Luin9Ov?= =?Windows-1252?Q?8TT00tTO+0IlR8Onba08vAA5J60y7s+WUEg17v1gG8oCptNDlIjXovUt?= =?Windows-1252?Q?QKV2nDYa86fZmNPgb4WaQoHOdb8g4ZsqG384PzQEqOxU1ESrnxCJRyxu?= =?Windows-1252?Q?99DkDmlXIDT7PH2/aN0yV0KxenNAXR7w/9UdLVcrAStvevdf1CjG9tXv?= =?Windows-1252?Q?eC4rI6j+qGaRtXtISkQx/uYxQytY1Y5lADy88EBVx4azYNGXaeqfMkvt?= =?Windows-1252?Q?yMHW0uMb0FjTU1hYdfPmR7jSfQJe0S1tGp5jcIH5UTPa+m9p6M1zN0fG?= =?Windows-1252?Q?X+ecXT2kt5XUWKRD1eOgGl0xS2It07cgGcP46uXOrxqN0xNdBxIeMISR?= =?Windows-1252?Q?Q7zjdTn+27b9l61TxUQy/34r0p0hEPogQDdHMcgqfI4UhR0jK+5JER0Y?= =?Windows-1252?Q?9gFH9gdi6XOv7nBq1HsXE0S4T4SzlibhgHc7l6hALQYlwAgAj9X1hpom?= =?Windows-1252?Q?V7zvdAO/aqGU7aCyadlFXfZcAtbdbEMQXtlcoYWFsgOJEjdVJy1M0Guu?= =?Windows-1252?Q?iqvii8ona8xnR9P0YezUaUX+i+V5HYhzYpx6/Bfo6me3YLh49+tplc0T?= =?Windows-1252?Q?gVSxcMewEduNJ8DYHoG89gwmKjF/m1dHqPQV8a7bpeBkM+3w=3D=3D?= X-Forefront-PRVS: 0368E78B5B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(7370300001)(6049001)(6009001)(39400400002)(39850400002)(39860400002)(39450400003)(39840400002)(39410400002)(24454002)(377454003)(6666003)(77096006)(7350300001)(76176999)(54356999)(7416002)(50986999)(65826007)(2906002)(4326008)(31696002)(4001350100001)(3846002)(110136004)(38730400002)(25786009)(42186005)(31686004)(6486002)(230700001)(5660300001)(83506001)(189998001)(72206003)(561944003)(6116002)(478600001)(53546010)(8676002)(305945005)(8656002)(93886004)(53936002)(81166006)(36756003)(117156002)(23746002)(6246003)(64126003)(33646002)(42882006)(66066001)(47776003)(86152003)(7736002)(2950100002)(229853002)(50466002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR07MB3089; H:[192.168.1.100]; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; BN6PR07MB3089; 23:c1CbP4j3anrmkJGWlqwCHZ1DEa/weHB7q/BWX?= =?Windows-1252?Q?BSfAPx2+1SVJZ0qRllh1zRdacPjqpJpQNNoNLEJpsmi+g+Jcu4H4pXHN?= =?Windows-1252?Q?nA1MUliH08eJLumoMERXQ/yBPppkTZmYnuH/UamAJ5nCmMKCoBYP2Xcd?= =?Windows-1252?Q?EgDk+eD5WkFK6K7TMlThfASMBi6tSVhVeGgsRx088gnXAgL/d0QYJs3T?= =?Windows-1252?Q?YsIiL1uVG3MGYyr3XDbuedkexaPibv/m0ftJYMr+L5JYKA1j4kGtvNei?= =?Windows-1252?Q?RorgIRXY6TAU2POSz8AO/QkLa/1kLW0YBoppyO6t1tScNK4uKKufD9BZ?= =?Windows-1252?Q?vxwlt96oLp3QGRwTRaIB6+QUE2GxmN+LfQLWM9av/oa2wy0vRL7dReGT?= =?Windows-1252?Q?HEwrBLSnV1Rjg1kud6kS3QhGVwVSxLbAlICCCKvywCRJ/lUM3yEL+FwZ?= =?Windows-1252?Q?ZP5xuRmphZyd8zQSmHSQ+iy8mP9kt32a9w3Jk2dIaf5VD1A3A1wKgmVF?= =?Windows-1252?Q?YW9q6czTjvXgxuh8aCERGniByOvsTbsi07CAj6nk2gsFV8OXJTKTgaD3?= =?Windows-1252?Q?VCTdrp/5lSaTU+VpuzUiX/LasCY+7Yat+NwwSp/oyz9BjOMnMYbeajy0?= =?Windows-1252?Q?ODOPf3+MQ08dX80jFO8RO3d6gt4RTJ92XL9bK98TM/LY5/+A0KcWan4O?= =?Windows-1252?Q?NQ+jXsK+9xGf/psmvatl8MxowbNkKnB5aV9uQE9IOpcPKD3Tvqp1/6jD?= =?Windows-1252?Q?nXs52ju74crcTOXH+n5pgN85MqXUqd+dDO8o18Jd1fTbKWw9irtseyfe?= =?Windows-1252?Q?HIu+GqZ5wivkp/P7T/lXV6WjT8iXFqMTzwjx5DuGODpuaY9jqIB04M0R?= =?Windows-1252?Q?A4WkOecry0cajCq3JZ3zYhV57qHAnFc6U7iZ8Z1mR5O0JXzord5gfUpF?= =?Windows-1252?Q?rUiwbRX9pOBIf5zRV+lWO/j7yQPhRlUTw36kfuseIrSoXjeQPSdFtvQg?= =?Windows-1252?Q?0JeXHBPM86ic3yJ2gJXabCj3L0Y/J9O8xZhNJdMLv2/lwESEp8fosR48?= =?Windows-1252?Q?7Ybb/LhKMuhwz1QmcQ9+zHjwFAnuS0Ym/w1M/WIL9WhXQ77k+NbLPYJR?= =?Windows-1252?Q?3sKq7sE7NU0gza6dvTvSrrAL9aCP5nc3iLPX9B7vX1droe+D/bz3u07U?= =?Windows-1252?Q?hHu0H/sKKAt60QHbPRzWkIPr3KJLFIykduOj8+4p0x9NzJr7EaloJu5X?= =?Windows-1252?Q?cWCO9uRvbpfugJAEW3YSGnBavV1CzpEy60WjQupWXbCo+4bO0fcJxIbT?= =?Windows-1252?Q?pTE2WaRPP+gW63+sG7OwQrZFaVrhuq5hrnlZ+XBZ5GBwBHVeUw5ezIRc?= =?Windows-1252?Q?YeE3e7qMuoIeH6Bl5E1ieokZZCSwfWhruFMxHTNWcj6XJ6Ez+qFA6axT?= =?Windows-1252?Q?BG1JIpBY4+GU8I4+Ljh+U6zWxQ2xNoGDCaXilxgbWJLcah5Pm4tR0TsL?= =?Windows-1252?Q?32wn/NwG49wys51QJ6NFlTXFZwDRVg2kl9QJZVvHUBgoHziNJpO2c1E2?= =?Windows-1252?Q?O0hNd1iZoWK6etHsWEM4nDXz42y7LMXRWPcE8K7Rxp7BfQvlctyDNVua?= =?Windows-1252?B?dz09?= X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; BN6PR07MB3089; 6:iRALBSH6ZuvhjC8uTJYBpjVpW9217TRfr/WswY?= =?Windows-1252?Q?xFZEij0M+8xjK/DIpEAMYMiAuNxudQ+wHkdj9iR8hz58Ok/FGzj1Zn9S?= =?Windows-1252?Q?nhreCb7x0nMYn3tk2e83DXlDXku5DVmeZ4vqP1oqEX++HU4W2uVoa3Hu?= =?Windows-1252?Q?y+dKaED9rNKb8gkZGlJgrJfVQMJZLmAJADqNT2BX/if8etUk6XiOTK7K?= =?Windows-1252?Q?e83YQulK3ISXbFpc29J5rq9dUVD3kIbmkS8OsNk+r/Mb+oPaihVVMlyP?= =?Windows-1252?Q?yTg9XSYWubYtDH5ibfcYDD/6uTeHkohra9Fja8lwNxd58rMOaYkw56C4?= =?Windows-1252?Q?gvq0Ifoufun139WgWiu6PjsXC071SkIZoUKecbigm2Tq9kxNl0/y8+OB?= =?Windows-1252?Q?8Ry9SipeYo3vKd55p+GHefidzS4Fgu3Gucqs1QRi+iNlK3X9kIqDCg5i?= =?Windows-1252?Q?moVKL7WUXwKtG8mnQZTvXRIyUDqxEVN2BONp9ym7GoIRm1C2AgOgOVPY?= =?Windows-1252?Q?ByirsisqHmjhRjXTrvFXSTX1R9NyaVk/23aNrfmHoMHQKDYgLWMdojTT?= =?Windows-1252?Q?1a7qDafdyjiH4lVtNRQPO4GlaBhBaSIo7E1zPkNDqf8UoKaXK1niszpc?= =?Windows-1252?Q?uypl0VAlMu6kCP05eHD0Hk+k+H6xPZoevcIDuTPFbvSBHVzPb6GkYJ9d?= =?Windows-1252?Q?ShI2GBAU1MT7OUg91bxKUgRYCi7cHNnWG6DPh8ElDkYftcDJ0b7zdRYi?= =?Windows-1252?Q?sNFKllKDFxG9n9toAjPXI69zhQ0/ypgsqGCH6Rcc0G55/9KLN7MOzUMK?= =?Windows-1252?Q?u9zvzYHK1uNbh7iVkjg+YpusGazIIrPbU9lZz6p9fWjuWlGRCF/D9JS0?= =?Windows-1252?Q?1GntVyZTUpAAz+hcQY2V3Ajb2vbteSgKVqmnYk3xv4WvvgahhX12fFDi?= =?Windows-1252?Q?laLiAzRt502HvgT/kG452tGg5dDVKrvzN/jbtfXi9qLjIlGMHbX+DmVD?= =?Windows-1252?Q?k+Gp8v76rkKruuRtfM+auqerzXJ9U3v6IWwdQv2/bjDa12pEuHR3xNL4?= =?Windows-1252?Q?Q4eIToqeqZ/Kw=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3089; 5:XiF4qFapswCKylO18UBFLn+FHEbCmMIxc4ina8fjZ/w2ZDO3eRs2u0ow8ouPIqunGrZqeUUgPsFCVWAHoT0Z2MhrE2/HxkFhAD/qp0+fotsQKIfl+Tz8/zugWPmDFWBXWLWdfLIi9RVilX04deAiWKdmA3JWMgnW0YCTo3cnfMZ6im7/m+1tf9r1btWfgNZ+szAq/rX7vgK48Cv03JMVpcEw/MFcRtOA6Qz8BKIIPwMaHsZnCI/o7Ut58oGOnLi3aTHn6kz9mg5HctRyDMj0tE5xiTMGKj81ryxwzvQfs1ZI1raIQtJ5voVGsQ7BBxcyhYxSMKB08k9DJ+KuhvLoiVftVoKJpDT4cpOVWvx7ch/0PGcmxH9YK7qtAplNrtkGQiF1qGbQ7TzjDk1EK9cyChoAffZzp7W1yoI9f/GFVbNv/dVpIhhhewRL6NOjpOGFjDL3TJFGyIqFXxx2XGphMstmyjDur8BkzeolrCU7MtlmJwGRcCu/rjnPJtzGRhCB; 24:z29DAFdMJ8mIP6cN1lhAcbg5/nnShkBYbwYsTugVK0PryKddIG9nq5o+wujSnSlkyb+7r2jjU5nYUhLjG443Ufz0UmB9d/WVHgFaMhktJ7M= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3089; 7:6aIM0rAjpOAkszMygPyXyLXH7jpfT8ey5tOJi6ZKUGi076G1RJkAbfeh3+R0qSgqMCZyPkevf00VmANXcH0mox2YxNPd+9e75mU2dW2QEK210hLM3rjDwrpI3WZBPAZu9JcTwAhm+OHZAvTxg4hK2HbucrU+3nzM+qD3eYdqPEbmNbLTu4647Qw59bTmv8Nc5B/xEt5OxeNPRnOl2Ik270nysRwhG58kDyfQVMQunJFumKdtHy1sB+cbzCOiaw/MSrJIWSiKglYfykkyVG76lWxmLSzDf5gRIGTapmn48yhgUgAIIKZP5XN3BaARlwY4RXggChsq2qgR7RiECdAQFDbZcxnrfQB7FCCd2kFOApzoQ7aNFPsYdXwPxRP24UgZWzdVYJ8/9HDnxqJvKRUMnvGGXFoV9nzD5gG90QoxipsFy9OI9JoytCfVnYCKPsEzHFOyl+i36aDoRzcGhhQq6Ey1nBDCBRC4Uu6SiYKPU6iRLdoOuc8kIVu2SeybcA9v/0hYIT0J5l+AFjLZDWVjyy+VsKFtbX1FCmD715ckNerQ9bk1vd4X+dIvxDPa07eOc+/lwkJP3ObTVEyCTqnFyBgecJpDZQTqGlDu4JaJjmyy7bZANJjxZ29ZvTqi/StlaUAhRxy0YV3/CCUudDzkKWcHjz42ZEpeL8Vz3LLiQbEGMsdWh7MbdIZp5FJyQRl7hraxnlFSkHkws6det3o7dhkFVvzDBf/6KuwDVuLAc+GW32Ovtp0/u4AiK5wbL0ZH+/K5u6kJBdsf1j18hCUdyRMiVMKrRK6kpiRMUxOd5l8= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jul 2017 09:21:24.8335 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR07MB3089 Subject: Re: [dpdk-dev] [PATCH v3 07/11] linuxapp/eal: auto detect iova mode 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: Fri, 14 Jul 2017 09:21:30 -0000 On Friday 14 July 2017 02:19 PM, Hemant Agrawal wrote: > On 7/13/2017 11:55 PM, santosh wrote: >> On Thursday 13 July 2017 04:59 PM, Hemant Agrawal wrote: >> >>> On 7/11/2017 11:46 AM, Santosh Shukla wrote: >>>> - Moving late bus scanning to up..just after eal_parsing. >>>> - Auto detect iova mapping mode, based on the result of >>>> rte_bus_scan_iommu_class. >>>> >>>> Signed-off-by: Santosh Shukla >>>> Signed-off-by: Jerin Jacob >>>> --- >>>> lib/librte_eal/linuxapp/eal/eal.c | 16 ++++++++++------ >>>> 1 file changed, 10 insertions(+), 6 deletions(-) >>>> >>>> diff --git a/lib/librte_eal/linuxapp/eal/eal.c b/lib/librte_eal/linuxapp/eal/eal.c >>>> index 2546b55e4..7b4dd70de 100644 >>>> --- a/lib/librte_eal/linuxapp/eal/eal.c >>>> +++ b/lib/librte_eal/linuxapp/eal/eal.c >>>> @@ -799,6 +799,16 @@ rte_eal_init(int argc, char **argv) >>>> return -1; >>>> } >>>> >>>> + if (rte_bus_scan()) { >>>> + rte_eal_init_alert("Cannot scan the buses for devices\n"); >>>> + rte_errno = ENODEV; >>>> + return -1; >>>> + } >>>> + >>> >>> The original place of the bus scan was with the following factors: >>> 1. The bus scan requires the VFIO to be enabled atleast in dpaa2 case. >>> (VFIO code still need cleanup to be support non-pci cleanly). I tried moving it before bus_scan, this helped in bus scanning. >>> >> bus_scan should do scanning, device enumeration, detecting devices and >> interface that device bound to, that interface could be VFIO, UIO, UIO_GENERIC etc.. >> >> PCI bus scanning (in eal/) strictly comply to what I mentioned above, thus >> aut-detection works gracefully. >> >> However fslmc_bus 'scan' doesn't do device scanning, instead It call vfio dependent >> code which ideally should fall in 'resource mapping' category,. ideally should >> happen at bus probe time. >> >> Example: >> rte_fslmc_bus_scan() >> --> fslmc_vfio_setup_group >> --> fslmc_vfio_process_group >> >> So it is doing _setup_ inside scan ops, which in PCI(/vfio-pci) case happens >> at probe time (`vfio_setup_device`). >> >> In order to benefit iova auto-detection infrastructure: fslmc bus should >> do to two things: >> >> 0) fslmc bus scan should look at /sys/bus/platform/drivers/vfio-platform/* >> and find out that devices bind to vfio-platform or not, if yes then update kdrv >> entry mentioning interface type example VFIO. That-way flsmc bus gets capability to >> inform rte_bus about IOMMU capable interface. Right now, existing implementation >> don't have means to inform rte_bus about his devices like pci_bus has!. >> > vfio_fsl_mc is bit different from pci, we first get the resource container and then look for resources as children. > > In any case, the reworking of the bus is pending since the support for many other features are being extended for non-pci buses as well in dpdk e.g. devargs. > It is in my priority list to clean it up for next release. > > >> 1) defer the vfio_seup from scan to bus->probe(). > > This is a good suggestion. This can solve the initialization issue. > >> >> >> >>> 2. During SCAN, the bus may allocate memory to devices or for it's own usages. rte_malloc or mempool is required in cases to support multi-process environment. (e.g. dpaa2 create dpbp or dpio device memory using the rte_malloc call). >>> >> If bus scanning adheres to device detection or enumeration then rte_malloc/mempool >> >> not required, Example eal/pci bus scanning. >> >> >> And in fslmc bus case: if vfio_setup deferred at bus->probe time then >> bus->scan won't have memory dependency. >> >>> Since none of the other rte library (mempool, memzone, tailq) is available at this point, it will create significant restriction on the bus scan. >>> >>> We will prefer if you can re-introduce the "iova_mode" and allow the application choose, which mode it want to run. >>> >>> This auto-detect logic may not work for many buses and it is going >>> to create serious restrictions on the bus_scan code. >>> >> fslmc is only bus besides PCI. Auto-detection works gracefully for PCI-bus. >> Can you give a try to said proposal? >> >> Ideally vfio-platform code should sit into eal/vfio like eal/vfio-pci is. >> Otherwise it will keep creating problems for new generic framework like we're >> discussing one. >> >> if said proposal doesn't work for you then I will re-introduce iova-mode as >> eal arg, that will override iova mapping mode. But IMHO, eal arg should be >> intermediate solution. Once vfio-platform code properly re-factored and merged, >> We should remove those eal iova-mode args. > > Thanks for digging into the fslmc code. As I said, this is now my priority item to get the fslmc bus code refactored. We will target immediately after 17.08 validation. > > However till then, we can only support the iova-mode. > Can you please try out said changes in your fslmc bus? and If it works for you then we don't need to re-introduce iova-mode eal arg in future revision..