From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0051.outbound.protection.outlook.com [104.47.32.51]) by dpdk.org (Postfix) with ESMTP id 4BA85199A9 for ; Thu, 7 Sep 2017 11:08:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=WW4fKTn+Se8WkW1b1xoEBnlqunF/BRsywwKElKFp2PE=; b=TAPUcCFB45oFpItpB2XXO/MARAvfmMZsZyFGnIADIvPaSMk6AhVEpKreOo4ubGE6Ldoz1ktu0ANqReLQ8O6XayH9e/o0hPnbWywEv7C1IWver6DSF3M8JAljjMzuyo2iNETXxez1BcAFZQ2vbBvJaprTafNVeBD5uhXOBYQDvmE= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from PBHAGAVATULA-LT (111.93.218.67) by CY4PR07MB3464.namprd07.prod.outlook.com (10.171.252.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.35.12; Thu, 7 Sep 2017 09:08:56 +0000 Date: Thu, 7 Sep 2017 14:38:36 +0530 From: Pavan Nikhilesh Bhagavatula To: dev@dpdk.org Message-ID: <20170907090835.GB14999@PBHAGAVATULA-LT> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BMXPR01CA0008.INDPRD01.PROD.OUTLOOK.COM (10.174.214.146) To CY4PR07MB3464.namprd07.prod.outlook.com (10.171.252.145) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 73c13a96-e085-47d4-585d-08d4f5d01275 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:CY4PR07MB3464; X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3464; 3:HsrZeF6eTbaUlFVHCPFhm6fTC3KBKuYq5MyDquBc9qzLQ1SWr9ftxF9QD+OrmyPVrabwriVNkp48544BrgzgBpG4eVJ7Uz4FxWNcfcVPWDF1WJX6z3TDK2AaaI6VicChX69uT+MhD8Vz//75ktz3yoOusAVHcyGIh5E//chEXf837PKrmCSlfiv7sGHjEgxJqF0lOa5CQhZpyc+VrA266b8g237rlFOkFrV/s3JvwIIUMG7skRAHBue0rGdJO+9Y; 25:IPuok9O3cpt6gtSI0eO89NzpoQsyyhisgLy+37ztCaNsBHN4SPYQy4DSJltXkTKkSAwljVbfxBNRYJvpC+NziG7eW0Y4l3i3vZ9lX1yrYUgRz15q4IoD0r9PgkO4itX5nbOcgDYmal+Ef9sVSY8iDDnfsVBB9bSQn+i1MtOqTxOivHMGj8mTa4nsZKwnVfIVnozH7yXMsaSYWIJs26nO9FlgKcQagtpxAleyiP+0pcW2maeGTc9caJKv9f80hCtOCdYKdFfwIAtpd4QEFWNSVsZczHLUF40qd6oKv8mACFqBVuUmpTnlfoCi7ltW27441gtg/HNsI8hfxJBaQRkF9w==; 31:xGdLIXrH837CNabLCOX1zBa7DI5USJekBzvGM6AxUjrmBqYdXp9MBOYNLLQUnbom4nX2yPTJ8coEmgQfoDAgEtH6kAnfS5zad6xeZTUn+EFxWf4os384BFBbgngsUTk7+xDwfoV6P9XTbREyXETc3yoNRH01FYEjw/zwJ9kvPdtniRTVn7fqEbFeu9TwzEo4nUgtJFGpauFzwGrNGRbSMQO8eQkS4grExjC2MThNRd4= X-MS-TrafficTypeDiagnostic: CY4PR07MB3464: X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3464; 20:CP0IhwbIEi6o1Ie/8d9yvYS9Wf120BHcINhM7BEc7IuSGtPzGvLw07axkcm4Xc/COST1uZTY8CihUMsELGxkDA4D+Rj7G9BJrDOZeLqVYRIP6sMcZJbkzBBZvrEGeeRKaJEl2wtuRLXy0zzqVeZMakexVpzzp8p799BBccHXMvQ1mQZTTbS8xANe8oVsk5Dn0YtpZjPp98SD0CDpTVzRJkr4qAEZIDWXAs4cwRNAJMJZy5Xo/Z+2xNdr2NzaLmZgkERrdNM/zX+C89c18FsOzC1w21k3JmksDnA9GwLSLIQ5YCarqtt25wYV0y/rX1wVmn9hW6d2+y0l6c5SFCCe8PHBHP3/Tu6J0pVjF5Ee54MSvGAuCDXGbQRvHQ6R+BCxKylZl6WP+Ppzj5YnRAA01V2JbnvgjtnXo7j1ByRKatGZChFRAIT4AvFFkJerk820GuXzHkRiPgm4sK3Azi3hwiN2lPCzdjtTK0xyq8eZm2hCnbUjXdMKopAuP4NyU+Fxl9Co7MabBhCbAnNOpiuVhFPxETHHohtC8tow+pL4Bo+5XTedly+UQwVKSkJ15HY/W+Z6v3CroEhAf+q4p9MJecRSdtOZImD3IfUE5DERDUo=; 4:zlp0E9tz/Go9dXAUuzKbVEbMYfsFAs9iBpJesfRS94y1B+rzZDEZlSJplLCWIqE+Xk/aLQ+XlPI/gSw2vx8shQwbM0ohtj46FBSL9pwSU0Iyc5zrJ6MG67eNrsCHemyn2OLBGDOBoXcCT1Iew8TSLckxx/FDl6xt4P00HtXYlc6qTAjNVMjFpK+umcOwGPZkZJa+A0BT7V0Mc5eHNcJVOqOjVBepCNmuJ+issvvwQ5ITX0H1tCfRHp8rRpeRYWUxN0lJYCKiuaJjd5DlYBd9r/6Y3Dj6jP+DlWuB07E6gGY= X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(93006095)(10201501046)(100000703101)(100105400095)(3002001)(6041248)(20161123558100)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123562025)(20161123555025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY4PR07MB3464; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY4PR07MB3464; X-Forefront-PRVS: 04238CD941 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(377424004)(189002)(13464003)(24454002)(377454003)(199003)(54356999)(81166006)(8936002)(47776003)(8676002)(101416001)(7736002)(97736004)(305945005)(4001350100001)(33656002)(72206003)(2361001)(2351001)(42186005)(53546010)(106356001)(105586002)(478600001)(66066001)(53376002)(966005)(81156014)(33716001)(110136004)(2906002)(83506001)(6916009)(53936002)(6666003)(6306002)(55016002)(189998001)(6496005)(9686003)(42882006)(50466002)(25786009)(5660300001)(5009440100003)(1076002)(68736007)(3846002)(23726003)(6116002)(50986999)(18370500001)(107986001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR07MB3464; H:PBHAGAVATULA-LT; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR07MB3464; 23:VeiHgBunn+WtPE3eXTKHfEq2xA+Si3P6zVuOgn/YD?= =?us-ascii?Q?M33mDd6kWtdGtFhLfUv39RT9/pLTeeUqYDGCKYf7iqXZ0MW4dP64UFbl1/cu?= =?us-ascii?Q?6vHXCdQ2NBtBazbLfwmahlDTbY1baQ7UcMiS07UdSGCGKH63WPOiF4p/+hAd?= =?us-ascii?Q?wLOewIKtGEHKlIWExFLa3eh9xsDOISRaUfcmldFTLgnu2ubLWC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vKmI8gBjKCLeW65zAXjYgDC0LHc0o8L9kXtVmU6g4P4hy97HYyXQzY4DbHS9kvz6OcNgC+fkHei0E9Tv0O5kKS83c0XtiU5CI3ZyLiNBWwvWZz6RLFc= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Sep 2017 09:08:56.8234 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR07MB3464 Subject: [dpdk-dev] [PATCH v6 2/3] eal: add u64 bit variant for reciprocal 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, 07 Sep 2017 09:08:59 -0000 Date: Thu, 7 Sep 2017 14:17:27 +0530 From: Pavan Nikhilesh Bhagavatula To: "Dumitrescu, Cristian" , techboard@dpdk.org, govboard@dpdk.org, stephen@networkplumber.org, ktraynor@redhat.com Subject: Re: [dpdk-dev] [PATCH v6 2/3] eal: add u64 bit variant for reciprocal User-Agent: Mutt/1.5.24 (2015-08-30) On Wed, Sep 06, 2017 at 05:05:52PM +0000, Dumitrescu, Cristian wrote: > > > > -----Original Message----- > > From: Stephen Hemminger [mailto:stephen@networkplumber.org] > > Sent: Wednesday, September 6, 2017 4:37 PM > > To: Pavan Nikhilesh Bhagavatula > > Cc: Kevin Traynor ; Dumitrescu, Cristian > > ; dev@dpdk.org > > Subject: Re: [dpdk-dev] [PATCH v6 2/3] eal: add u64 bit variant for reciprocal > > > > On Wed, 6 Sep 2017 20:11:34 +0530 > > Pavan Nikhilesh Bhagavatula wrote: > > > > > On Wed, Sep 06, 2017 at 01:28:24PM +0100, Kevin Traynor wrote: > > > > On 09/06/2017 11:21 AM, Pavan Nikhilesh wrote: > > > > > From: Pavan Bhagavatula > > > > > > > > > > Currently, rte_reciprocal only supports unsigned 32bit divisors. This > > > > > commit adds support for unsigned 64bit divisors. > > > > > > > > > > Rename unsigned 32bit specific functions appropriately and update > > > > > librte_sched accordingly. > > > > > > > > > > Signed-off-by: Pavan Nikhilesh > > > > > --- > > > > > lib/librte_eal/bsdapp/eal/rte_eal_version.map | 3 +- > > > > > lib/librte_eal/common/include/rte_reciprocal.h | 109 > > ++++++++++++++++++++-- > > > > > lib/librte_eal/common/rte_reciprocal.c | 116 > > +++++++++++++++++++++--- > > > > > lib/librte_eal/linuxapp/eal/rte_eal_version.map | 3 +- > > > > > lib/librte_sched/Makefile | 4 +- > > > > > lib/librte_sched/rte_sched.c | 9 +- > > > > > 6 files changed, 219 insertions(+), 25 deletions(-) > > > > > > > > > > diff --git a/lib/librte_eal/bsdapp/eal/rte_eal_version.map > > b/lib/librte_eal/bsdapp/eal/rte_eal_version.map > > > > > index 90d7258..59a85bb 100644 > > > > > --- a/lib/librte_eal/bsdapp/eal/rte_eal_version.map > > > > > +++ b/lib/librte_eal/bsdapp/eal/rte_eal_version.map > > > > > @@ -241,6 +241,7 @@ EXPERIMENTAL { > > > > > DPDK_17.11 { > > > > > global: > > > > > > > > > > - rte_reciprocal_value; > > > > > + rte_reciprocal_value_u32; > > > > > + rte_reciprocal_value_u64; > > > > > > > > > > } DPDK_17.08; > > > > > diff --git a/lib/librte_eal/common/include/rte_reciprocal.h > > b/lib/librte_eal/common/include/rte_reciprocal.h > > > > > index b6d752f..85599e6 100644 > > > > > --- a/lib/librte_eal/common/include/rte_reciprocal.h > > > > > +++ b/lib/librte_eal/common/include/rte_reciprocal.h > > > > > > > > Hi Pavan, sorry for commenting late but the license in v1 of this file > > > > states it cannot be removed. It is not included in later versions - can > > > > you explain why? > > > > > > > Hi Kevin, > > > > > > I have misinterpreted this mail > > > http://dpdk.org/ml/archives/dev/2017-August/073781.html, > > > any suggestion on how to proceed on this further? > > > > > > Thanks, > > > Pavan > > > > License issues need legal advice (TAB could ask LF if required). > > Sorry, I am a cynic engineer not a lawyer. > > > > Easiest solution is to find equivalent code in FreeBSD or some other project > > which does not have the restrictions. > > How about just adding your copyright on the existing BSD license? I can add the zlib[1] license over the BSD license. An approval from the Governing Board and the Technical Board would be good. [1] https://opensource.org/licenses/Zlib Thanks, Pavan.