From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0066.outbound.protection.outlook.com [104.47.42.66]) by dpdk.org (Postfix) with ESMTP id 8891D1DB1; Thu, 22 Jun 2017 14:47:08 +0200 (CEST) Received: from DM5PR03CA0042.namprd03.prod.outlook.com (10.174.189.159) by BY1PR0301MB1190.namprd03.prod.outlook.com (10.160.195.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1199.15; Thu, 22 Jun 2017 12:47:06 +0000 Received: from BL2FFO11OLC010.protection.gbl (2a01:111:f400:7c09::148) by DM5PR03CA0042.outlook.office365.com (2603:10b6:4:3b::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1178.14 via Frontend Transport; Thu, 22 Jun 2017 12:47:06 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; 6wind.com; dkim=none (message not signed) header.d=none;6wind.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BL2FFO11OLC010.mail.protection.outlook.com (10.173.160.154) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1178.14 via Frontend Transport; Thu, 22 Jun 2017 12:47:06 +0000 Received: from [127.0.0.1] (B10814-12.ap.freescale.net [10.232.133.65]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v5MCl0B6020271; Thu, 22 Jun 2017 05:47:03 -0700 To: Olivier Matz References: <1495532028-9700-1-git-send-email-hemant.agrawal@nxp.com> <1495532028-9700-2-git-send-email-hemant.agrawal@nxp.com> <20170608120801.1102e7bc@platinum> CC: , , From: Hemant Agrawal Message-ID: Date: Thu, 22 Jun 2017 18:16:59 +0530 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170608120801.1102e7bc@platinum> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131426092263059877; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39860400002)(39840400002)(39380400002)(39850400002)(39400400002)(39450400003)(39410400002)(2980300002)(1110001)(1109001)(339900001)(377454003)(24454002)(189002)(199003)(52314003)(9170700003)(4326008)(5660300001)(86362001)(6666003)(31696002)(8656002)(53936002)(76176999)(356003)(50986999)(81156014)(81166006)(6916009)(104016004)(305945005)(2950100002)(54906002)(53546010)(8676002)(229853002)(54356999)(230700001)(77096006)(85426001)(36756003)(50466002)(2906002)(7246003)(47776003)(65956001)(83506001)(7126002)(65806001)(31686004)(120886001)(189998001)(105606002)(64126003)(8936002)(498600001)(65826007)(33646002)(38730400002)(4001350100001)(110136004)(23746002)(106466001)(6246003); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR0301MB1190; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11OLC010; 1:9anhZsvaA78bGsTB3yXcRUdk/mufpxIJN3WTfC0hlfH9hr7saCGcyqqaSWDf9HWoDQSusDrvoDiAolrfl1JTUG02RMf/UG6bHwpUlmazKXv5TEpe0y3jGB+a69/zDD93OICRVrSiPJijRjOJDwVT4B5MkHFWkW7sjxhUlGdcks/MH/dU0RxXHeFMwHC1w012O5t0ytK+ti1vey3J2rBGghEtZp/7hIEzMbT5v3HBI7siKx4ejaMJTGMgmI1TjuR651bT+YiZYLMAbu7BdXdIy0Y3v0D51+lG/hbn6lRgBQ6A7D5VcVU7MF0NZmyeUJ4JJsWMNlixrIpor+al/dE1AXZZEQDGVrQAp4PWimM70a5CTFtDO6Uce/zTABV7ZB6lOqkYLJQT+/7CIzsaQlrlMhCVwMnMMCmFAUsHNsqpdbRth/0O3Vjqu7JKHDW3S0OLgwmsSBX2K8fUxg4Tk4Kk6g1gjq5QpZ8rYuIGV9Ka7F9H07Igav6RjadPP6dCNzHna0WcUlMrsBFu6BCP6YA/aCGXePnoxrY5Fh2JPit1vf1oJqD0/gRoPKoa6fXb6mlx X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5771ec6c-5c65-4ddc-5048-08d4b96cca03 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131430075)(201703131517081); SRVR:BY1PR0301MB1190; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB1190; 3:TMbCH0GHE8BTdnG8+eg25rGTVpQCclV1HEhI54eEuSGGa9jvdVw5tDAVBmSa23T+jaUqRFDUx6AU5dgfcSuDd2civKUYcc0flmASLIu/Qld0d4UnHrpoCNmqnaszd/e6R7RaesCEiRWwu2Mt/TZzqEQNEbfwmUzF/DxkUFjPcILnMG4HrJgF+jbZ3AHTvtvGPWBtD7uPbvXZ7YcVkDwMQb3fRRlq5Fk19ZXlcfXlWErt/YJl2zVUGRoPZ254AAQIDhSpfEHHms1ZXSUqZQ/2cMdDf3zZaZRFIhtHabba7vlOBmvU2dn27Ec3x6rQbN6wTgKDqUfzY1XyuDDd315GdScPMIqHYQ3XsU+KgRi+dnUJfz54z+ByGfYj7b5FxCihsR9OrKUe5dFy3rBJ+W6k/deaJ5bjrEmMYo1OyGbK53XT+RoctjPXcQsiDSv0rxF7 X-MS-TrafficTypeDiagnostic: BY1PR0301MB1190: X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB1190; 25:Yg8su3He87CFOGL/Oga9dTarvZs4Lzk4pt2ImubxTMgrAmkYOSsulgqLTGnlwC7lBFhxlYjdQm9o3xwX6dROOHjLT1zikI5WK+pBjMqdrFM8wLBvp1VHuqRj5po0Wy0fzNWBjUWPYwiwgk7cYCNeb83+qAbPLhW3kiCEKiaHq/axAy6AbJoKpU3hW7x82RAkRHYOczk8cSoUWEQjPZrBIR6nwhsXorNzwulUCb23tIuO8kpdFKSdBbE4GDSmgSexpY3Yvi0FiFx+hvHqJtkGK/t/q6wuEmEQrKzg2MuT7wGvBz+1dxrxVEp0g+SpdE/veRPnKDxhCK0z/s9AW5qFrElWbkBfcHnpFRlIZDbjIhY0fAV3PKc6aDPiqD9hK57bXw4sozOhSpeMsi4fLtcN+nXS5/fVl7qjvWKvAr1T2UNDrA7wCjWAQpgz1Od3DVk0J9sgSzj0lM2V78RYTl6mCo8i6Bjz0lNrFP1iy0eHDqmjaUwQXjRxcdYM65iTtYbGVVyciR5DTVK62FiqyHBIlAM2f+sjLCfWBiQH+0cZHi6mK1S6FdIfz6isac2kCGtD6r2TNQenxMDSHSnVgjxDvihVzhXEf3pGnHkZrCpBJbYtBxFy61U/2HAu+FgP7LJ2Yjodg/OuJOuAUDUDgIjy80Dd0gtqTCX8j/EUNZWJHso/4/QYcjWF1jxwreMZy+oqdeJ0/yj/pWBalRmogidfxu2igPmX0YUSFoSnWnBJ7OHj3X1K0TRhEYAWaPV47UrFyAPY/4Ot3oLypv6BbzPvrj/H/VNNwz6DalEAqoZZeHIrfBvo65BurTxqSHW7uN2aIcKsEF1y0Sr19LFoPpzqVez1Nz9+SCQioLkAaS1sNp7z5Zd+DKJHvZjXG5RM7RexMSHQfo8X14QwDTpg8xg8t0F42IVJC6SucD8Qu0SkiAY= X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB1190; 31:gX00lUKQS4lJm2eOJtDDOu/FmDUtQeK2ppORPS/MekUBcocwZwsT2yPb06UUbqgyzR/eFdBvmMVZB1VNuUEawo7KQ7VW4TuaC2KMinPp2HuKsjkgSZVeV7h9yR5S+Ie5LlA8NGpIIEYeIwQee1dmNswJJKrztg9XgA7o/GQF7QDPFhxJBkWIE60AIJt+llk7PijQOR9tMXLiu0Cnm+7/2yH/M5S2r5lIx+9WLAsWufFsWP2paOyutijTpqYwNFZeDGOs93eD5iM7ChxZp9LCVXCrjRZPQiADeV7UfhuBAoxBqWqErze7956s05cD9bs6a8N+DQjP3JOTpbEJeC7eHXQXCtgKEk0toHuKq7blsJT9G2kOmjNyYQ3ZPyLJ51GY18v/2AHob2FQakX0LR3N/jTFryXlo7d9OGAubhw2yIuGQYKroPu/9PSHnH4xms2QpBkByUGxICSNsQcYR8o1Unp3cyh8k4CmdX9OR/zpXym9F3gkhrmW0z/2m+gRycmyvewm+sdiPL7X2buQEkmoR/qmE+Klsdz5htZFZzCtDvRl8C/qLoIGXIq1v4RHBLv/W0uRyM/OFCkNqzbRsA68IOavMRAY6xwHAkuT18q6yH8ivK7EJGhsIyL1uNYzrYC91WhYHeohIZOq4f1OHMgGxPQkUmeKjOrGkGQnfnm9uux43lwGJfg5CbJBNJaWWCwjQkBM4EmCI0S3kHdgQQdYLw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(8121501046)(13016025)(5005006)(13018025)(3002001)(93006095)(93001095)(100000703101)(100105400095)(10201501046)(6055026)(6096035)(20161123559100)(20161123565025)(20161123556025)(20161123563025)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(201703151042153)(20161123561025)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BY1PR0301MB1190; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BY1PR0301MB1190; X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; BY1PR0301MB1190; 4:uIQR3DCInV24fFJ/C0raQhHAXpHtqKLVViS2?= =?Windows-1252?Q?3OHUIpxJ8sANUF2Z4/II3NxBG6TKNoJZhZqachybtlwZ+EpCP3F5H6pf?= =?Windows-1252?Q?eEgPbloLlaukjnRzcz9gsUgTMj/HJNhDDYdXeIHDlY4Bakt9oKHm0L0p?= =?Windows-1252?Q?wRT/H4pZvY6d7TF2TzEce+0w21YjBJ3butz2Hlt9R6ap1fuNFjvKGLhp?= =?Windows-1252?Q?EdEXLtiirCbvvxMkGSJxTfprYZGO5X263xq9kwLeHUm5MYAZhGIZFmo7?= =?Windows-1252?Q?f3YU1SFYWbs170MG5QcfFWNQtLKRDbj0wIJY2M+WX0QtqoNWqE3Jm3u0?= =?Windows-1252?Q?vanZDUPu2lV1HMXaBpQECy30kYsIWhCE/G8eM++HGFp8WRy9TZ6dWEE9?= =?Windows-1252?Q?XWuRgwzlK/alrosPTUKb/BPBOHUiI7e9wAI0qdihvc1ZYUZX7xXoU5Ls?= =?Windows-1252?Q?L17xA4yHkHuPIbwmmSrYUHk+dyk9YbCZdCwarf4aclUY7WR9u7JFDh+x?= =?Windows-1252?Q?lxFaO+2+uZSbyKWgb9izZoXwcvc70N3cXmX7lW+ij/G22bsjytaTqX9L?= =?Windows-1252?Q?V42G3b5zyZ/AFDCGV+KsX6P1dpEyCSENB62TUgUnG+l6m9PqQaVFzN66?= =?Windows-1252?Q?sBNwZt9ljGwUf8RK1fN/JpfP+b2/Q7RphN3/vAerYYoJr+KglTTGXfJj?= =?Windows-1252?Q?L/wlD4ONUHix0RmQ2r1aIjhPzGuiWJi0i0mAglvYZaNeom1BHVH1+46O?= =?Windows-1252?Q?sg1YpehgCLTnK2UmLoRIHPVGMhJrSZilwwIi30oQAEAB8V2tSAMnQjiB?= =?Windows-1252?Q?vUt8szjZ1vmpgXW4R/C+DwQYDad1uojplf5tpSGPs2aiDQwC44DkW+Nd?= =?Windows-1252?Q?mfGH+0D+HyvGVVIgkVqIMKzhG3xI8WdnDwRgCIOVS6XBCdpyIZ8/rZyA?= =?Windows-1252?Q?dH+LgM6q1/Ebk058j6hONEiKtgWkS9BHBfqXRILYC+E8KkSk/HOCBlYK?= =?Windows-1252?Q?2ng0SpNNx7U//HpmT2Fd54d4I+c2C/T92D8PEER5BjCiEyvDnqDgRFn0?= =?Windows-1252?Q?AYuqbKu6KTaZGIwHwuS1DsjoOe3PpMF0FQo6/AmFFE1mePY2Tn4NhOcy?= =?Windows-1252?Q?/z1DiVUoG6CoQDVnKCqjnAsLBz3XrT4Lq0UjuiCJsdQxQxTNA5m6fY2o?= =?Windows-1252?Q?khz1SR95Bj8QsewKlko+ybwno3zM+BikeqjTCgVj67Q5OU2kgMleiEQs?= =?Windows-1252?Q?qDwU3aSsxRqwheDOUWpuO0ljfnXcmbbnU/wBp3B4uFlpdr0bZ0kNhxB+?= =?Windows-1252?Q?95lTF8okf1xBEfecXEVBl04e7yPTjDtKi0Y2bDQ0kC2QAmzWZpUS98K5?= =?Windows-1252?Q?HS75sxXTshWI?= X-Forefront-PRVS: 03468CBA43 X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; BY1PR0301MB1190; 23:ms/oMCtuXhyZKGV6Ys5e9dSb8w7wq5iPczR?= =?Windows-1252?Q?yu180yjkUA2H1tZ1SLGDZKxBR/itas1Fs+N03azV5M8HlZ4NIbJ75qXE?= =?Windows-1252?Q?d2TW4vyKFi2+Nrw38qVVYBNPJWH+tF6EAQ0vrWnub+I/NSpnXEDXJQdd?= =?Windows-1252?Q?P5W/aEbMz7PB+2jpN2yiJ20AXzYYg4Y0RYrvVWvlIQHJkB0LSa7Ju0Za?= =?Windows-1252?Q?Vc8ZdNwuo8d/Jj7iJysgLOEym0/AAoVP/SjIatrrk3fgubC+KWU95WXW?= =?Windows-1252?Q?nja1uYcQmaXY3m3nFvNLZvhzQfg9GoiB3YMiD4CLOqPnWmbPYhuxotpY?= =?Windows-1252?Q?kxcjs1mk+OqJygtdybdBHt+h6laaK/kxa9aQpFqqv5ZpzBJbimGJB0ms?= =?Windows-1252?Q?9E/I07vDpPSgBZiD5ut8WdPfbyVwoLmKw78lEigAaLEnnVNYMIxFXl27?= =?Windows-1252?Q?TcUUWEtikpnW3kUNge6Hcg03oa8tBBFN+tfidTgAmrQugYLjGyAcbvpS?= =?Windows-1252?Q?bb1MAUPPZsGIEVkdnAp66ouriu0bmZeQcENKiW1gJAqD9/qqlFUsQQut?= =?Windows-1252?Q?n9dlrPWfcsuRSM4Ar/E769oKVUOg0QzOi4OX6ZBpB1Au2l9eFr3ImTcD?= =?Windows-1252?Q?nmlcFstb1rFk6WPB8baY9rtaveJrkMrfu/k6iDJ6Ikv1Y8v6o5pe0R9V?= =?Windows-1252?Q?vmfn93WOoVk9LO51rufutZlKfrMCgFk6tkXAb31XygSeIrEYlPIHSKJC?= =?Windows-1252?Q?6rzfmrTIQW+5emYa36qIRP8mKZ+GxmraytbG0DXmS3uRs+Hz0eozEIty?= =?Windows-1252?Q?5JaMYrJgR5kT32+BpvShRyZznGKhIewPWmiBsVPX/9LXCYMPdnByzCGX?= =?Windows-1252?Q?1pHw+b59iouqDw9lefygILDxcVvwAb49U8gYPQxV1dclsiFQSsoQ/Gp0?= =?Windows-1252?Q?LZ+/6q+zF8+BEOH9CZJk6KSgS2gYS9LFrIuri1f6gdhPFVYeJsP/CjbM?= =?Windows-1252?Q?W/xIv77O5C49FRFjfawuqxh3cfVoVT6roElokPF+qfHP9qBaMa1Y5jtu?= =?Windows-1252?Q?JRPxGPraa9fPpTTY5JpjJx0D7FXwsn+Dmm4QFYQL8fR/5AwsgqZMx7xd?= =?Windows-1252?Q?lEqn+hJu895weFely5V8zZyy+tZxUTQLXeSEwYrefVijr30E396/aja1?= =?Windows-1252?Q?bNVQdfY+eKC//iy44QEMsQ7tKsy0o5woadVYCFj9vzDjH4XscUalo0AL?= =?Windows-1252?Q?Z3hkajdbibufuY76XHvkdiYA9Y8avt/3D58K6vnfAjlBfwLIMKa6oZt8?= =?Windows-1252?Q?5WKAOfX+75zqSW/hv6muUMjwUt2I8Ub2h3ASNGjxOZdxpd2epdI7NOdR?= =?Windows-1252?Q?Q0jgmzyV1w60EfBAHPkoYkOcy/AEWyg85OrrzpI9pve2/lAqfzN1h/6c?= =?Windows-1252?Q?+IfBowT8jJKupsK61Km1xkLAsOhiJKCTJ4aHSCsDTPaqhjJQWbVSjmpn?= =?Windows-1252?Q?tWkdRBjUn02OObc72+cnnZlEXx7mf83vCfYDSIGP7XKzOIKdNT+sUvhN?= =?Windows-1252?Q?Zbh/TRIuGOqopYbI3X4C0QAoHWRIW1pu0u9RldNi5ZDlwU382JzbFdMo?= =?Windows-1252?Q?aQLtvP+Pqf1pzgW1W8vVvK2PBPSqyXi1ZbtVBloxezrTStyNwZ3Mz7yI?= =?Windows-1252?Q?IiVr8hgtZnpC3kqEHak8JQjKqUA9FBB+fhhe8zmpmndknEj4Kk7OkrDF?= =?Windows-1252?Q?A05vWmgFG0cX+Wy1A9g=3D=3D?= X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; BY1PR0301MB1190; 6:Qr2ZgXlzvyMBaIqE24w1AmO2gJR/8FjAux7s?= =?Windows-1252?Q?SpJwFgqBWaxCVI2Z3SBqJWdtJCpkF4ypYHOm3pcakXvTUQb4C5OKnaHv?= =?Windows-1252?Q?k2ENORq1xPzgKLufQNCMdUFOMt5spL5hAiURf/H4lp1YS5s2H0waY8aw?= =?Windows-1252?Q?Lr9Z+qd96FMpDaeHtBtaUSbPMDlYD5VcG5kOfolsdDbwoMv+WV8fGn8f?= =?Windows-1252?Q?MZoIw3QnZqkysJfnAeWhiOZe5Rx+bJerNH7SLkOODBVWUtA6NCRvG+M7?= =?Windows-1252?Q?Tb4qbHu/zdAmBrVWDu5sVVgtw6vkRC0b9HN4SNa7RriZ/uSUb5NluP7Y?= =?Windows-1252?Q?0AcR75TWzc0CKsj+XYu075aZT0IwtN+Py8gNIxbupJpl2BN9BD2i0m2B?= =?Windows-1252?Q?1XZqtYWL+eaaNp8UpsqnA8XE6tpH3ix8TY5MS9NimRCXZvtb8pHcn9if?= =?Windows-1252?Q?pgLAjpFkFIFFIsFBeHCnQ02/onLHLSciYu8SXJhTLBx9xOFRQmBw1o1U?= =?Windows-1252?Q?WMDUxsrMeDYqtDk8lojvHqfem6bav7gFTT2q6CZyY7e77oK+WY4RVtco?= =?Windows-1252?Q?4Eh88gdQGyhlh42PjzeEDfxjUDGgky8XA0vHtC80LjVokhXlRqS4OZz7?= =?Windows-1252?Q?t84btoirhVPaysEv3c3alEIZTyN4GIapOiQazPvOTHOSf6aayes6HxvZ?= =?Windows-1252?Q?E6LlXv6wMdbs7ipHvq7j17KQNFUn11HE1kPYShg9ljANlaILicmeD+5O?= =?Windows-1252?Q?ZY6kbGFuOouTJftRLPEO3hbxYKtTa6KBgwnkGpTPioYrdIGadUAUvyQe?= =?Windows-1252?Q?YjwLxnOHYGrP8AVAqxrfn8UI4vuzCTYgz3eDFr/5FJWVsGjZD9slNYcR?= =?Windows-1252?Q?Nfbu03FY3F4BRQ6CLt1xeV/fxIQOB9w29SlTtgrUfs4MSBn1udCKfyXn?= =?Windows-1252?Q?camE5+PDX5Wb3spl0RKK1Q4a7TjfRKtAp/bIcfClTPZ2u+F6hTcyWgyw?= =?Windows-1252?Q?bMTkf3kwirlMUP9bFprRmJURiXiyOWh9qgiBPCIa8evIcPD17Q=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB1190; 5:AMP0pKOBSuRHz+jmpQTUg7YfnVDj7bHlHfpi/uP0FMjgNbBT/TZi4Np443F3GOlDkOlSWnkUI+0lKERIM7s+3EBEHD1ynCK1UBk7PIjcQiRevwuH83Ne0UCKu+XyF1iP0Ex75CcT+7nMO3y85hgyI+VogY/PQKpXC7Y6AK+aF9OGo2ENqnJGRnMg9R5eVSWKrwVX0Z+K7UL8olqMTEcfv6X3TbceCsC5dE0vT671UHqx4he5YLxGatoTpeBfAVHxPyAXPynU8YtZa4TOQrriZf3L7J26kdX22skgxRDxeRdK25CdO23hi/pltv1ooi2FY0/1GKXarHYfbeA02uSHI/gpXR8L0Un7DWsswuLiOh0jPTD5O+1iJq6XtD6P8Qm/3bVpg1PPb/dvugWKKhFelHHErTyIsoh+sp8VO5mDBhRxFt4fOckLBgyYM5Bi2kG8UIY1tUEVl5uDEERE9l+lEAMyUnvm4XnQYFBQBB4PVf5/b/X653d6KD+K+7I2seJuoMtG5mos/I+romEpiOVX2w==; 24:HSTaAmKkWnxG5mENm2vzXPeVpLX1nSbVxQ6C+PTSgR9+a/FHo1VtQmi7LbWqc+1ZsO/82qZF6i3fE425Sju0J0/ldsrFmDu9Vlk+0zuc58Q= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB1190; 7:d9WVk9c+7kivNCMgpw+6hwAPbCxkQPF3BeROZYipRyohu/9QHUSIrnlmOxa9TpRXTzOAFBF3o8KrKzpbRWH52RmVz8slD0TOSUj2RepjYETqpTRFv29oQHM6nCOUlsP4IEcZOsGX3q8R324+Tdk3GpBCDq7W+TyILGEj7OgrhSClHiysKG07TfC7EGht4eIfmAr426hKamlw9Sa0ozx1aIAIJxqTbDfGNVfofikphoqiAOH+GPmEVYykcmKrDh2i72mvS/T5ER71hqniY9zoSnMRnDH7gy5uRfxsu0KwII5dUN6EpOy9kJmjBb/yLQMHkp3IClz0gyTzWJsWKwejEFCsillPTZpJw/6HD8SnQ9x10YKWshLRGAXLT8m3N50OtidzGNzSRr1GUrHdprfNdZaB56NsOB3YpuO5L39u5MZ/Efm4xlP9OOLUcNBfojpkWPL4kCTjz4O8yBZtXSCF71qhQi0mN1KB9FyvlHAocnMHSKEDuxG8XmsKYQQQFh8zimJKTOInMOWCc3/ojjFS4TPAMkhsrtnE8ApTqbFvunjfWuXXCXPnVYVR0CAejxtOtNHOlEs4CRB4h0IFnPSk2rcIVubdTVUKeSYofta+txq/PfCwYBzQnWt8k1wVzvoOIqnbt8AYnZwq7SVjIODRE8pqQqRIHqyyyNSLy3GV67zv464res7QpRfvn6/i+TLAcDtJjmf4d46/O1ME5IoIF3noPbYPUIhjsrwEfcztGEHOBIDxmioVR7pXHyrhdBtnDU9OwyjT/YgwxdFVcZB911TrCkRVZtCQTDwKifqVJ6k= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jun 2017 12:47:06.1343 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0301MB1190 Subject: Re: [dpdk-dev] [PATCH 2/2] mempool/dpaa2: improving the alloc/free logging 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, 22 Jun 2017 12:47:09 -0000 On 6/8/2017 3:38 PM, Olivier Matz wrote: > Hi Hemant, > > On Tue, 23 May 2017 15:03:48 +0530, Hemant Agrawal wrote: >> Debug logs are helpful for better debugging. Alloc >> was having the logs, but logs were not present in free routines. >> >> This patch add support for debug mode logs in free routine. >> Also, changing the log category to DRV instead of TX. >> >> Signed-off-by: Hemant Agrawal >> --- >> drivers/mempool/dpaa2/dpaa2_hw_mempool.c | 12 ++++++++++-- >> 1 file changed, 10 insertions(+), 2 deletions(-) >> >> diff --git a/drivers/mempool/dpaa2/dpaa2_hw_mempool.c b/drivers/mempool/dpaa2/dpaa2_hw_mempool.c >> index 60dd1c0..e00ed5d 100644 >> --- a/drivers/mempool/dpaa2/dpaa2_hw_mempool.c >> +++ b/drivers/mempool/dpaa2/dpaa2_hw_mempool.c >> @@ -309,8 +309,8 @@ >> >> #ifdef RTE_LIBRTE_DPAA2_DEBUG_DRIVER >> alloc += n; >> - PMD_TX_LOG(DEBUG, "Total = %d , req = %d done = %d", >> - alloc, count, n); >> + PMD_DRV_LOG(DEBUG, "Total = %d , req = %d done = %d", >> + alloc, count, n); >> #endif >> return 0; >> } > > Since we are in a mempool driver, we may not want to use PMD_*_LOG() > functions. > > Also, I don't see where these macros are defined for this file, but maybe > I miss something that is right under my nose ;) > These are being currently being driven from the bus logs. > Anyway, I suggest to use your own macros for dpaa mempool instead, > and if possible: > - avoid compilation options as much as possible > - RTE_LOG() for logs that cannot occur in dataplane (they can be enabled > dynamically) > - RTE_LOG_DP() for dataplane logs: these are stripped at compilation > time, unless your log level <= RTE_LOG_DP_LEVEL > your suggestion is good. I will rework the whole file and submit it later. > >> @@ -320,6 +320,9 @@ >> void * const *obj_table, unsigned int n) >> { >> struct dpaa2_bp_info *bp_info; >> +#ifdef RTE_LIBRTE_DPAA2_DEBUG_DRIVER >> + static int freed; >> +#endif >> >> bp_info = mempool_to_bpinfo(pool); >> if (!(bp_info->bp_list)) { >> @@ -329,6 +332,11 @@ >> rte_dpaa2_mbuf_release(pool, obj_table, bp_info->bpid, >> bp_info->meta_data_size, n); >> >> +#ifdef RTE_LIBRTE_DPAA2_DEBUG_DRIVER >> + freed += n; >> + PMD_DRV_LOG(DEBUG, "Total = %d , done = %d", >> + freed, n); >> +#endif >> return 0; >> } >> > >