From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0045.outbound.protection.outlook.com [104.47.36.45]) by dpdk.org (Postfix) with ESMTP id AFA357D67 for ; Fri, 16 Jun 2017 07:33:29 +0200 (CEST) Received: from DM5PR03CA0049.namprd03.prod.outlook.com (10.174.189.166) by CY1PR0301MB0604.namprd03.prod.outlook.com (10.160.142.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1157.12; Fri, 16 Jun 2017 05:33:28 +0000 Received: from BN1AFFO11FD024.protection.gbl (2a01:111:f400:7c10::126) by DM5PR03CA0049.outlook.office365.com (2603:10b6:4:3b::38) 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; Fri, 16 Jun 2017 05:33:27 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.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 BN1AFFO11FD024.mail.protection.outlook.com (10.58.52.84) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1157.12 via Frontend Transport; Fri, 16 Jun 2017 05:33:27 +0000 Received: from Tophie.ap.freescale.net ([10.232.14.39]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v5G5WNFW001003; Thu, 15 Jun 2017 22:33:25 -0700 From: Shreyansh Jain To: CC: , Date: Fri, 16 Jun 2017 11:11:03 +0530 Message-ID: <1497591668-3320-34-git-send-email-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497591668-3320-1-git-send-email-shreyansh.jain@nxp.com> References: <1497591668-3320-1-git-send-email-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131420648079142685; (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)(39410400002)(39860400002)(39380400002)(39850400002)(39840400002)(39450400003)(39400400002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(9170700003)(498600001)(4326008)(5660300001)(50226002)(8676002)(76176999)(53936002)(50986999)(81166006)(5003940100001)(104016004)(6916009)(54906002)(2351001)(48376002)(356003)(6666003)(189998001)(47776003)(36756003)(86362001)(8656002)(2950100002)(85426001)(305945005)(50466002)(106466001)(110136004)(77096006)(2906002)(33646002)(105606002)(38730400002)(8936002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0301MB0604; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD024; 1:cRH5UhCc6bu4N+XocLRd3xXtfK9Mb4NfhTnnMKTS5+7SaeTxUvzTjK05HZ1CCnMbWhPa48wPuc7/ZvTrkq/IPkhXGuXWdotFepDofJVJ5bizbT0HZKfZKXKOktUPmZT5wc3fx1AF5UPwbdwoqZ+jxo4qTJEcUoGdhY3Eh+Hs1BWTFwanPp9o93PpUSG75iVMmXGSSDkU7wcjg5MA36EHL0oTCAwvFjZq43AOQl2Fdu4CEi0VlBdVGr4+MyEF4tQfH6AAdZ6Ir8+BXqAsCBNPsChVs/qivZXD8u7AQDSefUEPeRswupKP/VGRn1tcM2zZyfBLHdXqvUGmy7HbLkKbnfWXcHy96ouOQO82JG+TbuJBxDegOYDybkb2sSZR+p0NUcCs504SMMEfc6w8v8pZBpqlhv5lOSCGK328tWEaAIkV6vGOTx8scg3C1L4G3oi8rImpNzG4BFQO/FIEOZ2RQp1adCJj1TfrmKbi2B6qyEsHXmop0DvgARRTteWbRWrBmdWEnF5ClgG886JxovB6bY8hFqDqF5m04EEbF5Q+BRCz/6VvtmBLjLhn4r8jHSRhmf60fgUo70I6oBaULtQU2A6MMmGQmGhTJDVzcmswArb9tHwg7on3XKqq/LJtSoEV91Z2GJdue05qZWfFoZ7F+8W61E/KRzG4RnLRXhi7sw6/jjH5JRIQxVFN2UpfvS0ZdaSdTuOTq5Sc6bS3+48vywdoVtx+id6r4QPfubpu6F0= MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY1PR0301MB0604: X-MS-Office365-Filtering-Correlation-Id: 296f6b17-1aa2-461a-4dce-08d4b479375d X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131430075)(201703131517081); SRVR:CY1PR0301MB0604; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0604; 3:airATvhSpbTooBFz9zkhf2KIMh14oIAnUHx0jfGjf9eJawBNJqR+jUlE9Y+FAJ2MzaLUDQ7lrE924fSxuS670mCm/kv3yKGb5rDYXGJCW/D9EYsn7A0US0fvQgf8QGbZpPU5q2Mka/wVu5RiZ3gLcix9e1SYE0ix9d0lB43x4UUV3beVO4SWd+V+1gxhwLvPtovzLX+NdM+pPGF0Vn8/jgmE7fw0s23Auslho6O1HND4hajukYr5qpqG0gRFO/d3dxsyzS0gVz4LVxkR3zhSeG5XSi/bBnHdNwFqaT/bzT2JVqZ43OWrc/mf16RIlsyv5qcpogb2NCNg0Tq8Tt111oYd9c6QBCupCdjDsP6rswHrO5AWggV1XtSLSnc9fxrh1eGDJJllCXlGWEMHeWQtZKXlQrYKLFud4Xr/seMRl1pVZ4p+BObXcVWBZ7RArai5; 25:wRmJXn69b4m47JHTKkkY1AIR0na0Qk8bJ1MWT3BQJrl6EclEwa+ns/JO7DPWP6FVQAoUTLMEO3C1OOaoeD+Ht9Po9lAmktnzdp9kanQckS/RHxHtFC8C4wVQ0YMqgo5D6fO3XwxtseeimlRZwtX/zO3pZs4LDLU7cUAiTdHCGpsOcEl9iilblAKxYHJ5/J60BNBArSiRmLLvnoZix5fRfQuv9YoxcCGbYYP54tpgPYuR55mhJAJzOPtp0gKha0KZ2Xay1FToS9oDHIYPYPsNyJky3Zw5E7DJjTEa47NkL64Et3rD6K8otJcmDoaLA2our6uuj5ne440dDtZuv/r2fUd1iwvAYupWW+F+lIBJqyS2C/ll0tA9YKsKyDrKgGhUW0EnHL9FP5iQIT9aW9i+QYkVy2gu5kbUKntkC969H7E91TPpBsWGeA/uGIi2Svn34roWp4LTpgOX2VyvpeKlPuqruKBaIswl83vDkSsBF4A= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0604; 31:/RTTqVi74EFWdzkG/BzaepCSBxuAlq08eP4Yx3AH+sMpLnAYFNEzOfVCZwa8mQACLATfPmCqYltp6p0bPpA5RU8JS6Fz1H2HCrJMWcWg/AOcRbwPtEjxH8Om9K0pJ7RfYq1VyYoz8vREYx6UfCG+ntst4S29dQ9xrD7jiV3gGRJvN59X6V5PMSciFM6oN73J2/p+768TWzszgJgFIqvRkFLenhiWTuQ7icWfRZpxJg3Yyn4x9nZHIvolSA8+WkTPbKxb9gOK2Cb5y3ixm6IcCg== 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)(5005006)(13016025)(13018025)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6096035)(20161123561025)(20161123559100)(20161123556025)(20161123563025)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(20161123565025)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY1PR0301MB0604; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY1PR0301MB0604; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0301MB0604; 4:wZgeWJQxdH2YKLCGAKCcTfvP9v1lA2d+V8xoc4Rh?= =?us-ascii?Q?vSbd0eZCiDmkclsEOnMKL9nQeBMoZC5nPQ6uUe6YPjvA0qvKpBMRljQWIaxK?= =?us-ascii?Q?ef1DndPRZWqwRdfMkBd9BQz+YduA5NKKYtfSSdSkVxxfNi+mkmi6a0c+sjch?= =?us-ascii?Q?g2oPrEw6rjityWKvuxGVmu/7xSafSPWhU3nc9N3+WIT760r7cuCDqJR9q0+p?= =?us-ascii?Q?CzhMhbeqvxtAxkOgW4CscHtEge7bEV04iA2R2+uUdvZ24c0d/zkFXudqV+X/?= =?us-ascii?Q?CkDU1tx/xsqR2gEbx7vDDrZLfsxjFJSuEZkJfCcR/KO2jp17Br9ukiiWv0Zr?= =?us-ascii?Q?5QUGdtBeRX0ReEqhY9mX12HFth7Z1NqDueNvFjy4yDdFpBQlO9MYqRawGdMZ?= =?us-ascii?Q?Cgw4Af1L5meCQo2RXVO72AgiYNVP3O109wTNFJiV9Umg8u+qUywA3pBax2rP?= =?us-ascii?Q?lb6i4P3EfuGY/dX7AjNbxQ8vf1X8+vUq3I5Yu7jFpiin1++ZvNNzw6elC5Z2?= =?us-ascii?Q?ETuHRKnVeNaFhxrNHjav1F4hNNxM72EDgVCr0Q7iHi0o6Zaexol0c8SXElMz?= =?us-ascii?Q?NjnASyz4qvMUzDVnGkmXbOXfVCicJjZBJ8dgFCuy7IbejbBAlf3lcijHqaJ/?= =?us-ascii?Q?sid78S0Z4DSkoHIlWO92ZTVztmvp01++uNkOrtoXrGziYUXlxRilB8SdNm+R?= =?us-ascii?Q?1u55KPgueMJFy2eJBFkuxhvjnltUm3LvYpBfVtWkmj6nZgCH/fNZz9BJno6A?= =?us-ascii?Q?1/h6myrqg/a/XQKEUL8Lb5Is5Zaqq37yvntQseNgmKKOiCH2QExPJVU8K+5+?= =?us-ascii?Q?wQQPyyuINfcGeVM+67NOiAZNbvx9La9+aw7zr/uZ++Sfs0ssf1sqsxHgvIhF?= =?us-ascii?Q?Pz7tbRO6M5vQmrCJZW9Ao+jNXw7lYnJIlHsDEajla3agT3DuZl9X8GnSwzWC?= =?us-ascii?Q?4BpsT600lU2n+2bc3nJBPviFC3UMPI7GkY+OcxGSpgcRrMfE9+P6uYBGvSjz?= =?us-ascii?Q?kPUREAL4N3DGoYoNAkc7C22gX13gp/qxVQV2i0+5sKOF37jzXquKJWk2VOCe?= =?us-ascii?Q?SWZxeTiY4ww6NgjqAfUItsSW6+u9Q4Formap5LFlKa6cUXIeDjVOw31XYPXu?= =?us-ascii?Q?GcDoPwg/jWFU42nmMrlgXQL9ZdXc6sqZa3eceRW79WG8/yva0vm07guDpP/2?= =?us-ascii?Q?BiLiCFfh4yp38KROtFl+jp8dbvyraeJHjjpAAaQpg14AghTDHS2zggJ0bwaF?= =?us-ascii?Q?He+qKwZDLqBfo5OzYA9mm26srh8++nmsKtlk5GJr?= X-Forefront-PRVS: 0340850FCD X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0301MB0604; 23:PRcmKc9/otUc+BWgBzCv6y0UBA8BjrroVw9ruvS?= =?us-ascii?Q?Wyk214Dv7C4qu5CLH4Sz7NtTgM5moMVIEUoVFif2/+c2mAGk2jcH96k910h0?= =?us-ascii?Q?PW7zcgdBCes0wsJ0UdcgCNq6zD7RVsR4yppEIkw8Hkiv4M3lKmXbEldFs7W3?= =?us-ascii?Q?c8fRG9iiIdoQqNogTElzFas2zrlWa26lrjR40H9irTBsVVpPqQIV3PVdSuT8?= =?us-ascii?Q?JLRaDaWNTP0rWHac+ItxypIS4pERAM2OizNikayqVi87t8+ryIFZCczCJnwF?= =?us-ascii?Q?sgf+x+XedZreFy2yz4fZkkIpx+kOCQD0NDr08ypLyoD53oYxdZwppuDUtdHk?= =?us-ascii?Q?EG3xjgs2oiGvcmWHkxmEitm+ATuNvTqcAcPyJHvByyrMgrzisdiLgn09/pcg?= =?us-ascii?Q?7g2n2bTjPsKKP8bgzE7ZSSnnixWFNbdT8lSoUAdN7AOm/7c6j6KUIbAFb5Rn?= =?us-ascii?Q?4secqYKtd803Lh8PRvYNePgD2fpKohzHKZh6u41i0jWQMNyr7pBZxXtyRgEb?= =?us-ascii?Q?JaSwDRfmHlXDk62UAYcfnwOwp/mYHqtc59s/pj+xSgCeIJJuqrVKYXXm0oUA?= =?us-ascii?Q?vpn5vgDMJuAsu3XV2pZJOMd2ulBepbX1F6Ga0vKG+NNWPp4uXg2uAmjqvv1S?= =?us-ascii?Q?A5ezTkvkfqgDyjX+/K69v17Kdfdfq6K+RCK7BfZ4gYKhrgj5VO8VLP5M1ivn?= =?us-ascii?Q?b/1eEvuUkQCejGFYR/CHIfQd6qshFJwDUPInQEh650422XwQap7caW5CCKHN?= =?us-ascii?Q?eyAe4esFVDX/citZHhWAu09sfAgkbcJ94JsLSWe1eVo1ieNpJ3HbyS3XOe0q?= =?us-ascii?Q?Q0NtmExJ391k497Xvik0nAhWrKq0bhnkee5cNKl0kjjpH/ktx+ukG0ZqoyPW?= =?us-ascii?Q?FCFQSYV/yVxJR08G9JJuC8rjRwqx0DpKVdMb7jq2BnfsIYIdDeMtyQjWIHcV?= =?us-ascii?Q?PrqPuJL4QiuToORpQkq5+W36SMmPJSKmXzbkprKjNtd2H5XV1cjswpfWNUti?= =?us-ascii?Q?6Pv65RlsIyOHAP5KQFj4H8tandRcBGePCH/JdXYOBUPOx54FA+jueBUHkBoV?= =?us-ascii?Q?NpyBzHxo4xIdtKi3ngHxsS0S3YZ3NQVL6Qq3tbNLDCuby08cMbXU1ImPGImg?= =?us-ascii?Q?cixHQmzT6Okq2GY/+fY4m9wq9Wq80TLuhjNrl0t1qzMTmgY9tgtac/51GzbH?= =?us-ascii?Q?/XQFxTrpdKL1DjHQJd5xjvqfLBDjOp6yX8X3Eti8OylHe7JoTEg4rlhJo1jM?= =?us-ascii?Q?79HZNzCn15yoELWamtfQ=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0301MB0604; 6:h9yXT1IjnsB1A9jOBBcCk8Y3qP0RJFP74R8oizC0?= =?us-ascii?Q?bp2K8gjxIA4TKU7gLWpsTqVAyD6mW1fYh6AF9UEGG1l5xoJjotU9oT9+Wd5V?= =?us-ascii?Q?tFCiEF/WmY04grftOpnbhwgISa4RrMTbo/yJ5Z3nGjweJubXLCx1cExTRCDU?= =?us-ascii?Q?om9JWunftMo4Ci90edTcpr5MRG4ifWwTLDyYdBwzjxzHWXjdbMi9oxqrEGLp?= =?us-ascii?Q?6jz83MItIgfJcZADqkJWkOsNv+enyQaWrRvuw9siEr2gel3i8MRgjnwpI79k?= =?us-ascii?Q?yakQGgYu9ixkg9aZc8xa5VaJKPimA3o1Z4zKvZpMWJVA4HUxD0mm8vT6RlVB?= =?us-ascii?Q?US192R/az6GqMKSiz/+zcjyRH94KeL5c8FIWceUPCmz0N6j3Y4QhWwID+mSJ?= =?us-ascii?Q?a5wzjso5hqbvnEdU0Kzh0UGRXBnieJk0J1RQVxfbbPHNEvTnAa3U5sQjmLjW?= =?us-ascii?Q?aCLqh0iW/32wtchskbWlWpX26qAyUmYAvg6OaNRyux21lKyJDv3knkrII3Jq?= =?us-ascii?Q?vydatVHDTGXbmhqtv+1JiMgKx8Rd568qCfwTTGqUFVvR7l4udkYXY/PwjylD?= =?us-ascii?Q?kr/4gemrnKDNK6DVK0mGm5r43pJL75iU0Us+SDVzT2NW60U3azvDaoaYZOaY?= =?us-ascii?Q?j7a4po2/YcCgtTPvaUqvDkS/hNYLHoAP0b5daioMsftQtKT29otTErtXyHVi?= =?us-ascii?Q?/FQoAYAztx8K0//APAeWXdBMjgi7An9kntGuaBc8Nr9Pvf5UrvOjZd1v11YV?= =?us-ascii?Q?Ya7jSv1il0KaDK4qpDRQ7+CMbl5D12hdt9uIc6FHsz4bsgyLRkIUY5ZJG4yw?= =?us-ascii?Q?uQ7MBsesl66SH8D0rPNx6qdcj/k7hoIVn5sLrFqEgJ3ZblDvysxIVZNWkOyl?= =?us-ascii?Q?wmiD7LJnu3UndsiehE8UIa6+mQmhmc3EfIoAPdT1kESDqtb7/WtLFg+DKl+T?= =?us-ascii?Q?B1ExXXd9KGeRnruGBQE3ska9DetI4rRYmeF5ns/dfg=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0604; 5:sh8fSfVNcpHUoMVBe3wQadqrwD4gUuo22ptnlnajCse3MdL67G9zLThCic4+KBvKTO2zI0GuDNDNyyz17bIL1BRnLZTQKJbUicImBkqbNqlnuGzLX/mGrc1Gmax2HkrjMNWUEn6NQpYrpamMLwQfM0G3N6yIf8cvpjazudeLrJg6Axc/a4+fCCouYb6bVZaFgJA14Mit1e1aTcV8tT5MMEwZ0BBsXpL67mNvJQ1cFYPrPC4Fz28il6RF7417z9/b/rvlY8mYDIpgAApoKCEwpivhlmxrH4VzYMTWbbjMimsVNMXu4oV4u4SYIq46AcRDT/UOQsxDYOk3fRdYivk0SbyQ1GrWbVOK0nuwUC3ihEZ4IepaLnjSJV5jMlIdsKUGRs8QzyQAfZAzsy14AFCQcquBRY4XV1gbP2Cs50Pe5EGMf3iqvjQMyhq/GMoe27F80OZ9qTuOEmQyv7c/S90EAXJNrzZ/KdMBEu2OXiv62H0XErXrH39B1LSNpe9mPsIm1vgtplOLWVme9ArkUI2QpQ==; 24:9GXXGuGjZ/hpi+1SJGiJhxMQlgnwf3AotIccN7DZOSy5x0w3/Dfxlp8ENKd7NYwof8pqIKlPLaRL7mekdUjNPAnWOy7wJS4NAabUEoydfJI= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0604; 7:wqVJdacw0jQpRcGbFUzn0t8QhwTB4RUykHXoXCa0fdW1LRLApmkIiUnDO0Xr6e4AneLzG9KxKcqiZy5tsvWiq+5MWirwc/vKi6tMKfjIxb88JZhmC6BZV6sqjzjuisC+h86dJ8TXsjcDCjND+IERrKeJ8HYhgQljKi9Q+8gW4oPDhXCzAxflYRIR7YppCMvMQtJvzvwY29azTaV6vWBX8d17KvananxlTFdtE8DDjGBHJXz84PFCCslnrIHEUKhT7krqepw6eoC3C/AHxl0cBAelQlSQxXDGVd8r3MInnerH4iD2l/ky0Zk8vwg+Kr8QwiHZ+/bb24l37hE/SNR1zC4KC5/+7aHAHDKx6GPCRDB1FGSf1JUOgAC7EZhxtwpXiGYM2s7K46maT2u6GqOk+iScaZ8vxZcFFGCT3mLrfy0gqUSgvqgL2Mv8TCMOkWTEUqjLKoh2whxtGy2pq5ba9lEuy/zRnn8U8m8pp6NR9PMEodaN6UuJGgmtuezKtxr47tC6bD7IihQf1AWWfBdU/i3ptrHEi3+DFbWydMZY7GHELDtk3hWkjsoePuEjWcRQ3R7tDGomSoPtFyqgqAepN/8cTGE+jUseglD97Zw+5bVj9yjFl8X4Zc4OnfaRBWE0DGCVpJ6803HaccvwjEFkNQNetWaQb20SbfOEV9Qm1M1mUtxuB/s1YqX7z8+BdUXZM1qFItzOZ2gVqMlS5hN6a/H8sksfMXHTNf56XnRmeUjVkpHGpGuGPKMWueu20Yogq3iu+XJqgWjeZMRu9LWmfHj+KSuUaqLt4OV4hGzMoog= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jun 2017 05:33:27.7114 (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: CY1PR0301MB0604 Subject: [dpdk-dev] [PATCH 33/38] net/dpaa: add support for flow control 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, 16 Jun 2017 05:33:30 -0000 Signed-off-by: Hemant Agrawal Signed-off-by: Shreyansh Jain --- doc/guides/nics/features/dpaa.ini | 1 + drivers/net/dpaa/dpaa_ethdev.c | 112 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 113 insertions(+) diff --git a/doc/guides/nics/features/dpaa.ini b/doc/guides/nics/features/dpaa.ini index 54eb85c..ea4c2fe 100644 --- a/doc/guides/nics/features/dpaa.ini +++ b/doc/guides/nics/features/dpaa.ini @@ -12,6 +12,7 @@ MTU update = Y Promiscuous mode = Y Allmulticast mode = Y Unicast MAC filter = Y +Flow control = Y Basic stats = Y ARMv8 = Y Usage doc = Y diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c index 0eb5b71..3cfbae0 100644 --- a/drivers/net/dpaa/dpaa_ethdev.c +++ b/drivers/net/dpaa/dpaa_ethdev.c @@ -329,6 +329,85 @@ static int dpaa_link_up(struct rte_eth_dev *dev) } static int +dpaa_flow_ctrl_set(struct rte_eth_dev *dev, + struct rte_eth_fc_conf *fc_conf) +{ + struct dpaa_if *dpaa_intf = dev->data->dev_private; + struct rte_eth_fc_conf *net_fc; + + PMD_INIT_FUNC_TRACE(); + + if (!(dpaa_intf->fc_conf)) { + dpaa_intf->fc_conf = rte_zmalloc(NULL, + sizeof(struct rte_eth_fc_conf), MAX_CACHELINE); + if (!dpaa_intf->fc_conf) { + PMD_DRV_LOG(ERR, "unable to save flow control info"); + return -ENOMEM; + } + } + net_fc = dpaa_intf->fc_conf; + + if (fc_conf->high_water < fc_conf->low_water) { + PMD_DRV_LOG(ERR, "Incorrect Flow Control Configuration"); + return -EINVAL; + } + + if (fc_conf->mode == RTE_FC_NONE) { + return 0; + } else if (fc_conf->mode == RTE_FC_TX_PAUSE || + fc_conf->mode == RTE_FC_FULL) { + fman_if_set_fc_threshold(dpaa_intf->fif, fc_conf->high_water, + fc_conf->low_water, + dpaa_intf->bp_info->bpid); + if (fc_conf->pause_time) + fman_if_set_fc_quanta(dpaa_intf->fif, + fc_conf->pause_time); + } + + /* Save the information in dpaa device */ + net_fc->pause_time = fc_conf->pause_time; + net_fc->high_water = fc_conf->high_water; + net_fc->low_water = fc_conf->low_water; + net_fc->send_xon = fc_conf->send_xon; + net_fc->mac_ctrl_frame_fwd = fc_conf->mac_ctrl_frame_fwd; + net_fc->mode = fc_conf->mode; + net_fc->autoneg = fc_conf->autoneg; + + return 0; +} + +static int +dpaa_flow_ctrl_get(struct rte_eth_dev *dev, + struct rte_eth_fc_conf *fc_conf) +{ + struct dpaa_if *dpaa_intf = dev->data->dev_private; + struct rte_eth_fc_conf *net_fc = dpaa_intf->fc_conf; + int ret; + + PMD_INIT_FUNC_TRACE(); + + if (net_fc) { + fc_conf->pause_time = net_fc->pause_time; + fc_conf->high_water = net_fc->high_water; + fc_conf->low_water = net_fc->low_water; + fc_conf->send_xon = net_fc->send_xon; + fc_conf->mac_ctrl_frame_fwd = net_fc->mac_ctrl_frame_fwd; + fc_conf->mode = net_fc->mode; + fc_conf->autoneg = net_fc->autoneg; + return 0; + } + ret = fman_if_get_fc_threshold(dpaa_intf->fif); + if (ret) { + fc_conf->mode = RTE_FC_TX_PAUSE; + fc_conf->pause_time = fman_if_get_fc_quanta(dpaa_intf->fif); + } else { + fc_conf->mode = RTE_FC_NONE; + } + + return 0; +} + +static int dpaa_dev_add_mac_addr(struct rte_eth_dev *dev, struct ether_addr *addr, uint32_t index, @@ -391,6 +470,9 @@ static struct eth_dev_ops dpaa_devops = { .rx_queue_release = dpaa_eth_rx_queue_release, .tx_queue_release = dpaa_eth_tx_queue_release, + .flow_ctrl_get = dpaa_flow_ctrl_get, + .flow_ctrl_set = dpaa_flow_ctrl_set, + .link_update = dpaa_eth_link_update, .stats_get = dpaa_eth_stats_get, .stats_reset = dpaa_eth_stats_reset, @@ -407,6 +489,33 @@ static struct eth_dev_ops dpaa_devops = { }; +static int dpaa_fc_set_default(struct dpaa_if *dpaa_intf) +{ + struct rte_eth_fc_conf *fc_conf; + int ret; + + PMD_INIT_FUNC_TRACE(); + + if (!(dpaa_intf->fc_conf)) { + dpaa_intf->fc_conf = rte_zmalloc(NULL, + sizeof(struct rte_eth_fc_conf), MAX_CACHELINE); + if (!dpaa_intf->fc_conf) { + PMD_DRV_LOG(ERR, "unable to save flow control info"); + return -ENOMEM; + } + } + fc_conf = dpaa_intf->fc_conf; + ret = fman_if_get_fc_threshold(dpaa_intf->fif); + if (ret) { + fc_conf->mode = RTE_FC_TX_PAUSE; + fc_conf->pause_time = fman_if_get_fc_quanta(dpaa_intf->fif); + } else { + fc_conf->mode = RTE_FC_NONE; + } + + return 0; +} + /* Initialise an Rx FQ */ static int dpaa_rx_queue_init(struct qman_fq *fq, uint32_t fqid) @@ -553,6 +662,9 @@ static int dpaa_eth_dev_init(struct rte_eth_dev *eth_dev) PMD_DRV_LOG(DEBUG, "all fqs created"); + /* Get the initial configuration for flow control */ + dpaa_fc_set_default(dpaa_intf); + /* reset bpool list, initialize bpool dynamically */ list_for_each_entry_safe(bp, tmp_bp, &cfg->fman_if->bpool_list, node) { list_del(&bp->node); -- 2.7.4