From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0051.outbound.protection.outlook.com [104.47.41.51]) by dpdk.org (Postfix) with ESMTP id 292EC2C8 for ; Mon, 19 Jun 2017 12:52:08 +0200 (CEST) Received: from CY4PR03CA0073.namprd03.prod.outlook.com (10.171.242.142) by CY1PR0301MB1194.namprd03.prod.outlook.com (10.160.165.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1178.14; Mon, 19 Jun 2017 10:52:06 +0000 Received: from BN1BFFO11OLC001.protection.gbl (2a01:111:f400:7c10::1:131) by CY4PR03CA0073.outlook.office365.com (2603:10b6:910:4d::14) 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; Mon, 19 Jun 2017 10:52: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 BN1BFFO11OLC001.mail.protection.outlook.com (10.58.145.12) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1157.12 via Frontend Transport; Mon, 19 Jun 2017 10:52:05 +0000 Received: from [10.232.14.39] ([10.232.14.39]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v5JAq1fh024193; Mon, 19 Jun 2017 03:52:02 -0700 To: Adrien Mazarguil CC: Bruce Richardson , "dev@dpdk.org" , "ferruh.yigit@intel.com" , Hemant Agrawal , Thomas Monjalon 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> From: Shreyansh Jain Message-ID: <142b5789-3234-0036-4965-cf4fc78d942d@nxp.com> Date: Mon, 19 Jun 2017 16:30:45 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <20170616103402.GB1758@6wind.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131423431258542389; (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)(39400400002)(39410400002)(39850400002)(39860400002)(39840400002)(39380400002)(2980300002)(1110001)(1109001)(339900001)(377454003)(24454002)(189002)(13464003)(199003)(9170700003)(53546009)(50986999)(2950100002)(53936002)(4326008)(83506001)(6916009)(50466002)(230700001)(76176999)(93886004)(2906002)(498600001)(54356999)(4001350100001)(36756003)(106466001)(86362001)(85426001)(47776003)(189998001)(6246003)(110136004)(6666003)(31696002)(33646002)(38730400002)(23676002)(356003)(65826007)(105606002)(8656002)(54906002)(31686004)(81166006)(8676002)(8936002)(104016004)(5660300001)(64126003)(77096006)(305945005)(229853002)(65956001)(65806001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0301MB1194; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11OLC001; 1:xzogMpOIhUEdhA247lGd7F3+ugnc/ItA1CpOGK6U0lrjSCPP7q7A/SAJpPTaQrVH8BRBC7/k4meo1pUaolKVkgIBZhPoL+/BMdEUvrR4aomRnxjLgQTSWgQ3KHUfhhcsmiuExMslRQyCOy+vgwOcfC/wY+uOg8nAwbOB8oBSHmq82zccUctxl80DpQ1ARFfM2zk9cof4YgoBcqtg6xMNnah1aVX8Ia75S3M+F4RLa+SgPehVhCrCSDXfZDrzTGow337fhb2Y8tzZDAjp0gHbY5dyjnUWzTGESWrD5fmaJx16h6oA2Eu2xnXEcEGSSnKq2qStpZ6767xkPniqmEIvQOwTLcZLJ3Zs0lN/gjiO07MmPY97Qr3x+N84xQnqxgOUCbFYsTIAoVeCEtrzjTSMCw2hufuiwvx0uN3BEMAdNf1ValwkAxzumwlK6CWIJRfIZ0L+oSrMPJieiaa+3wENrgCLXAsE1Z3yATSszTUxssblSeoqqgHeflswXKqLqbPP/2rvu4eAyUMuP0OfkTleWN/GL+lPNsnMklM/D2s6ItggM4ja288CsUVAM4K+EmSh8JacFUcYbmegKNE7joDaX1mXfXN8rEilc8GeyrQX21Bd1lwUx1/K6UUPU4MxCwDN9TQleObZCCyN4DRnY3s2Sf2WaQorAtlWznUxLTx54Gi5Ugh9tzOw8JjHZ+FVfyOwuvk0O9VBlHcioHCG2vSxGq9lGKJz70QGcPdjrfZPsyASQZoMrZcty3U4yZltB2uTLGt7gz//tNkl8k+vm7Og0lCljkIl7ThUF/V7B9yZ8eGZkGCqtPYitknnaHZq+LWQ4cBhDJ0xy33VqKuqyiOuYx/qzi+YyT0etN9GxE5CHjL0x88Ab++2NlZ8wDffp2d1cQmwmNFSAoeopvP8L3YsedOk6Lo+gn0P+mtZsY8uIea0ZQfVGSjgcDsHg/LklITo X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5e40b459-ba33-4e63-afd6-08d4b70139c8 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131430075)(201703131517081); SRVR:CY1PR0301MB1194; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1194; 3:HBrjD71iUlECPT+H0tAgjApNkVa5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e3fPxiiAOq7BrFAfyIhBWTE1agDh6jOIFnVJqWG3wNgYJwtUtHCkcoOqiVsjqYOJveuizBm8Tji2cWGaH2s4CyXSC0A97PYfXLfvsohr0qg8EQ4BDyQlrZR0mYH7CvigBVEuSeJudfgqTyW3jdAAzKGV+uRrxiearjqCAu0deOnEGEQ+arSxIVhnvg== 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)(10201501046)(100000703101)(100105400095)(3002001)(93006095)(93001095)(6055026)(6096035)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(201703151042153)(20161123561025)(20161123556025)(20161123565025)(20161123559100)(20161123563025)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY1PR0301MB1194; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY1PR0301MB1194; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTFQUjAzMDFNQjExOTQ7NDpIN3RYL3RNTTE5ejVwTTJqeXJJeEJJTE5u?= =?utf-8?B?QTNsZXR6M2NaWlFzaWNoUHFDMU1qVVBCWU1FZGxEQXpvOTlOQysvd1NhRHRU?= =?utf-8?B?M2xRbE5xWkZSdlFjM0FOUGJ2YXFDK2RRejV4eU9NUS9NUE42UEVKYXpjRE5s?= =?utf-8?B?eWsrallCZmQ3dFo3aDRyTUxLR29YNjhlUEdlRG9DbW80WXpNaDBQWUx3ZkpB?= =?utf-8?B?bE5yTnUyZm95QVhhT2FZKy9TenI3aFZXMGdhU1BoVUJzYnRTb2VoMFBBVVhz?= =?utf-8?B?OVdLbkxqRjFvajd2K2ZRelRXNFhBNVlvUzBuZDc1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76GvyLKXUjWjN8q94gP95815gbvAWEym3Po2FsQT2POCCRmohJWdXquF9GfeYOuRWG4zgiBobUtqURz7rkMMWEiesvyMihNIWX+HAyikaKeQ==; 24:LxE5A2hmrH+NfVBUjn+1a8cTFGiEo5edwdbCBpRK6XM4jHWYhqtnoS7/3QOxmrN+TUHX382In7vPK4O9WF1kF+JPIYyJXsmN+aGQoCifg6U= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1194; 7:w6ry+z5IrfJYbrrvadb9e+8o6/HDeCpQzWAKRjBTBHncJVmHbSwXczV7pnwA0r5+cbZBYNttyGPIXNwCADzySCp/HrcqJU/EtW1K2QUl7oBrPO/YVWJlDRzIepp9Ls2qiIiNtAK73e+2TbvYLSq1ZvTOljBj7IeNXls2geSoJyKc11oxnmNIFC4/5Giwafavnb5CWPg6FQpics/SkVl8hEaT/ALV7G3y1KFQlrrE+JsOdb9lktyw7bbLF0efHDn5zMcElfNnjGTRIuXgk1B77LPtJK5tJlK0wjSURMbQboipnpmpWuutYVR/kF8sdiXxmiA55J0eWKxKEZar8Sx+lvXLPXrhAp1cDb0gthMh2sff4jvaJwt1K6UzI7UCF0f94CbdhxMtWyPpRJu8xs/tmzNHcMPIuiIZoxFGUCADp0nX4rWcmstALio8jP8fzkaxI9QQOzxDw7EXppwiM4J+RDCpZ24hwKZZNXdc0cO1IhMvdXse6X7/W6lpNvfgtwR6XALZCY6nY0vAH0DF4MGY+2Ypo9oOob1MMCjIcRF9MYDzDixSbFmscuq7f1bjO7fviHaQYOUZXpKgca1LhiamQStuUDL6xKkK86ZL5IY6ac+rgpW1t7YS1afKGptQwnA2Thr+BFg1yhEiMbLA4675c0oY6b9hSa0Pl63lwiEyA/YpxYtRsLnsBfp0RFi9YdwNvwWYrewvG+ao+BK6UyyBArp4xyolZm24ROHNy+19zetW+FQdmKvJsugcX/r0pqdJiyvKqoMspfbXXHOZXmCkUnt+M0rPpDr22kSGE9qCfr8= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jun 2017 10:52:05.6358 (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: CY1PR0301MB1194 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: Mon, 19 Jun 2017 10:52:08 -0000 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