From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0049.outbound.protection.outlook.com [104.47.33.49]) by dpdk.org (Postfix) with ESMTP id 7F24F1B1D0 for ; Mon, 29 Jan 2018 08:55:00 +0100 (CET) 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=vraOzBDbKVZRQlvi65B6vTJqplf7H0AfHFRxBuABa4s=; b=DA4bZ2Cg1uRFTPFzC0WXDcQhIgd28dQifuhgeQIzx9RRQ669oIEzoUrUKHVRAHKGG7NCSkaNUuM88VZe28uEr1vKV4tZgb5xhTfxNnFGxjvX4/oVip70eS4l0O8Id/uF3IcEq2/D5enpLgHMTLLX3EfjtJp0yzqrTue5ieKzpb4= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from Pavan-LT (103.69.82.219) by BN6PR07MB3457.namprd07.prod.outlook.com (10.161.153.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.444.14; Mon, 29 Jan 2018 07:54:55 +0000 Date: Mon, 29 Jan 2018 13:24:31 +0530 From: Pavan Nikhilesh To: Hemant Agrawal , thomas@monjalon.net, cristian.dumitrescu@intel.com, stephen@networkplumber.org Cc: dev@dpdk.org Message-ID: <20180129075430.3ol7nx5tbhi546v3@Pavan-LT> References: <1504032378-5483-1-git-send-email-pbhagavatula@caviumnetworks.com> <20180126050451.5953-1-pbhagavatula@caviumnetworks.com> <20180126050451.5953-2-pbhagavatula@caviumnetworks.com> <05223c82-0e15-5833-aa5d-74c08703dc6f@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <05223c82-0e15-5833-aa5d-74c08703dc6f@nxp.com> User-Agent: NeoMutt/20170609 (1.8.3) X-Originating-IP: [103.69.82.219] X-ClientProxiedBy: PN1PR0101CA0040.INDPRD01.PROD.OUTLOOK.COM (10.174.150.26) To BN6PR07MB3457.namprd07.prod.outlook.com (10.161.153.20) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: dc773543-362c-42ab-354b-08d566ed97c1 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:BN6PR07MB3457; X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3457; 3:q/VXKMMYulQYG7p6+mlTAdO9FHL0ueGDCDcrsC3/nOcBlfQydxouCNjll/6ujuSXAxUHakMygyqap4GdzH2jKztEAkPNtH3w7iR90sjalafPPVDttPHfVIc83AKE7FH2TLjk7VRfvuGWKBZaUA0pPPNujG6M2axTl/sFgJVMt8PSuXhIF9kxFQsTRgabxwQb5ZNr0I5ojdSLfzutLk03+dva8HabXDRIF/RqwWS2fleTyyto+5ua8cUUdk83at44; 25:DFubmCG7Tua9R2PnYRZqcJGJmSiC/6uy5zcc7VD/0WY156Eo7S/dkQ/0Ndk/t+llbOHJHIN+422zd7IIUFAk4Kg4XiUMcgekvSTIfnK+2cFRRLvi1rGyPLbBjnHeKaxTN4FKspUyUwYsD3OLS37M1DkQM77fJC0ni1zKtkO8N0HF/ZsK9X5OsYB5bUT+8yBa/S3RHZjRU5UL3En6QQd+br0eddJ2zBs7eBjDArgHKbTQUiEjbB81qhyPUzB7K2OmXNMXxIOQDx94CBjqgQq9TJpIODDY11w+j0us/3RPerLmnYHlIWRo7SYr7RjWMqS1mj3JMWPUSNyHDl2oXxOvNw==; 31:cnF2/kEetGlCy5DRutQvbcQKoPYJByPaPN0lUiww0NgUE6pWlBtb/KTskeoG+qvMKIp/BT0DTn2Dm5JWKZ1zp1I2a35Y522IsiKQiRzvF6EOdUrjDjeThFkELAObJ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9zEb0FaLdceCsKZsRMvlFOF8lPc9tYBrazikB7joliELMcTf X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(166708455590820); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(5005006)(8121501046)(3002001)(10201501046)(3231101)(944501161)(93006095)(6041288)(20161123562045)(20161123564045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:BN6PR07MB3457; BCL:0; PCL:0; RULEID:; SRVR:BN6PR07MB3457; X-Forefront-PRVS: 0567A15835 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(979002)(376002)(39380400002)(346002)(39850400004)(396003)(366004)(199004)(189003)(25786009)(8936002)(68736007)(50466002)(83506002)(97736004)(16526019)(8656006)(186003)(5660300001)(6246003)(93886005)(4326008)(2906002)(33716001)(66066001)(7736002)(305945005)(81166006)(316002)(81156014)(106356001)(105586002)(47776003)(53936002)(9686003)(26005)(55016002)(6306002)(1076002)(478600001)(58126008)(6116002)(8676002)(16586007)(966005)(6666003)(52116002)(386003)(3846002)(72206003)(229853002)(76176011)(23726003)(2950100002)(6496006)(33896004)(42882006)(107986001)(562404015)(42262002)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR07MB3457; H:Pavan-LT; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX: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; BN6PR07MB3457; 23:gtBddeUf+alminmBq2OpkgDkxMOK6VKeBy6wa9XqP?= =?us-ascii?Q?+ATeC1ZIzcwE1okwmJXwf9Stddb7MxRdXI+Hq5mThVjOdfq3zyBv+g9qFboB?= =?us-ascii?Q?tq4A78rl+hiC8GwGNSXPiqFeTLBV+A9v39Ji2Qh6DfVrKOLQ8V0p5EpnioFa?=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yM2hLf7Nvq7U1Q=; 24:aykSsLICzbHcylDc2/VzO3dcruVhzCPimwwYW+TKfzWUOIOty3na/WeribYBU+W+/wOpkN5rnWpoRApSKpoihSsmRLl0tj2HS2ZUm1NC+Io=; 7:z3Plwx26dzhg90vx5p5ZXMw6FWAG5D9KAEhiekSM91nP0gepQE830QnE8pDTNe7O8yGpB+U41US9AOEuOwaQPNHiU6oOzvZgZwLBx7s1MZAl+fpcrKWZYmS/+JqieX0aHBUgmNaffhAD6tNqdMxOznZR6Nprpr+weOfq67EdLetgKsKtxjw9O/Qlek8evI/bqe2ozuZjwNNN+lZFwV8xs5tq65oC41GCCpSNBtR98BWHaDZZJ+bxGNANckYeF4Nr SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jan 2018 07:54:55.2878 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: dc773543-362c-42ab-354b-08d566ed97c1 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR07MB3457 Subject: Re: [dpdk-dev] [PATCH v8 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: Mon, 29 Jan 2018 07:55:00 -0000 Hi Hemant, On Mon, Jan 29, 2018 at 12:12:55PM +0530, Hemant Agrawal wrote: > Hi Pavan, > I am bit late in checking it. (series is already applied) > > Just few legal queries. > > > --- a/lib/librte_eal/common/rte_reciprocal.c > +++ > b/lib/librte_eal/common/rte_reciprocal.c > > @@ -1,3 +1,6 @@ > > +/* SPDX-License-Identifier: BSD-3-Clause > > + * Copyright(c) 2017 Cavium, Inc > > you have added Cavium's copyright here. > > > + > > +/* > > + * Code taken from Hacker's Delight: > > + * http://www.hackersdelight.org/hdcodetxt/divlu.c.txt > > + * License permits inclusion here per: > > + * http://www.hackersdelight.org/permissions.htm > > + */ > > Did you clarify it Cavium's legal team? > > The permissions states that you should not add it to another publication > without written permission. DPDK can be considered a publication. > Did you got written permission? The link specifically states that only the "The textural material and pictures are copyright by the author" and "You are free to use, copy, and distribute any of the code on this web site, whether modified by you or not". The textural material in this case mean any text/pictures taken from the Hacker's Delight book. The linux kernel also uses similar code as seen at https://github.com/torvalds/linux/blob/master/lib/div64.c. Let me know if any further clarification are needed. Regards, Pavan. > > If not please specify Cavium's legal team opinion or take permission from > author. I believe that it is easy to obtain permission for this code. > > >>>>>> > "You are free to use, copy, and distribute any of the code on this web site, > whether modified by you or not. You need not give attribution. This includes > the algorithms (some of which appear in Hacker's Delight), the Hacker's > Assistant, and any code submitted by readers. Submitters implicitly agree to > this. > > *The textural material and pictures are copyright by the author, and the > usual copyright rules apply. E.g., you may store the material on your > computer and make hard or soft copies for your own use. However, you may not > incorporate this material into another publication without written > permission from the author (which the author may give by email).* > > The author has taken care in the preparation of this material, but makes no > expressed or implied warranty of any kind and assumes no responsibility for > errors or omissions. No liability is assumed for incidental or consequential > damages in connection with or arising out of the use of the information or > programs contained herein." > >>>>>>>>> > regards, > Hemant >