From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0069.outbound.protection.outlook.com [104.47.36.69]) by dpdk.org (Postfix) with ESMTP id 0A9A27D66 for ; Fri, 16 Jun 2017 07:33:27 +0200 (CEST) Received: from DM5PR03CA0032.namprd03.prod.outlook.com (2603:10b6:4:3b::21) by DM2PR0301MB0605.namprd03.prod.outlook.com (2a01:111:e400:3c08::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1178.14; Fri, 16 Jun 2017 05:33:26 +0000 Received: from BN1AFFO11OLC002.protection.gbl (2a01:111:f400:7c10::168) by DM5PR03CA0032.outlook.office365.com (2603:10b6:4:3b::21) 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:26 +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 BN1AFFO11OLC002.mail.protection.outlook.com (10.58.53.73) 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:25 +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 v5G5WNFV001003; Thu, 15 Jun 2017 22:33:23 -0700 From: Shreyansh Jain To: CC: , Date: Fri, 16 Jun 2017 11:11:02 +0530 Message-ID: <1497591668-3320-33-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: 131420648059255833; (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)(39450400003)(39860400002)(39840400002)(39400400002)(39850400002)(39410400002)(39380400002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(9170700003)(38730400002)(48376002)(36756003)(2351001)(105606002)(106466001)(33646002)(104016004)(5003940100001)(76176999)(50986999)(50466002)(4326008)(356003)(81166006)(498600001)(2906002)(305945005)(8676002)(8656002)(5660300001)(8936002)(50226002)(53936002)(47776003)(6916009)(110136004)(2950100002)(189998001)(6666003)(54906002)(77096006)(85426001)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0301MB0605; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11OLC002; 1:ImTo6jFNH13anuMzZ9bq6UO60+QiiQ9ZAnOJgkrnfhCXOURs/5gAG2R8BmaBHYhdyjKonqQc1HwNE4a6Cm4BbNGeZIRkbm6Kxhnrf9RLJjtSvfDf9SQ7Iz1weWseNtB8TPqoIiLxsEYpQlC4kcPoXYV2wiqrcb2rEpvOrwrOTecdeRt8p0c3UZam0hKbUrqG9beApXCXPX1k5QHetl0k525eAgptAFhSBDpulo6/PkkckvvOvYSMrFF+OG98fI+w70G8w2yNNRzN4JEL7P3STyHqbCKBGP77RNJVcwTAnvt3l0IaoY8cWBb6lR3IemFUGF40PdVi4lwIZDL+XBT3sUkq9Xp3MKVVqBZgcgksVcrSn5VIIoByr1YgdCKpwlPYGXat0XGmFlT31+Vkj+SVjUWmqjcPCvsc4rKICGl1xk3rSSkOTel1/JTKBFtWl+F6bHgLOpRtyR8uLTZENKomUFG/7+Po+OOHrwtthMcPN75F3er+47Cs2WxPDxHwO/ulEio3HMzUjAy/7F/D/lP33ksNFeKZa4x43FZA7bz9b5KgTZxazUyY1bY/vlWcdUh9znQBl5ZyNwtrkvbHjeGIM//yLe/TtrS0KSuwuRJB6SlcfOtzzVWO5I4AbV7TtEEvNOH0qp2138LuGNujj8LeizpVEnhdSTLE8JoctsLnry/K5yYo+yCtm0pJPg+S+LyAwZ4o5ItJK2gSEZH8GKEHur6LG/55xZvjctfUm6Bn6KQ= MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 811345e6-e03a-46e9-dab9-08d4b479362d X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131430075)(201703131517081); SRVR:DM2PR0301MB0605; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0605; 3:u/diKM1a38hkbEhlXvGYAPoS0AxNLvdnquHh7R5iio5ljRt49Op+MBi3A+Ej5KpAo47HQXrtM3rZMAV3ywacJVdyP83WrNyrJ5N6CIXbTrZyxEi8BRz7hDtB6JoODt3XYF4CxCwIF7Fc/dgdG0fElfXoxauXJ2/64PhIC3Ch/5KiObSc8/YEg2TZPgPpLGx2PLHgRUamXcj6PYUNMhbCgX3ON0rq+ypVEwJ+PTefk79SqRsJUMjzWf9gkPDEgEXzQdvnmAaknrRkB0zfmoN5JuQQkdO9mvi32hO1Jn0Bw6yGTJPzxGHqjcuz+LE+fG6xtY4EmSrB01/kfJELpSNViDnrTX7g9p+m/lgnDHVabA3GmVXO2/+mDOc2CVi/wPNwQPITITtgZYCFl7nMR3HQAa6AvP2DCo2UWK6cnvEpjjijsqDRyhgl+Y+vnSuVCWMW; 25:2bHdCqwK56RgpDpiJ+bXMgE1ajLixeKHMrW21V+bzQxlQRp83z1ZktuAaOqDLA1i5CkuZDSxHYZ8imYvjbDKAR0cOKS1mBkezE2bI3RUrHSBBtCOdf2eBqFopBK5rMwL7AitL+zstwtTJnRXGB9rxkvfeVPNHYmakBWUGyU0g2qo5bSrIoD0E73esX8jx1kog8xvbjy9RtrAMprmQvoj0uNUn7je/FfxlWyHrE8DssrRgc6VsXHEFm+E0KgUHyEfGFCJSXvXApng3tnt2o2bTspZZHr1e+DVXx2M9v6GhGjoGLj5OaG/xqZcmBt/qIZDBtzXRBkj78B++Q5m1BLYsiqnl21vOwR/G3PIGfJqftZhU5EykAUroUZv8MIFJYDWHBORHEEBqirl7bWDUPskZq4QqEBmjBCMEQvvfRmS6BC3CDgCQdOgh0EQDUhpz2vs7qaRhiQw8Pw3skYuWLmQSabefaNgoymwmc6Ia0BMhyg= X-MS-TrafficTypeDiagnostic: DM2PR0301MB0605: X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0605; 31:xyPBTd8W6OiV70083ov/3X1TJLWCU290XQIKRcYVCLU/q7B4d6e6auEWqM5jogXm/s5g9PAndciOTVid+ZEYcRPY9r8Rrdu8mBgdnIkvflpx+scu3+69quCh5i8sjfU/l3iIw8Sb5dtWE5WwmshB7R1M5U3OGWsb+zh5K8J/aEdLwBbqCdTGJURG4qYlcp/oRXLr3dJSBxTE0W4XZRfrvIKojcqNJtlJYHV/z48qZsezSrxfDZ/eYLpDQtA36wJo+JdeaeX1ePwpTMp0tYqS5Q== 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)(5005006)(13016025)(8121501046)(13018025)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6096035)(20161123561025)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(20161123559100)(20161123563025)(20161123565025)(20161123556025)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DM2PR0301MB0605; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DM2PR0301MB0605; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR0301MB0605; 4:+3WD12Gnuc09Nn6Nwa/rKgYKibVommRNj2Bib4ku?= =?us-ascii?Q?eFv8sCN75FSf8KKZM85MiuSdvsouMakeY/uumNk0EIqFxZy3ugeZ5z0yUK1i?= =?us-ascii?Q?BTlejRdGhqDVLaOrVa8+/cPDHJb/PSiABblYDp7/HcIOGGNwFrqEAX9oMpHn?= =?us-ascii?Q?J/YhvRgISLdjPyRDoFKiCY0p94amrPzqvQ+f6Vpr5wq6jFRfvCSh/M4251uS?= =?us-ascii?Q?+cd+AqdWDI6iG1cRoordRTq9edCGtlAwYdhZNatb0I20A60QE2V+VtnzDY7K?= =?us-ascii?Q?ySf697Y/K5msn+1Twt+bVN65YGg9fnrUyIOaf6WjAs8nkuEbt/zGnSWULuu3?= =?us-ascii?Q?Uq1ZQ3IXzafAOW7J4QG91yS+vg1c3EWLNCfGpgmHRlgQZ6QzoSkzL7Raevy5?= =?us-ascii?Q?XIjfaHACB3Oa8d1M3XES+Z62oAwW77HCPR/00BTRA21uxgRQbycpL2CjmjgT?= =?us-ascii?Q?buDxBdzBvxwUh7jdeXCGNZrk23UXPPB3iU6aqadhVODFtmgOiyn5I5fpv2wO?= =?us-ascii?Q?ZeWq+4A2FKqIW/TiUCVIJR8UE2OWyIXOS/dlF3FLZQ/wGA3CD2JAHUK6fwMM?= =?us-ascii?Q?EYOCLx1buzMeDZ6fXOmbA7TjVbszzWvNiOsWe5HMOggtzv9b61aImWGL2V+n?= =?us-ascii?Q?d0cx5c3Lbb++KlmMnT6mn4T9bH3Aew8XJpRpLDEHNCQ/lTa4+iXKvQ417fSU?= =?us-ascii?Q?jsbkRq+F4o5Ewh/uYZHu1eDmfusuc2GJSYTkCJDTZ/HNunQ04uQ74B35z2jh?= =?us-ascii?Q?WD0lwsDaR0rw4HO/Tasjq68rimMkOQLUEC1cbo6yezKx8WKuFGtxxJiv7pLv?= =?us-ascii?Q?MmMNIKBtjdtIoDW6NTWGk9w9QoTUeIL7O+4g8D/xeLFi1JeqotG+kr7HxPe4?= =?us-ascii?Q?Gmslrh7qCD2Ci3frdYwXn7JT48phbGIub0ICGwnBvX5xZG7xxgmV8+zaZARL?= =?us-ascii?Q?x/9LBuZandHJt7wRTzIoJX2rNLmvw0xgIRhSmPSJN01VDXPqE5S9RlAAmbtM?= =?us-ascii?Q?MtcVqIdOjRY4hyFoYrEiPnLuD4SOYxVruV3GMA2/zRdmFvAtGAqdqKe7Pugs?= =?us-ascii?Q?GSNm75dO57N1BhHeM68SyV8EEns+EpDLokE41ukqfgnWD3gahY5HDtaWXgCc?= =?us-ascii?Q?lYEvwmLa6yWs0lIdeIMwKvJdhkIhcvraZn4hSexsDYIL+jaXFKOFskWASDd/?= =?us-ascii?Q?2TZXGoRgX+ccCdxwQKP97xybMhKnlPgs48htXxImiwRsRsKMIbXJ4qSOMZkY?= =?us-ascii?Q?1ZB73Jd1kDQ1Yv+V+R+FvzjyXH4HA9LkbpLN1vm0?= X-Forefront-PRVS: 0340850FCD X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR0301MB0605; 23:G6ylySw6iSWaHAQ6u6fzprzTwMpKP2SBRgCl4/b?= =?us-ascii?Q?T0UJn2keHiO+H7oUq3QAEnpafvSSaHJ9U4QJx7yMjPFXXGNQFuX1EfJZZqPW?= =?us-ascii?Q?+5hP/HAECque7IgqrngGlsvA5+044R5MCCdOj4uyGNRx8GBZHmpZxuHckI3w?= =?us-ascii?Q?n0RS1ke0aZwRWP2MsiDvxjH6EkV57HnnB+L828B5W02R1k6Nz2qtPnrLtlmn?= =?us-ascii?Q?Z0jlXzvWdCWTct/5sFaIaniQyshKVxWmn61PiNGvKaDi4aqO3ll0WdjSYLxI?= =?us-ascii?Q?X2rmodr5Sy6xWT0P+3CyYyOk/rciUxecaphYYH3lzgYFkGXC16Rmj0LQFSQ0?= =?us-ascii?Q?tllhZdQXWNM2a0nVgvFi3VKK3BMH0Z7fzKKkjjU8mvpe94afV/EwgvFI9odh?= =?us-ascii?Q?EE7aYOwXb3dUO56094vZwwb046uxf/YPV5JO8HU4P9hkUQ/Rf4pPe3I0tuQY?= =?us-ascii?Q?d0EFMSu9xTNJs1i/oYB+7m2yKkxnUAsndjC7jCheK//rHPDnFHD6qgEYmqeh?= =?us-ascii?Q?JR7tq2znuf89wwAb5NpHP1lOvihfJ510uGaMwWKGD1h1ucTJErb18ZenpCYF?= =?us-ascii?Q?scGNzRGnfyf4rBWLne1OdF251lRugMfJZCEb8RajR1DaAjlW/pJ+H7oGTvXv?= =?us-ascii?Q?HEPBsNM/eRd467YvBjrvjxgfPfYCyMpuBwo2ok4OqMY5xvxSawhfAzspMPDG?= =?us-ascii?Q?odCqvUugvAytzeCm/Rog5dyd3k4K51ji+d4+1ZcrT6/bh///GQNkvT2fXXtI?= =?us-ascii?Q?6EoBSakrUsI78YZyUUBxna89PQk+krisrHKV2P4LfZ/4n2Pn7CIa8nLey+2s?= =?us-ascii?Q?NMR+rN81DEHnvat/eaQm4JG/E3eVhzvJ/hKyy2Qha0NzOc6uUt8451SI+Fqt?= =?us-ascii?Q?khNRTbVG8VQB/JlsR61CSEFcI02iEz+ezOds6/hSi7wh8Z+vbRJTbaxtd4Z5?= =?us-ascii?Q?Oz3Ep0WbZZNeOT5UR3HFOHbcGu+nXgZepxM0boRVo8ZnER/8sAj3I5WiXfKU?= =?us-ascii?Q?VYPdd1l3hVv2Ffby+3t4XNfGTh5i4PvrQfhOLI6OZ9zRl/fRYsQO3hsU2oMV?= =?us-ascii?Q?hl58aqKjo2NPxJhUAPTBtF1n9C4CFjMcjZT+sKmOFoGz1P8cmCh/wqxZ+/mR?= =?us-ascii?Q?tYPOrCfndNfRFY+qQKUoPUfeh/LO2512GglXNih4/eY0rm8Rmr/ElEevEM49?= =?us-ascii?Q?Xz+xKdroXt7hfW4iFFem59NcMjvtc52VUPhF6avdInkRqANWncaGrjalKuKJ?= =?us-ascii?Q?gVTFTchiD4TL9GVbhv5M=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR0301MB0605; 6:8w91ByYWvUcZEJ+4J8gKdsFwVMmOiswDZXuUSAD/?= =?us-ascii?Q?UFzKvW028TjrnLB7M/d3Fty2usos50f1TgxCscSXEUlDk0HJenC96OfbfXcL?= =?us-ascii?Q?uw9xDvWYOlzmYePdOWiDypJadsptqAV4U5e+Z7PYnXX22+L4K3BXfSCOSgyr?= =?us-ascii?Q?iJeEmbXbC9ZTiozr859FlwrzGVVnGh6f117bMJdX9xBuBd+zcj1f6Qeu0qle?= =?us-ascii?Q?VGS05e6GFxYp5CyBPGZUmrhlrsIOPsNZWm1p4PO33PdxB4NZfhfItCNHD5fE?= =?us-ascii?Q?ic47ms4kpS2yIp57g0htqmBa2I4EfSz8cY5gqCsRyOmoWoK5HOO5Lap69llb?= =?us-ascii?Q?JKBYPtxG5MB7FW4Td3eJ3R3q/p7dV0bwUt1hb7DeeahMfNivgWZ4tSs2KgCQ?= =?us-ascii?Q?yPuy5LVV7YB+K5/xc9x/3flm/ue2xsrioslOMh4VJ8OgCr5LBDuwzEuALrkm?= =?us-ascii?Q?oEhOXdpdscUXOVD43RUBppVLNvo1/7HV1TesLxIeMXfhIpBiUNF9SalpCBb2?= =?us-ascii?Q?WYg8MbWCC8bNcDiLPqhjq143eox5KvBnCuk5jOWGOtx0l2aEl7zwPDj/IHsA?= =?us-ascii?Q?OCic2g2YpJUX5aoiB0RZ+lEW9lNHlCbKqyfEcl1CXTt+fpsHh3Uhc1DnXo4y?= =?us-ascii?Q?uA5nhj+zAjQNVYO3Fv3G6Io70yzdeJ7p+cNalVFK0J8R6rudwk+ifm7vimUI?= =?us-ascii?Q?Qg094Rb/s1MkiA2WWJudssaOJcct7NDleMj5RQwIP1QH7grefXLyyfpk8zL6?= =?us-ascii?Q?XkPJ0ICNri2L1RnYlU/OSMgXMvv3K611t3ojDOaq10OkznFL70uAlOICNJOP?= =?us-ascii?Q?ixiCSvcyEB15WSEt2tILIB7QBczbuwD1V2W2j6aB+eGPuhs/BeDtJIxFBA/C?= =?us-ascii?Q?u5mt4yP+lZ+OBuQ6+d/lmeKBVAEBhwfKGZj3R/ZsLo6cd4tI/j0gNgKO9gir?= =?us-ascii?Q?ftSOH+XVmonQGyJnGs3A2UQ+Skn2KsJCPyvFVQkjpA=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0605; 5:3S8BTDGMkFenIqF6D5CShB02/fiAD45c4e7VNwVi0TCxBWQV8ksC6r1SWkhoEaxCzQqj+YmfHASNsA4oPnD20kfi7S8R/BujAcaMCeXMN7GuEvZkrZC3PWoAoCedOxDbOpfyMeZfX7xmb5pg9382ZrZMfHGOsR8G3SPZ+KQctrzoNgLpmLC5G98p129kpUudPFZFNN07BILayY2GMar0LIk3ltMyJdyUhYTlhy7mcfTUKvMClHBDvnP51p4Nxe6mjO5dAkE7JypQHQ+iOGFsBL84SQucnXjvSILCdyHfiG2X42aQ5dCdTvKOtQLDzSeuhD0T5gIVFguuwFGiJ9h1Ioqhj00KOTv7kCDf/wbf05+voSv2AcLsBmU2xf2gIcnsavllkIJkGKGLX2VCJMucJSwrD6/IE43Ha1l97NPa2VHarRDoUwHFL2yIQJFKi/ZSBKOmHEI7L/sKNC7C9gdcpvwGTbHSCA/ST2WCZfOEmdpAM8kvGUDkFo8z+SDgecH8fkk1udISWBm/KffqzoMhqA==; 24:nGs1KHywx/Dcav5yM+UmtsQbjzaqZziFhoTJeNA2icNhVG3cSI7l6qnB+uaxKSnboSGcmtjU+ua2AROQWXkjglpXHtMX9f0FjgUfZ7miXGQ= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0605; 7:i3B4ngnp4XSpreeplwYkiI3GMGNkkSRn9VdWQ/YyuoWbCBGAAtws5KU6mbCLrGd50pZzzbBghJjPSRGDhpBheibVQUgG229PSOQFTj8RIVqRRhKqKKZeUQCsCzf0rNDZ2x5hmZlQ7kMBEQAtdsrwjvPoEtpBKmtppE3sy8e/MD/xuL/mz6JndJUFg6Fawwa1pYo+fBTqvuWNvHlopej6KpCCRwmVtSbuGlqrwMlSZIKgt3PBasBpKTvgZ4nbiDnEnpZCr59lZ2XgUOOjkb70i2l/6FETpAF8DFOEkBbKVFEx9TBCQ//K8ymduJXd88hvRgnOchsxmwlSbB+3PRrwDFAxdLLGm3hlL0D01femYbpmNwatZpD/pW3svCL0o+7vkHJZHNfIpJiLvWPgDKHowo1ZKTwoIQr9sL+WlJ/DxzFVEtrZmj6qH2fJ5ZAE0Jrs4IenG2BenNcIj3rtxhYldOG0MwV4CYQbql8Wo0TvSYfzznKT0CgFYGgP0u0dm77sNz3QogO4KvC97QZ/nrq7ziKYKUyEiQRb5LFYnJklMCFXMqSCG5piXLi4FEd9/aAgknj94aCuAJUdhqNIQzUP91Th3saJXAkQ7JiU1Hg3gKkjNQ1NPA3LIJxDrz9CHID2AxKps/xdR4szp46+VlNI65IcNRYNH4b/JnbhNSRussTRSF45nSCA1qzq0T48NlU+GJa9fCoiiZStbnfgZn3iVIpVM38twI7vm2YOKOUbaUPl/8pI7R7lq89TSfYxe2boU5knmPt1IVT4ut9MkQZSnIFVXoDQEe2BNUNQbFCv5Qw= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jun 2017 05:33:25.7071 (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: DM2PR0301MB0605 Subject: [dpdk-dev] [PATCH 32/38] net/dpaa: add support for MAC address update 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:29 -0000 Signed-off-by: Hemant Agrawal Signed-off-by: Shreyansh Jain --- drivers/net/dpaa/dpaa_ethdev.c | 55 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c index 649b67f..0eb5b71 100644 --- a/drivers/net/dpaa/dpaa_ethdev.c +++ b/drivers/net/dpaa/dpaa_ethdev.c @@ -328,6 +328,57 @@ static int dpaa_link_up(struct rte_eth_dev *dev) return 0; } +static int +dpaa_dev_add_mac_addr(struct rte_eth_dev *dev, + struct ether_addr *addr, + uint32_t index, + __rte_unused uint32_t pool) +{ + int ret; + struct dpaa_if *dpaa_intf = dev->data->dev_private; + + PMD_INIT_FUNC_TRACE(); + + ret = fm_mac_add_exact_match_mac_addr(dpaa_intf->fif, + addr->addr_bytes, index); + + if (ret) + RTE_LOG(ERR, PMD, "error: Adding the MAC ADDR failed:" + " err = %d", ret); + return 0; +} + +static void +dpaa_dev_remove_mac_addr(struct rte_eth_dev *dev, + uint32_t index) +{ + int ret; + struct dpaa_if *dpaa_intf = dev->data->dev_private; + + PMD_INIT_FUNC_TRACE(); + + ret = fm_mac_rem_exact_match_mac_addr(dpaa_intf->fif, index); + + if (ret) + RTE_LOG(ERR, PMD, "error: Removing the MAC ADDR failed:" + " err = %d", ret); +} + +static void +dpaa_dev_set_mac_addr(struct rte_eth_dev *dev, + struct ether_addr *addr) +{ + int ret; + struct dpaa_if *dpaa_intf = dev->data->dev_private; + + PMD_INIT_FUNC_TRACE(); + + ret = fm_mac_add_exact_match_mac_addr(dpaa_intf->fif, + addr->addr_bytes, 0); + if (ret) + RTE_LOG(ERR, PMD, "error: Setting the MAC ADDR failed %d", ret); +} + static struct eth_dev_ops dpaa_devops = { .dev_configure = dpaa_eth_dev_configure, .dev_start = dpaa_eth_dev_start, @@ -350,6 +401,10 @@ static struct eth_dev_ops dpaa_devops = { .mtu_set = dpaa_mtu_set, .dev_set_link_down = dpaa_link_down, .dev_set_link_up = dpaa_link_up, + .mac_addr_add = dpaa_dev_add_mac_addr, + .mac_addr_remove = dpaa_dev_remove_mac_addr, + .mac_addr_set = dpaa_dev_set_mac_addr, + }; /* Initialise an Rx FQ */ -- 2.7.4