From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0045.outbound.protection.outlook.com [104.47.37.45]) by dpdk.org (Postfix) with ESMTP id BED002C72 for ; Tue, 20 Jun 2017 12:44:03 +0200 (CEST) Received: from CY4PR03CA0096.namprd03.prod.outlook.com (10.171.242.165) by BLUPR0301MB2003.namprd03.prod.outlook.com (10.164.22.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1178.14; Tue, 20 Jun 2017 10:44:01 +0000 Received: from BY2FFO11OLC010.protection.gbl (2a01:111:f400:7c0c::105) by CY4PR03CA0096.outlook.office365.com (2603:10b6:910:4d::37) 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; Tue, 20 Jun 2017 10:44:01 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; intel.com; dkim=none (message not signed) header.d=none;intel.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 BY2FFO11OLC010.mail.protection.outlook.com (10.1.15.21) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1157.12 via Frontend Transport; Tue, 20 Jun 2017 10:44:00 +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 v5KAhraN011204; Tue, 20 Jun 2017 03:43:57 -0700 To: "Wiles, Keith" , Shreyansh Jain References: <1497591668-3320-1-git-send-email-shreyansh.jain@nxp.com> <1497591668-3320-2-git-send-email-shreyansh.jain@nxp.com> <20170616085719.GB82628@bricha3-MOBL3.ger.corp.intel.com> <20170616103402.GB1758@6wind.com> <142b5789-3234-0036-4965-cf4fc78d942d@nxp.com> CC: Adrien Mazarguil , "Richardson, Bruce" , "dev@dpdk.org" , "Yigit, Ferruh" , Thomas Monjalon From: Hemant Agrawal Message-ID: <21801a3d-2512-3664-f40a-6510b5e6e8b4@nxp.com> Date: Tue, 20 Jun 2017 16:13:53 +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: Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131424290410263510; (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)(39400400002)(39840400002)(39850400002)(39380400002)(39860400002)(39450400003)(2980300002)(1109001)(1110001)(3190300001)(339900001)(189002)(24454002)(377454003)(199003)(13464003)(9170700003)(65956001)(8656002)(65806001)(189998001)(85426001)(54906002)(53546009)(83506001)(229853002)(4326008)(47776003)(36756003)(6636002)(2950100002)(53936002)(86362001)(6666003)(2906002)(6246003)(38730400002)(4001350100001)(356003)(31696002)(5660300001)(81166006)(106466001)(33646002)(7126002)(7246003)(65826007)(31686004)(305945005)(120886001)(64126003)(93886004)(8676002)(230700001)(23746002)(498600001)(105606002)(77096006)(104016004)(50466002)(8936002)(54356999)(76176999)(50986999); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0301MB2003; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11OLC010; 1:ondzdXoh2h6o3yXeu0FS0yP/rQyCSQmNY6Ly5IjM/auLsmt3y4Uwdq6vx/XdG8L0aC7deBSuMQY42P0XWCwimxFZXeuQL4T/8yChXZolpDx3Yt8T6Csksibj1T3wLc39kJ17Re9IjL0Iy7flpHl2/cD+GQvv2MvgeSrGsBvI377KFqA1hu+G1AKTqB3BC3q1hb/HRlNLpuxjBf350nb197VkYmXYnaAYRCrO96RLIt7AYO5dkfStiVbZZ7ubKbRgcwEl6y8+KySVjvSa6j0AtBdzwvgvZYS2P3aTV9NUKWZHB69udo6twshKNWLI7UEZJ+pJazJwGn3pl0cIA1F6TyJT+tV6s3QnOJg6wiyYSgecAmq5WyB8vyN/9TKlFNbKY4VT/ohPOualdQpxnHNzLRcX/gZ+8g9RzhAOee/7UVVj+bAWdM2/kZUErUTbJG/HKn4EOjoSmwK7KF8ovHv8XAwe/GFzEr30+tSQegr1B7thh6BGxYYRO2uDA0Z+rFb/Ea0DJkI2jn3kxo8r7E+2ZO7DwZFvpGRnSMLxCuKNHudL0dISHY3kyNow1/f63jleA4pGcbpDr7p38WT+QRL/y7q/R6ac8Eu5YwBtF6TQ52di1BA4hwGPZT6s/xcc4mHE X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3589fde9-d7f4-468e-f3d6-08d4b7c94339 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131430075)(201703131517081); SRVR:BLUPR0301MB2003; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0301MB2003; 3:sHrD/g9j4wX5uV7wtga7J036Uaby16GWXn/cc4G121WKwJdkQV0h3bbLyhvkdfQCYPGrkCLJfOEpSyRYeDLI5w3I0aMZxm06/gulYf8Ie66vqzjjklmuxo92jnIXq6Be87TB4MJwzBKnlEdQ9GBRETDsGVaSvkeOqLmcJutdiH2Mwwcdq5JWx/KgL8UkklGqa6qvYquYJ08FnmqNamvjwRlVd9jAg68/ywfapPNnftjkktR8XECnYIsa859zbKXW61SgteUtHD/lvrfBiJcSxyEQXV//O26MG/+grw3XE+RQ1cMDrKwTixVhr/zC7piZ1KyVGa2NubC4cCg/9FiseDJDh1ZTC6EJsHwcW/T70eplRHcWPSHhj9Ivu9f1yMER59gjYWvjj1IUMSC/yR6zNJUgU/HwiLqQpvRXrb7qwfVQO+oxGjyVndHA5pYlQrw3 X-MS-TrafficTypeDiagnostic: BLUPR0301MB2003: X-Microsoft-Exchange-Diagnostics: 1; BLUPR0301MB2003; 25:GgGtF+Nu5eR/6iGXbGWplCFmhiF5FBhZT9JGgpqAdxew+SNUoqGDaYInvn2vglQ/dSQ2AdppGM41V/mmVubh30cZH6q8llXkNns5PjMp324+mI9PIY3MYQFC9s7buAsML5YiVHghBNzNlRMrCAlU25D7T713H57gkC6KcbmLJtf6VFmXyt3FwP9xL+lPQ8gsawAVr8ODLhfE/OU0rmg7z2yML75tfo0Uqq03HWrLx8b+XEvXB40FvBCnRJOz2VzLf2I8fhTGNyCHKmCFIyBEjybBlypJLdajP2FIHVj8HkMkVFq87tjei1JASely0ZH78CL9hPEA/giHfcDFZRG43+kovTssXdwzyvj5MyQ284l9eSj3B5wld39GZX6vat6kIlW5GNaK0SpOnccwzgN/LtvfszfWs7Uf9jABgxSdAji79FpODTCRT+W6SdYyFwHgAAPFV1Q8qcS4E7gY6mOYlSnSyJImQHTOUn7PfgU2IN4aqiZZ+5a7iUKDUpuYwRXArtgIZw91xXDw9Ga1zAH4iEDwjoRvIYhsGh3J/N8+O7HjeLoj2bFJomueozZ7CmY1DPKLSheTzPNvyVOxr+s+wzNYFJ/EmxDXawtcOMGqJYStZOTYTG3teb19K5EpDscMDlCtvCPVIiIVvnzYl1rGkD/YjnYdbsMc9HsxYt2dEpivAwt8svtHGzCfdbvOZYxQDIt0vqrmzcj9Xheo6eQtmkkjCG0UQVraIkEbvsCRybYYXluasESMldC449b8l27pf0cTlVVlnHn/mUSZq3L6ov4U3Jd5xFaZPSPffA51Z1bn00PotJpP9YIlEamg81U9KeV3YGux8zOIuylmTFP/gZdOFqmpN97s8DQVforHMOupBUQ5Yd+2TEcYLkh2ECGFuL/Tbk9sTzTBFmWtP9KwdJAZbY7Y4FIwSTs12SIPYrM= X-Microsoft-Exchange-Diagnostics: 1; BLUPR0301MB2003; 31:fBmCQUF+s0d9q9TG+jX/2youEh6CL4t1qoxYCsI5/zot6ORV1WYyOrFO5KQJ6ih9RxO5dtw8h/Y9CO/PuPiemzQPMvwwLwC5wXLYXwaXAOFpx0vCUOgyjAXQZJyoZcq99c2WD83bLl4YOT/W4NYDbzOwMeAbc2uunnCVQWkdl5JNuF4+gcNc+aa4OD/6n5oaqkOZEKnzooSw168bs0YaaMvPb9xo489zm0JoJ2gyYEkil5bSxe1WUBNnOwbPvlxKZYmhRN57zGRKNnUVhYIRVHOOXXOZR9fpEYU7LOZYYm13JrsAOyy1fynT2tUZy+LL3a/rvD1KMXIyT3eMyIXIpco5X1RXNcOAyUHMAgGF0mX9c0lz6ZtbjHGkhpMlEC9G7cGPwZck9ut7K8gSy7KOCnD8Fa+1fVKptoYr8PNJtYMAF/dM6EUZiyrB2kFr01iHKCwNrk+V9IfT7eI9QzV0SDHN7nfvW66KuL61zZwJp6/3I3xG6KAMKMJuvB+z2IDA5GkMP1aw908ZZFLzbJsouZGPLKutoSCpP/Uz9DHrwz3vYOnstyW2jVnjo3J1FdH86YQtCO+2G8a2fD1rgERUZoPYlylYtbXa/7M3o908pILTIHT/ynkevreqr6Gv55O/yx5eJ5qJMaKdAE+QxHyBlJZBWCl3J2jl/gaUsMsJVAmmgaerljdS4kZICn9EIB/W0fvWJ2NvrJNRhJ4STOvUUQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(13018025)(8121501046)(5005006)(13016025)(100000703101)(100105400095)(10201501046)(93006095)(93001095)(3002001)(6055026)(6096035)(20161123561025)(20161123556025)(20161123563025)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(20161123565025)(20161123559100)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BLUPR0301MB2003; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BLUPR0301MB2003; X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; BLUPR0301MB2003; 4:SMcMXn3bpKs5uGmXvXUqS24hf6XL6SOEbRFq?= =?Windows-1252?Q?pM8bCvN7LsS8mXWi3jV6ypH8XcMqcI7eB3GV5VBFE/YJYhw1ScwE49ut?= =?Windows-1252?Q?TzK/1PDRKB68bJzYzKLPCTsevT4Ct2wRhKyTeEya5+HuwZdwOIJmd+o5?= =?Windows-1252?Q?nEi4WSq65GrIMFbjpDwSQAJl9di+F+A0NXj72zuGvQynP2KP3T9nAbqJ?= =?Windows-1252?Q?Act6hivrqCpjJSLHQlztTbhagQHxu396iVGF9Mr7K6CFGok3TmKYZnFJ?= =?Windows-1252?Q?PPJ0rVrZpfszXP/S7TLwWz33Z2Gw44C5qohg+zbzMCUwGYqmVddFeBgr?= =?Windows-1252?Q?dVTE3xLdp3hUuZxCMwAZHsxks1SNd6A7jlWgrs7w1+1T0LoptViaBsaN?= =?Windows-1252?Q?sPrFeabUTVIwQNCmLDPVNaDfACQK2thI91lzV2y1phG8jaxpuEODqPub?= =?Windows-1252?Q?XdftsEsc5+TdtMd7fqqBbqzq4psktmUi21xA1nFqrEBu2NtERKwuu7c2?= =?Windows-1252?Q?5uJC3KC6rFvWuRcoGAyD2BTvw6cBXUse9u8EVho7aSyedNv71nxSwkXD?= =?Windows-1252?Q?td/3dFJFQQAw/PpfvKkPC8ISe1dwrAMmK//Gn4SgrRUf9QHH+qRNml9E?= =?Windows-1252?Q?7+h39sClYhKTh/DDPyyUlCWJj9YTDk5tBw3N+oLWx3++9fRGnnS4Zp24?= =?Windows-1252?Q?je4iszqsyTeFL42PFKQChXO8XoJuDp1X77SU2ZJyHjYnRTYGgSup+/uW?= =?Windows-1252?Q?e4A5tzD9BYQOP+11rnGEY7esXBO6wfDQiEAMVTN2lN62quAPiLucUC+u?= =?Windows-1252?Q?Uwh0LNR6dkcVxl5Yk3VME2/hRL3Ee7pR3vmHwveYDxztKM1nyX+jdevC?= =?Windows-1252?Q?1xnWmMhb2HuSfkudSh0wy4leanANgOceGZxUHNjN0Il8dv4AxqdwGcjC?= =?Windows-1252?Q?iFPTX2aCiMxnMrpBSADX8tuOphPgFab8dYHN4hbUSWsd0Rrmii1EdoYj?= =?Windows-1252?Q?+f6GwLfhkxtAHgnY6vbNHF9kxrMCMxHRqq3oBgwhJhNWsCfOFHEFraAK?= =?Windows-1252?Q?mkQ0AeTu5p6lg9PFAMiPSzFUSamZsvFmjiEbKLIoL28WAE9PZjZ97u9+?= =?Windows-1252?Q?ZqosmG2NSSeaiFjX6cPRklFT/a4P1+VbV0eGINsf2LXWqBaSqspBVP+v?= =?Windows-1252?Q?KUPBalei6IS1mV+lpU2pPSqX5A0641zFXX4NM7TkOCg2oFh3xjKDIkWt?= =?Windows-1252?Q?CEWwEaX3dyl/vBriKmX3xynuf7B30Bm1zONFoEQj8nuxepvnqmDmw+RE?= =?Windows-1252?Q?Jr74nUWFIdsNXEUk0cchRvZlFYgEwTmin9yblvp3pB+DHKXqVVjkqA2L?= =?Windows-1252?Q?fDgjiFuRnqMCvr95MNpv4Z/zuqUQ7rSZsA=3D=3D?= X-Forefront-PRVS: 03449D5DD1 X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; BLUPR0301MB2003; 23:m0g3GTbN6DcXyLYHdmXKBeHUjEZolBIOMB7?= =?Windows-1252?Q?fuRrkC9WuIM8Gl9JI/Sa+pqe99UWHI+VrE8LB7MWQrkNuDJ4cVNqyAxn?= =?Windows-1252?Q?W90O+S+h1VpC5O0LB9Ttsj1lWCVqWj+2QqBTZ7037bin67IGBITDDDMk?= =?Windows-1252?Q?maTckmHvkcgaIiRmiUW/EUrLWcraSrjTPjOziYezBKstcI49cRkKF2yX?= =?Windows-1252?Q?ExDg6k1jy6/x/HveA6KRM3l6VPGV3pV3A/7ZXEksVeq5Dme/24yHsgVn?= =?Windows-1252?Q?YrrGcDga29nBIG2JuPOBiOrw1MV0PmMU9u62iIvpoyl4LhmMpM0MzZeG?= =?Windows-1252?Q?6LPtFSNjlhstkpZGb9hYoKFBBsfGUm9MBi+DuicOm9m1xZ1vBkAwE6jM?= =?Windows-1252?Q?x4CtQOw3NAOgGxRqtubdzpaU5UG17ANCChJkaX9iXaBVy4N02bebl7Ar?= =?Windows-1252?Q?BVc10uv8IqfD2RZxE3OkO/jJcieZ0jLZJob+2zr9ermNr1WwPpIkbQVr?= =?Windows-1252?Q?3QefLfOKhxVVSi40JM4CZ2KJD2eEGrGqiXX57NqTN7R1U7kBFH6d8r6g?= =?Windows-1252?Q?08A7fYoshR0uTGSvoi/ZQcVo+KK9x0/6oy+Xgqt5QBPcnap4OR939p4G?= =?Windows-1252?Q?Q7Eet8VSC2nSQHaXwCjyAsVfZOqKv3AvaDeuU/RIwtUz1G63ToZfwu81?= =?Windows-1252?Q?LqFn0etVr91LYjfx5HT+XjFrgdD986aMGeoVEWHirk1Od0xyJQf3SqQJ?= =?Windows-1252?Q?gr/CTFAxz/cNleFs66Z/0Pbeyb248HuGE+YONsP/CgiD/9WS57h4WEbZ?= =?Windows-1252?Q?jb4FoG/fQ6k43xjjXgELyybQpC+OeKJzM5T2YnZibr3H73hzi4/wDlL3?= =?Windows-1252?Q?wjf6U1RO8ByKib7wd01LQtq1P/j9jzBPCeOvVvaXoakoTG5Jvm7M0L9C?= =?Windows-1252?Q?vJlDOYgHs7ZyqyB+8sV0azg26vTRPYoH/iL/ZI56aM6xKjBbR019Nw1P?= =?Windows-1252?Q?iaNMTFCi+nbag0A+ag1aRRaY0f29dqwK35bt0X7yy/arJ4BfB3gN60uz?= =?Windows-1252?Q?XHkIh3C8UVZng//wsZU0SG0muZs0P1fXOOcTAlZt83Bki6+5+ctb2639?= =?Windows-1252?Q?+AeIcLcUYjPbG579yB2r1w6uHBZkoiESF+thf6BY7DKfbCzsRxQbGQdS?= =?Windows-1252?Q?unFWa08HzZmB9UbCUkP7H0sxvk86r48E9K6j40JLoad5c9573e0oLKdq?= =?Windows-1252?Q?KXVt4ee+Y0Igpxx7g3bPsBxYuuI23k3Q8PwGdUA+qbiuxpAU+9Ac3trp?= =?Windows-1252?Q?nbfo5fCzQlCa41H1vPQFjEszBnHAAiJ8FO5X/BSQxEkqBs/8bRi7WBhD?= =?Windows-1252?Q?A3koWO4JJsp2wbRKJwwmL9JTJRDXV1PkhONEvx3Hq9QN5d+trnU6RouD?= =?Windows-1252?Q?KzES9IQo5JggwsNLkinSuFzpW+VW9MqOyvnU4o7zm7vuc/oZ2zylS5di?= =?Windows-1252?Q?MjBTmv4AnxhjpUeHestLhgigjjDp+B7EM1xD+U2oHAppLmnqaID6v0K1?= =?Windows-1252?Q?T1M1fVw2Nq0hnTBOMvqBQGD1eigGlCJfgd0ZtE/kmVlsKOjNbPNXwtZ9?= =?Windows-1252?Q?iclQUitvolSxf6icmUX0JyBsRaI4uDFBrRl5FaozTJIQSZnNB4+a8A9W?= =?Windows-1252?Q?h/n0Sc7nUFeenq/01Yknp2iImmBdFIAt8kBrFCRHUCE0tMcamCJihNpK?= =?Windows-1252?Q?e6f693Y4eumVYfN/FcA=3D=3D?= X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; BLUPR0301MB2003; 6:gqj5LsPxf0g3h1HX/li3G+LkxWo3sZhRazwv?= =?Windows-1252?Q?EOnTmo+08wjnoJhJsaNCH7fHFRQj7hlP+meSsfsOQgEZl5W5BiJOYCBo?= =?Windows-1252?Q?mEU8izJhlYhdzLoPKBxT5YBQS00hZSI29fnooTM6dhs75LYdHMZiXTVa?= =?Windows-1252?Q?tv+wCdQxDZW+xcGa6ZmdBixA6fDjVza5Oe3kykp2OZsAnMnj/zwgCgdd?= =?Windows-1252?Q?W4kqHbuLONusIZN8c9+RQqQk93dWWeq56ezHYgP3Up3jg400u2NvyMWG?= =?Windows-1252?Q?yQj9GOzQXqDk/AG8f4K/jDgwY7oR96fWQd1TbqX7wphI8dDDjCtmJQyy?= =?Windows-1252?Q?B/zTPqS/HkqpX6qe5CyYWLjDlJ9rdT4YLTduP0nXs4WnDOJgDcKyQcX4?= =?Windows-1252?Q?zjY/x9eVsqPZYRTTRIeDVJb8d140JQJO4aZQrEeo8B+mu5yzmIvolH73?= =?Windows-1252?Q?wNlL2rz9RIW9tIxVDSSYCAGQV7q74TtdRv6DPASWbNduXfIbZutjLoWk?= =?Windows-1252?Q?sJKxvIe2nr2HaU1e5SBKTn9Z0H+pux8p4fLhVlDR6ai8jBXBDgAJ9KOg?= =?Windows-1252?Q?0NUpnTZRE/Am6Ms0d5jBF5TPTGoqt39OCJJDCQQDjAOaZMLXYd/rYlZH?= =?Windows-1252?Q?krguKGaAYe+9W0NM/wr1xxdMOE0uA3KiUlITeVKS10ChoavfpBwbG8xA?= =?Windows-1252?Q?Pw8MCQkq40KidJUXmpH2dz2aWsNrGfGRMDzs3UOdrTH8KeQ5xVdgdCUd?= =?Windows-1252?Q?qbIYGQqyUCsrMmDCfPCCidXfCXHoZbbfZKybOmEebDMh4jkLKfhMF4Co?= =?Windows-1252?Q?apYte53/0KlXJmBfm+9TOELo7InBaFRIPbU1afWVY3uCw4yukQIhlimt?= =?Windows-1252?Q?edHnqjyZMr/QabF11trs4PDYzv/T5qtAE0kE72rYPukG/oyRv2HFdLuw?= =?Windows-1252?Q?BNVd/TCSVHjsXgEmMwpEH4va8lKzNLlcWSxs1NeRJov7fDVjTCV3cvpg?= =?Windows-1252?Q?/2ThGvOruGTHGNzpSgef5T+Fwn20rYYABQqgSXICwo0YOzLEEg=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR0301MB2003; 5:C8937ZYMYtDem8PQgCP7UXYUgobY90TxEOPnm5lalpeJMe6pWvzhZAQqaf8YznGLqQkODOAT6H1GJm4PmTCK+zLXnEcUl5dZAl6QIkYYge3mkkx794Ny+JbK4jvzcb5GJPTLfV9WPafO2G+H+gCtBtJRjXY54ktGTijQ45EjknfiBlXxhY7eOJdv/S3xv3EZPkOO9b/QgD9auk6zlJWkFKU7+2tcCzQho90OlpEeCYoTJELSVBecwrdRlZWAADMuL08K4GGBsHytu/bana+46D7MSZSAl3xn3tC5MO94L8ftpdrTFWgL4qGje15CuZUNcedomdWfimUsuojbbae780T4Ad+o/VSVg1auR1sSO/1MZ05oNPuDvEeZ9vBPM5HCpo8NMAktcW9ZxmmcJam619MyY7ForFZXI+DRRV35bmWwu8w5u3FRq7LohRdD18coP88FOHKN3LpCqFr/k4sMj++DoxVMVVv8BjBkJAi7I/23WIc6FzV98DZZgWR8IUKG+kEOlDrqShyLzhP81MHLkw==; 24:qnuM+UuKm3zz6080nR+bWUrFWEb9273jYjA77oaUXhtOB+s2z0aDuftw8lP7I7XE6PWg75RlDOKm3Hm6LiEdujfWc0Sdw/ZzYttCrvxubZs= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0301MB2003; 7:RfayHEqpLSaVNdVZD8u1qykYUYCJMOB8qnHnAqupx4A9pRAVS0oPK85K5ZaUj1L66dyaDk3eXgssq3tD9uToZh4vO26wjCavGE5S2s53ecZn1d9ZsMJTZx+8S3m3nu1wNOMphKvg8o3/E4LTb4s2hcF7aodDeTJxV1XU8tsQElyFAJfxtS49zUREPRROrye2DvW0SWxi4fywHIu9VnpYlbS5m8XLtwgOp3DylqlhhKofOPwg2m2AgYHpCdnxVBWJCWbzOWlMfxePyi/XvEFvko0q02hKpUInfBmJifpq7gYrG3YB/Apj+Pecjz74bMB/i0uvGR+j1WIeYZW85dQnr5b9ZQE4tUwiXZQWOc3EWZD16pZgYV2QkPNUv0iXcKHW1kQCmQuC7sRv7ANk7bEScTcJrcwKyXH2Dtx5mon+Ok1px56beKuJdmmPRCPLrrO9pEiypxKKiNGxCAyrFUWVtQYnxTru2KwXy/Q+piVWiEachKDgaIV0AAgggmUCoBMddvVDybOdSrl8nThnaXx/9cta2l9nt8PkfHdWWCTX2taXWndtx+cvwUSxv3CEvrKQS7p7oC1OZRozbspD2yDXbxt32x6BTuSymGMjqMg+Mr+TYoFMaiWffp3OnwoKvFKL5lIwYPv9WlJQDPCfTWmez97rZW3O2E1BC1qtqX06osdKxFnijRKWxnH2svqjdLkpxo579YVh8vx8a0wOxXKW8C4KgaOtswWg0Z6Jd3yP2zhtdod9dl/Y0DJ8nO6uF116L5aaIL/vUVAbrUw0EZlbrr4a+D77J0eH0pJhu94BKXM= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jun 2017 10:44:00.7767 (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: BLUPR0301MB2003 Subject: Re: [dpdk-dev] [PATCH 01/38] eal: add support for 24 40 and 48 bit operations 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: Tue, 20 Jun 2017 10:44:04 -0000 On 6/19/2017 7:22 PM, Wiles, Keith wrote: > >> On Jun 19, 2017, at 6:00 AM, Shreyansh Jain wrote: >> >> Hello Adrien, >> >> On Friday 16 June 2017 04:04 PM, Adrien Mazarguil wrote: >>> Hi Shreyansh, >>> On Fri, Jun 16, 2017 at 09:21:35AM +0000, Shreyansh Jain wrote: >>>> Hi Bruce, >>>> >>>>> -----Original Message----- >>>>> From: Bruce Richardson [mailto:bruce.richardson@intel.com] >>>>> Sent: Friday, June 16, 2017 2:27 PM >>>>> To: Shreyansh Jain >>>>> Cc: dev@dpdk.org; ferruh.yigit@intel.com; Hemant Agrawal >>>>> >>>>> Subject: Re: [dpdk-dev] [PATCH 01/38] eal: add support for 24 40 and 48 bit >>>>> operations >>>>> >>>>> On Fri, Jun 16, 2017 at 11:10:31AM +0530, Shreyansh Jain wrote: >>>>>> From: Hemant Agrawal >>>>>> >>>>>> Bit Swap and LE<=>BE conversions for 23, 40 and 48 bit width >>>>>> >>>>>> Signed-off-by: Hemant Agrawal >>>>>> --- >>>>>> .../common/include/generic/rte_byteorder.h | 78 >>>>> ++++++++++++++++++++++ >>>>>> 1 file changed, 78 insertions(+) >>>>>> >>>>> Are these really common enough for inclusion in an generic EAL file? >>>>> Would they be better being driver specific, so that we don't end up with >>>>> lots of extra byte-swap routines for each possible size used by a >>>>> driver. >>>> Reasoning was to keep all bit/byte swap at a single place and if it is >>>> useful for others. >>>> >>>> From DPAA perspective, these macro can be anywhere. In case someone else too >>>> has use of this (now or in near-future), probably then we can consider this >>>> in EAL. >>>> Else, if I don't get much responses in a few days, I will shift them to >>>> DPAA driver in next version of this series. >>> While I'm not against exposing exotic byte swapping functions, they are not >>> completely safe and I'm not sure they should be part of public header files >>> on that basis. >>> Problem is their storage size is larger than the number of bytes they deal >>> with, which raises the question: are filler bytes prepended or appended to >>> the converted value? How about input values in non-native order? Answering >>> that is not so easy as it depends on the use case. We actually had a similar >>> issue when defining VXLAN's VNI field for rte_flow, which is 24-bit in >>> network order. >>> Take rte_constant_bswap48() for instance, assuming input value is >>> little-endian, output is supposed to be big-endian. While the shifts are >>> correct, filler bytes are not in the right place for a big-endian system, >>> and the resulting value stored on uint64_t cannot be used as-is. Again, that >>> depends on the use case, it could be correct if the resulting value was to >>> be used as is on a little-endian system. >> >> I understand what you have stated - the application or any user needs to be context aware about what they are using and the side-effect of such conversions. >> >>> I think the only safe way to deal with that is by defining specific types of >>> the proper size, e.g.: >>> typedef uint8_t uint48_t[6]; >>> These are cumbersome and cannot be used like normal integers though. With >>> such types, byte-swapping functions become meaningless. >>> Since these are supposed to be rather simple functions, I'm not sure >>> handling/documenting all this complexity in rte_byteorder.h makes sense. >> >> I have no issues moving these into DPAA specific code. Hemant added them in generic just in case they would be of use to others. >> >> - >> Shreyansh > > These are all static inline functions, so no real code increase unless used and having them in one spot is the best place IMO. > > > Regards, > Keith Yes! these are simple static inline functions with no core unless used. Many hardware accelerators usages 40 bit & 48 bits data. we thought, it can be usable by others as well. currently we are seeing a mixed opinion. In next revision, We will move them within our driver code. If someone need them in future, we can always bring them to eal. Regards, Hemant > >