From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0066.outbound.protection.outlook.com [104.47.37.66]) by dpdk.org (Postfix) with ESMTP id 3E3825587 for ; Thu, 29 Jun 2017 12:28:47 +0200 (CEST) Received: from BN6PR03CA0010.namprd03.prod.outlook.com (10.168.230.148) by BN6PR03MB3155.namprd03.prod.outlook.com (10.174.94.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11; Thu, 29 Jun 2017 10:28:46 +0000 Received: from BN1AFFO11FD023.protection.gbl (2a01:111:f400:7c10::136) by BN6PR03CA0010.outlook.office365.com (2603:10b6:404:23::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11 via Frontend Transport; Thu, 29 Jun 2017 10:28:46 +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 BN1AFFO11FD023.mail.protection.outlook.com (10.58.52.83) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1199.9 via Frontend Transport; Thu, 29 Jun 2017 10:28:45 +0000 Received: from b27504-OptiPlex-790.ap.freescale.net (b27504-OptiPlex-790.ap.freescale.net [10.232.132.60]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v5TASSbG002766; Thu, 29 Jun 2017 03:28:42 -0700 From: Nipun Gupta To: CC: , , , , , , Nipun Gupta Date: Thu, 29 Jun 2017 15:57:48 +0530 Message-ID: <1498732085-18449-5-git-send-email-nipun.gupta@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1498732085-18449-1-git-send-email-nipun.gupta@nxp.com> References: <1495735361-4840-1-git-send-email-nipun.gupta@nxp.com> <1498732085-18449-1-git-send-email-nipun.gupta@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131432057255647936; (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)(39410400002)(39400400002)(39380400002)(39860400002)(39840400002)(39850400002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(9170700003)(8676002)(8936002)(77096006)(2906002)(81166006)(86362001)(2351001)(50226002)(47776003)(33646002)(6916009)(50986999)(2950100002)(54906002)(110136004)(53936002)(38730400002)(305945005)(76176999)(8656002)(36756003)(5660300001)(4326008)(104016004)(189998001)(5003940100001)(85426001)(105606002)(97736004)(48376002)(498600001)(106466001)(50466002)(356003); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR03MB3155; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1AFFO11FD023; 1:XTWdedRFPpCs1xjjNFeCJxCWAFAYnI4NZpK8mlZiB?= =?us-ascii?Q?FL8bbGUXVe0la3o8kO92697R+2Evo7IZvjHNRgHafHP0wcAN7Ix8kVI3laip?= =?us-ascii?Q?YrByWuZhxbLljWSJKCkRepk5J7ZH7LTxA+WO63zsUvYwvAFZikOanyfgU9Ot?= =?us-ascii?Q?OENPgiyJfN1F3vIE7hz9/N1yKkD74w+kCd0dwgf1FvD0Nw2wyulob/97kjce?= =?us-ascii?Q?RhFCXVfg6DUKM6PzVldvirMjaSJy/5wKACeGmsGd5dtEMsG5Ef2h0/6DzVyh?= =?us-ascii?Q?/O40uJeJK+NYurAGZR0tdMCHSyBh5btlc53bYWjrYtRioMHlR/NlK0GlzaPn?= =?us-ascii?Q?nDu6uFk6/grOwl/7h11YLiAefAAgmgBO4vMK7Img/rrTynAypBa38kvMNvj7?= =?us-ascii?Q?PxXtLy7kYsZrorHV/+1ZXhhe2I4/8tywL5OF7fhy+y9lKDaRFbsWsytUi3gQ?= =?us-ascii?Q?9l4yDvS39L34H9z386LlgoJ0tqsYXymX+x1rdLzr4q8MZQPQO6Gc8iOE7E0C?= =?us-ascii?Q?7JWp1+46sd7uFE2Z5V0tzTJnLkfmrPCQJgUAkfMgEBeciu1IkMFHIlHNQC5W?= =?us-ascii?Q?TvvRkYzflTstn5QGTU/yzi5dTjTUqHsuuSG5eWy6o9pxwks75jxXEbBkp4GI?= =?us-ascii?Q?y1Wc9QoDV4gPw5Rz/XUPZIK7E4tPsrxrz1WCsFjev+ESX0IxkCi8IUQykEgF?= =?us-ascii?Q?yDjXOuHYHJTu0tx5wwXA+cJ2U1F+iG5DOM6bOLZjH2c14Ix83bUyWIYsqnye?= =?us-ascii?Q?Z9PhvkPknNmscvZk03PMoyOxtbc5abTh3bXtNFMMlARylCpaYFIbu+vy9HYe?= =?us-ascii?Q?zvcPAR5h9gAS9ukBN04jdJttu6cyt8SQa9dWZImyJ9gf2yG1J/qei6/UK2Ge?= =?us-ascii?Q?9d2UF4ZoshRYNwdqHX2wlwHiNytv0GNW3AQbfcT1rmDkaRCp5bKTiprpXXhX?= =?us-ascii?Q?yfXCGoRrcZORgM31gLu24GSLhv8apRcxjBpkdrXyNtEOEGawhPjgvcIkv+Uc?= =?us-ascii?Q?tmFNuRr8UJflNHhMrWt8Jkv67LwLiq/LHOfauZMZRWKTS651O91wD0wnI33y?= =?us-ascii?Q?tWvoP/i8FNgOwbkODOADVWCzNu+zHglAB5JxsD6Zpzm8GdKSQ=3D=3D?= MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 90121810-5b39-448b-5ac0-08d4bed99f49 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(300000502095)(300135100095)(22001)(300000503095)(300135400095)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BN6PR03MB3155; X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB3155; 3:mZUmYR2ZX4PheBa7EQZBXZ1h985KVv3T06Inkf5AaK+FuQ4IpKHYPZvQ0kg8dNdU9ufitDfFxEj3tN0xDNoqg9FkyFg4jVwRtA9Ko8nBhCCMonZzUGKezIu9o3VVQLcjMy8neGQV6L2X+tQrv0yoAoaoQkNXelGdNv9VDUrDFABWuZjgUXViU6vjpgXxa5e0uuQhnxwyfAtjdNjuxuaJNqSi4B/JkHO6E9tQsqz0eHcTn20XyM7TCGRWg3SaO3LJK/3UK9QVyhOaF5hvadkG4jUe65mGoqJNVhESy0Qdc48ONCs9oyxZq7GrbnRaPXUP65B4o5nINdRGe72AECsIgzrqDnqcZTCxJ0EbqjoR632ApQW+yJlRYOX+gXFLuNj6GZaU0/R2cfnS9aRNOrGOLFT4FUNQHvjgiFG7e9Mj2dUDeK87p8FDMn+XIRk09DzgLXMj872myyHk4vxzgtXe2csbRNloh90VzHwxDXfDeSRglTqWNKCH3itcHaiKHbn6PLtRVqEkFa6E/zSb1tumsZoC2P9UKE/Es47SP5MW/BrmV6LVdIDqdSpTeC7t6D83wNweoh2qtjlaWKB73Dtz6B1LTDcoRo7h12f/LIxg6JpI/APbFKXge+VSI5seaQrslJ3gpCQYeim046dnJnHH8IFA+1l2e/iIRzWGtIUnNPzgqceloudtDX06z9yzAkcUFAvvUwRjY/NAglssDHphDC65qomXGKji3PT4twvWriqHcEo2G4IJQCFxoNbfFuZ0KUV84Ns9wlMT1wh5oHMigME/AdZMB1vefwlhJDwJ36GPDahMGxLCNHokE/fvqYeTMgNe37Asq25W2mLc6qXRYA== X-MS-TrafficTypeDiagnostic: BN6PR03MB3155: X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB3155; 25:VBdF1biWo7cc5jo6kt982cpvqKRIFkqhZalPpaWGiZYOu54GTSISMOr9/AFuVwbaTpfSJhSEAS7reiBQBgx5F//MCdVO76x28DI4QzOcenwiNEyoan2IzGLBfZevkryVuwKrJ2IPeuzr9XOLkwrBYhbrl+1RNfyzbFi1Z+xLN31BEwEktIHLjwgtqiHDdE1GEe4Nae4/TM5l0qZIJ4nLQEGaBYyaYqtTKvYORZvA5hVTdEO4EpSS5X5qy+P9+qrwSNDJmM1wvJoDBrf2xX6Qh98ABwav02NtALU/l5zCusR4vdqaKzvStbLkjxX9PJtiXF6tLkoD0rDdrgxJULugeM64AzSsBib+or0nb1ALRsggFjTGdcLiBDSQV38cYNp7Alre1LmMQm136Z/iqIAAUdxpYxCk1gmctk7AdSg7eg6+hcNv66Yqk3rpDLjhL1JPBWy/SA/KMNyoqCDTgINViV8Cfz8asZIfs6H5nWzijNAS7fCBJLAHgf4d/IlIEZ5fGZ9inPmshAbf9TwuZhrzfzdC4hy04gDiXEZ65aKDsW9ibf2uiuLw1Skc2Wbc75lnNDF61sxmBEbsmHL+T32RVTPxortFSFiTaFpXWut6sXMrjN7fMkfoGDVD93+3RpEpSO59tG01N+BhGln9T5+5unc+9LyuXCNhtnxFnPe/Zl0kVsamORg5ajvEq0Vba9RmR+fR6IK0yKU6VBEWl3SCJ4msbI3vUd5O9ldRyEzcrZtnCEJGzLeh5w2ZM/f7VPq3MEMyIFvmdoZFZfrjm+mLYi+N6A/mr9GrFOmALXdxD0yu8css6VsRIMbb4NSFrCgiR0O8PoVBi7FbtP6hhi644qj4vjm0X2RLzeqaDPxRs2vSHZna8nms+b3EbsQ5oZSyRpDq95RiGhspMLNF6Boqrj/qYPGqKJDX9Jp7tbn5BPc= X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB3155; 31:gBHc9PrUts/pePuo6NcLHJclJ4jr9Ji/FKfjbGODWEzhsNVaSieEPB/JeFQqdvx46oWa1dp4WrA4ebSsBvHHw76kw6WtUtq/bNyRe3Qz0zf6s6/bL9yNvVNMHuiF+aGaoStpzQ5So6GdTZCWs0x2kbzaM2AihzFRxROzOEZG984FlV6iwISW7400xnPfzHLSigYOAGdimcmdBgX9PpOhKhy4wi4cCvXPraRAWvzuShT9A9WsbWJ6CPa71xN3bt3f3kKsKTDGHEdQfAZZPHD3iGhKkJX7MeYGSDEw8f99gyV8YdXtFVtmWpSKk82WvkqmbpCxAxrp4Si2Q8OVAQ+LYgxSY++9PKjidxcXqWqSUHkRVFMjlE//hZfbnJlKfX7P1svSbdsyXmxKAUuaQSNvxQ1xcXDsdGUGXXNpaPlahGbEWE22IkKda2T4wWMOsl+by8X3kXJayAAz6OYTz/UGRCCp1LiHvA/sd/aW5VOTeL7hXoCMoI6P75YXZpkxlC6koJwOPv97NuKuFO5WIUlani34EM7HmdSwsR8l4Cgpc0xeowQtJtx1XANAyG5D+flvQ+zn8wZSxXDTlh1W8e6rIdceFD2WSKix2A0NeTZ3Y9b8/AjrVffx4NNBGRZ6zzvf3eq9Vqb+vtY7UjJltHPWgdPcV45DGWrWf/RQt40xbPInKU1yJIiguZSinojFnrOoJirCipNR7RcM8zN8VXZFsw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(185117386973197)(275809806118684); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(5005006)(13016025)(13018025)(8121501046)(3002001)(100000703101)(100105400095)(10201501046)(93006095)(93001095)(6055026)(6096035)(20161123561025)(20161123559100)(20161123565025)(20161123556025)(20161123563025)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN6PR03MB3155; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN6PR03MB3155; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR03MB3155; 4:qQMHBF5Jnf2aef7uhGk4SXsPajwls/ZsoQXmuY6cdx?= =?us-ascii?Q?6dSmzDaw+uxiy26dkVdr3Pn5zNn3mz8Bwr7namOF2oT9xA7FFgqK13vsDiCw?= =?us-ascii?Q?hxjY9HQMhKry2Ov9eIh53UZSDlYq1aLlAihYLftACbyi2Xrl8cc6YHVhmqms?= =?us-ascii?Q?ybOCl1FwJelDQcQR3zkf6vK9mTyAMAJ/EMmDnAtWl8ydm3Ap90RsTKsbuDuv?= =?us-ascii?Q?oJaZX4ljxeei7mDykhNccw6BEyiAR9LbjREg5pcP/ccl+Nor5jcPOjVuraqT?= =?us-ascii?Q?ggpQLwua5AhizjPHGKsI0W9CNOdHs1nAW7Yik+ZLEHibqEPL9mzcOGr88oMP?= =?us-ascii?Q?XOTwuNz+OHRzSLU8gpNC9Y251Y10W2qfdHi78yvf3qatMC55znvxWg3UWn8s?= =?us-ascii?Q?vGxiAv9HfpY5aaYO5914V8e49y17+RavIdzs2SkxhIYc0/bir1JhbPNaMxU0?= =?us-ascii?Q?QhagHWDGBHOyeJmTYTnW20fEl6sy3xDQeeBWNSh3vERJUvV8JmqPJW12pfpq?= =?us-ascii?Q?szU9cAG93XFuU4KvZLcPrFgtLK2eQs/DDtfZEyQPL5yhYKzmUJ3khGWC6ucc?= =?us-ascii?Q?1qHZC54HnzGk/hQYOF4NHDkYjGwN22NZgtj7AjPi1nqyFXinGjZryjnGFSp8?= =?us-ascii?Q?4kr4V3h7odSY5RjR0yTlmmMHwKrWRv/TBVb4as+ThEO+dMYWXSDneKLTjbs/?= =?us-ascii?Q?ed8n+sB7IKa2OG63lxcwviZzozNcnMu9ffsVyNfMol60lw37byHDy4PLT8+m?= =?us-ascii?Q?yb6ad+zyuVW9ctdeMMB+TPWaIWRdyFphKdlnYTDZdoVlG8IlmdR9hViPYgqf?= =?us-ascii?Q?hRdgqtf0ehdjlJwPnjAbw2BLaQJiaa7EPMMhOTVJwTntVMjDUcL6nFlyFJVl?= =?us-ascii?Q?MV4dr6kRmbxDwtclNP72ut/5KWIvfi8ddgkgWUGLYwUPJQXDPkJHTnddtix9?= =?us-ascii?Q?aQN+PEhNM8vNh005OqmSTxmWvvczCO2UIfCS3meLhJf5N4p1nt8dA8+HuGsg?= =?us-ascii?Q?iobtTbe+me/dqDjVGiC2QuqhH3JOKBA64xBUdF0oY9UedBbWpy3F1Uyc55rb?= =?us-ascii?Q?P3LD8awG8gddp0K22tk2qpO8lQTn5kcu6LB6nj7Rn5ghbaGz25F7bfkNmyon?= =?us-ascii?Q?ho65RbqJspmV4/rGFVYLCikxJh0zLm6XO5KQwC1ENzW5VR7DoRbxX0XmsLd2?= =?us-ascii?Q?JaNQWPBLSs0Xmd9KMpGwZ7401KcPwPNerdAlkDyEjnApYe5d/gq6ILvhol3A?= =?us-ascii?Q?FxALp66wbefs6kiS5Xh7O5tJanrEWaxzrnO7DAyLt6qWusVcQaNmzzXI4YrC?= =?us-ascii?Q?RRB4MiijovGlyvTweRvrsOUhRtKt3W4YAt74SSWQcr?= X-Forefront-PRVS: 0353563E2B X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR03MB3155; 23:s42Iu4gv1O84BffOIIJ+4VMQDoklCerDsp6rK9ke8?= =?us-ascii?Q?FCw5/szc9zRbR+foNfhXFYGNNzQNBM6laN4BNT8Oeg3+yVVpKM8q6/eov9IX?= =?us-ascii?Q?2K2vBg/1jzBURiWT1OjO6izu+8E2NrLzyvBBYEn6wMB40dNRlxCPC/GKDhUk?= =?us-ascii?Q?jCpiyxq1Pz5Yn1ziG7TeygJQ6adQD6/u3Bdx5XKkhWhXVv/iCvgJm0Mu1XIQ?= =?us-ascii?Q?l11JLfCQJSE1HskpN29Pv6e406+1XoKEVtqBHOIq6u5Sjn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h8GhznWUJmTz4gYiC5b757ykASa0t37YPZ5Q06+NqQu9MAG?= =?us-ascii?Q?+YYHlMUVvy8zpeuWTvLKRsbWf9KDbsxXCl57iCXKOEU7KvvLL9UvTeUbKy0h?= =?us-ascii?Q?I6OazZBbao3K5l6ngH4AGE6/FTeZQWIrtgxeTZiOcMdLD3TVupL9qmSy/IYL?= =?us-ascii?Q?vr7zhrB2GGsRM3Jj7ekh7JBqda+5Jg0wejE3WtPeRSkiXckJsyNBdHE3+b4Q?= =?us-ascii?Q?4BThh3wSxTvrWy7J5Mx3QkmwvifnWnO+h3/kBQag=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB3155; 5:esOq5gtqPgUIWrPQWhsLAe6OfrgCYgOUikpuD4BVUwioX9v0g8lO/PkvvIHw5Fgq8CZs7GxPDRyRRbpwadwHBOg54WNF4VveP4YHmxxxvpshfdJhKA0lGBppNnSkwjRCS81f3bqOxy/7CwA9ESd7d/jihv9JmdeDhikDfrXxYX//aWECWhxX44qvimxiYIpeKuE27zFKssz2uLwsZshJh+5XfzZ1V6zYwR1Cv420lbNQfSXEYRJUuXIteKPJUZdUg27U2z5zKpjK+2expjq0vv5Eh0Jbyyja7CAmFRe1+MZQTuGS0Tga1ssHF5U3wNn12cgoriRUUYIkHfgQy5Xb53+8e2wyjwG005btc4sQ7dh3kVn3FUKVF0KLs+7sgYmmaZjTBhCHOn+kXlgqG1825fUFMK604TVUeA1dXMjdw2EiG6qt4/WLhdUZT6zirNJiixsoqckF6/8e5tBBOUcBg9EzmSdNHKbjOGJTEOXNueq7bupm24fb5uh2+WmJYYvv9tn37O3piw/gijR5ikcZ3w==; 24:NsUaZohGAq46gHTuW+tpBSjZeW51dbjagh4zqxy6P2DsMCED52vtQJ0VvkdQS+K+gtrT4qbfKCehsJnXrs2JWWVW6HNAsTRXr0X5U639eUU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB3155; 7:2s0Bj39M0xthH4tZh8FJ/iwzhVkt3adkJ1Ya+/gnix9VOqImsjho9usx+1o8bbzKxhivTws4JmxXRNvTQnH3wiDzpMh9a6/xYUZz9BEiovruvzc0H4Md8qUTaGEcXxtK1liho1e9kLmt4f4cycl/ukgco+jmemUmH7x47zzvz0PtqGxzrE8wlub4oLOvVeSgSOlfzHt2dJ1yGp8QgPzT1HNRrQIHpgK9+V3tYHL+YpJEjI85ykDWklR78UIgsV+ly+eUUdpY0pjFpNc8R2L22tqsK/EKvi94ZRFS751JK9KtiwX+1RU0TNZohBAh7Crq3baPyZYUAXPXoTnzHH9yUpQger8F5dzvTSDZS+BMO1KLBK6/4OIN/jM0hijzllKiV6fPb8CNzp7+oaND4UwUqSRCbEDlFtLnqqBpeNzXwrBkCwcolth2PxMJiXpGZP4klpNTg+afYWmXrh6tG5WXWymOUbaOQMuiVKtZt8psqutI6O6vvT0JLJanD4sNQFX3m6qoHV0ri0aHBpR14ZaV0FZqJ9yS5yAp47QBzjOC0XtqTp64ykwM/frEcjVtV0Br2u9YrHrHldv0ae2QJWVxkfHxYiu60JMLjZjs2DjxPHd/TSuupkmhIz4k3P9cFLrGWGCB+NAKbywTQIhnEjbgvHGxRe0/IXV3cYAetjoqyrIjIDe//cxhwOPRs85xpJytrTBC3EKIPR6n6LQVkSG8fG4n1wFMK7vxenBTtL9IddEGJO5IzNmjvXT/K7fC2JvJY3SPuIKr3ueM/HfJWcr9CGj0FS0R1aW+8OoNJeoewMs= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jun 2017 10:28:45.3307 (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: BN6PR03MB3155 Subject: [dpdk-dev] [PATCH 04/21 v4] bus/fslmc: integrating dpio and dpbp to object framework 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, 29 Jun 2017 10:28:48 -0000 This patch removes the existing static call for dpio and dpbp create and add them to object registration framework. This patch also changes the vfio mc object processing to use the framework. Signed-off-by: Hemant Agrawal Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/fslmc_vfio.c | 24 ++++++++++-------------- drivers/bus/fslmc/fslmc_vfio.h | 9 ++------- drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c | 14 +++++++++++--- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 11 +++++++++-- 4 files changed, 32 insertions(+), 26 deletions(-) diff --git a/drivers/bus/fslmc/fslmc_vfio.c b/drivers/bus/fslmc/fslmc_vfio.c index b9dd2a9..6ebf779 100644 --- a/drivers/bus/fslmc/fslmc_vfio.c +++ b/drivers/bus/fslmc/fslmc_vfio.c @@ -374,7 +374,6 @@ int fslmc_vfio_process_group(void) char path[PATH_MAX]; int64_t v_addr; int ndev_count; - int dpio_count = 0, dpbp_count = 0; struct fslmc_vfio_group *group = &vfio_groups[0]; static int process_once; @@ -513,18 +512,17 @@ int fslmc_vfio_process_group(void) object_type, object_id); fslmc_bus_add_device(dev); - } - if (!strcmp(object_type, "dpio")) { - ret = dpaa2_create_dpio_device(vdev, - &device_info, + } else { + /* Parse all other objects */ + struct rte_dpaa2_object *object; + + TAILQ_FOREACH(object, &fslmc_obj_list, next) { + if (!strcmp(object_type, object->name)) + object->create(vdev, &device_info, object_id); - if (!ret) - dpio_count++; - } - if (!strcmp(object_type, "dpbp")) { - ret = dpaa2_create_dpbp_device(object_id); - if (!ret) - dpbp_count++; + else + continue; + } } } closedir(d); @@ -533,8 +531,6 @@ int fslmc_vfio_process_group(void) if (ret) FSLMC_VFIO_LOG(DEBUG, "Error in affining qbman swp %d", ret); - FSLMC_VFIO_LOG(DEBUG, "DPAA2: Added dpbp_count = %d dpio_count=%d", - dpbp_count, dpio_count); return 0; FAILURE: diff --git a/drivers/bus/fslmc/fslmc_vfio.h b/drivers/bus/fslmc/fslmc_vfio.h index 58b3acd..ffed62e 100644 --- a/drivers/bus/fslmc/fslmc_vfio.h +++ b/drivers/bus/fslmc/fslmc_vfio.h @@ -39,6 +39,8 @@ #define DPAA2_VENDOR_ID 0x1957 #define DPAA2_MC_DPNI_DEVID 7 #define DPAA2_MC_DPSECI_DEVID 3 +#define DPAA2_MC_DPIO_DEVID 9 +#define DPAA2_MC_DPBP_DEVID 10 #define VFIO_MAX_GRP 1 @@ -90,13 +92,6 @@ int vfio_dmamap_mem_region( int fslmc_vfio_process_group(void); int rte_fslmc_vfio_dmamap(void); -/* create dpio device */ -int dpaa2_create_dpio_device(struct fslmc_vfio_device *vdev, - struct vfio_device_info *obj_info, - int object_id); - -int dpaa2_create_dpbp_device(int dpbp_id); - /** * Register a DPAA2 MC Object driver. * diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c b/drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c index a665ec5..b55335a 100644 --- a/drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c +++ b/drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c @@ -57,9 +57,10 @@ static struct dpbp_dev_list dpbp_dev_list = TAILQ_HEAD_INITIALIZER(dpbp_dev_list); /*!< DPBP device list */ -int -dpaa2_create_dpbp_device( - int dpbp_id) +static int +dpaa2_create_dpbp_device(struct fslmc_vfio_device *vdev __rte_unused, + struct vfio_device_info *obj_info __rte_unused, + int dpbp_id) { struct dpaa2_dpbp_dev *dpbp_node; int ret; @@ -127,3 +128,10 @@ void dpaa2_free_dpbp_dev(struct dpaa2_dpbp_dev *dpbp) } } } + +static struct rte_dpaa2_object rte_dpaa2_dpbp_obj = { + .object_id = DPAA2_MC_DPBP_DEVID, + .create = dpaa2_create_dpbp_device, +}; + +RTE_PMD_REGISTER_DPAA2_OBJECT(dpbp, rte_dpaa2_dpbp_obj); diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c b/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c index 3213237..730555f 100644 --- a/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c +++ b/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c @@ -334,10 +334,10 @@ static inline struct dpaa2_dpio_dev *dpaa2_get_qbman_swp(void) } } -int +static int dpaa2_create_dpio_device(struct fslmc_vfio_device *vdev, struct vfio_device_info *obj_info, - int object_id) + int object_id) { struct dpaa2_dpio_dev *dpio_dev; struct vfio_region_info reg_info = { .argsz = sizeof(reg_info)}; @@ -443,3 +443,10 @@ static inline struct dpaa2_dpio_dev *dpaa2_get_qbman_swp(void) return -1; } + +static struct rte_dpaa2_object rte_dpaa2_dpio_obj = { + .object_id = DPAA2_MC_DPIO_DEVID, + .create = dpaa2_create_dpio_device, +}; + +RTE_PMD_REGISTER_DPAA2_OBJECT(dpio, rte_dpaa2_dpio_obj); -- 1.9.1