From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0070.outbound.protection.outlook.com [104.47.2.70]) by dpdk.org (Postfix) with ESMTP id 9421A1B339 for ; Mon, 29 Jan 2018 09:14:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=c3TP9hilP1e9UoQCSGWa1t988bJvgS77VonEmsnZbgU=; b=hlQ6wZiTyp52qe1HC1X4TIphRHDz+D4KDeCCk+8fXUdTcfUyXbhe8iUlxeUFALKEvYk/G4GjIy4Vt7p1X9MUvJyxpyCbrmxcy8PgFDhWs4m1QnNPnIV/LKLtcDHJP+6W6HP9G39PULd4IEVMYCGCxAkadu66QehdwLSkh2pCWOQ= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; Received: from [10.232.133.65] (192.88.169.1) by AM2PR04MB0753.eurprd04.prod.outlook.com (2a01:111:e400:8411::13) 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 08:14:24 +0000 To: Pavan Nikhilesh , thomas@monjalon.net, cristian.dumitrescu@intel.com, stephen@networkplumber.org Cc: dev@dpdk.org 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> <20180129075430.3ol7nx5tbhi546v3@Pavan-LT> From: Hemant Agrawal Message-ID: Date: Mon, 29 Jan 2018 13:44:14 +0530 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180129075430.3ol7nx5tbhi546v3@Pavan-LT> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [192.88.169.1] X-ClientProxiedBy: HK2PR04CA0061.apcprd04.prod.outlook.com (2603:1096:202:14::29) To AM2PR04MB0753.eurprd04.prod.outlook.com (2a01:111:e400:8411::13) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 4aeeb97a-9ad9-4f18-3860-08d566f050fa X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:AM2PR04MB0753; X-Microsoft-Exchange-Diagnostics: 1; AM2PR04MB0753; 3:JJ4mxGVO+tRh3V4FaSFyHFMDDEyerhztTg4JEAvhfUsqLIgD0HuuHtSXVfZM9HvIyAHv68PylNUA+UyyCCT/2yZ8+ckoU010QO44shUD11khVYA8GYN/IXsPW6xx2vfUhUXN9GALeDoAc9InbUPVyOkqZh0CUN+GU2RxhBYxhK0do3phxAp2dt3lTIHn/61lS9/BWSRHl1bbb+NbUBGPl6U+m3rp390QdZK2uGPzW9uxHvFGeBrE+HB7NoQ1QmWi; 25:QeD52GEyISur+8xWEK8D6BmMOY33EGWXyoUvGF8dHoOKU4G4Waj6cqAbzpgBhfZidDv6Z+M7QVPnk039cmktQcC8kMzenoxzepbQVd9/1tnyn795C6G+YBuSETmnOgQeJeaeWcjKhViwE78cpjVNsNZZO9Y8ixJon8vwZisjMnzBbUWtL/Aa8JA7edT4/fgWQjRgq/rOcofIS+KbKmvQdYPWa6RaOPuWDg7+82ZeYzIoh3LEUROZJZDIepSHswV/Cl3rhJvBBH39Rmb6jYj4PMb0++0A1Cerx9kS1lDgM8YSqMW8e7uPAb0gQxRMLxflbN41727sCI2YAeeV613pOw==; 31:kEr5mATE5SAFwOzvF7hV/qym02P8NtcsrexyxfXlGf/dqPCW5/QJIW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4mRBa5p7QgQEhLZaQ3dnQ1/cN3Foua X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(166708455590820); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3002001)(3231101)(944501161)(6055026)(6041288)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123564045)(20161123558120)(6072148)(201708071742011); SRVR:AM2PR04MB0753; BCL:0; PCL:0; RULEID:; SRVR:AM2PR04MB0753; X-Forefront-PRVS: 0567A15835 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(39860400002)(366004)(346002)(39380400002)(376002)(396003)(199004)(189003)(2486003)(52146003)(67846002)(8676002)(8936002)(6666003)(230700001)(23676004)(31686004)(229853002)(83506002)(5660300001)(105586002)(478600001)(106356001)(81166006)(81156014)(966005)(65826007)(2950100002)(2906002)(76176011)(25786009)(36756003)(77096007)(31696002)(66066001)(65956001)(53936002)(65806001)(26005)(47776003)(6306002)(58126008)(93886005)(186003)(50466002)(6246003)(97736004)(7736002)(16576012)(3846002)(64126003)(6116002)(16526019)(305945005)(52116002)(68736007)(6486002)(86362001)(53546011)(386003)(316002)(4326008)(562404015); DIR:OUT; SFP:1101; SCL:1; SRVR:AM2PR04MB0753; H:[10.232.133.65]; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtBTTJQUjA0TUIwNzUzOzIzOmF4MVpRdEx6RGY1YnNWVUJxS0hxaWN4Z0Q5?= =?utf-8?B?alM4QWdYdmNiMmpweXY5eHdmblFzZy9kazlVQTJyR3ZqcWdJQzBOS2xURFhE?= =?utf-8?B?WDVNTlBvcFluNGxSZjFHaGlvcFRZQnZTSnREUkRLY244UjFRemRmZ2NLYzdn?= =?ut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soft-Exchange-Diagnostics: 1; AM2PR04MB0753; 6:w039jx90lpl0wMhZj7LIsE4wNTwqYkIhZqExRwV7HdpFAZN42J3wJPvl6WpHGcVop1LJ80CpgxBC58XXnlKe8zErjg6EixThK72Ke6sMa8WPMFmB0REZkVOdDLiDfSIZBIZU/8/NU40DLWZChylTCHKX3/6HGs1f3SSyyOExZdVzarqd8Jyqwpx2F54gMR/SOuqfsl8QDbkOPxHMZvyVeIBKeMr+1NUbOE9iZaEUohDEVsh/TwBEwvYGRiPa8ZuFU88HZ04GHf8djwMLukckvm7m5Xi4P6TzBIEDKVboujFLal0XyPC9MUOIZ9wAYAwMc2Xkt4zYT/pSBGTUVPv8436aM6Xo3oumOADPJh2B7R4=; 5:h1CQpRQZf7Gh0jBX4M3gL3h5viYQcSBXjsUgyv8H9bjXUlrgYV/n2SnjLsQLDbovijrgR8OeX0YkDOGeczwbhcgFStJwE/YNNlbOG782JiAG8qdCE3eu19+XnJyQd5Iw5gtL3XKR4oygUeGntPuPOZawvfqY2uifNW70zwB8c8Q=; 24:r8pCHGL5LFE4s/Iw8b5dq8T/tQPFKQ1BVHuwPpwigWa8qT3ujnH/sg3UCosiVzlbcoJNDEGOLs4zZev+Sn72S46ljWiWnMI/QSluJrn6T/s=; 7:BJlVXAKdpTokCHsm8mH6dPgCzTp41xh4NJhoqZ0otKOBIVMGP2S6HoZiu6c/aoxQ+xe4PQ2mOPHLvGv99XW70PtUesDT+IIJwv5wMnUiXkcfSu5m7yuo10efetkFEIOhgh0h8mI+SiK0thoN55dHkkwEwwwdPPbfkmMwvVEpcPsAF/pc9WRc3wCi2IM9RwNxC3m0v5PuP/9lxYBAoc7X2qBSP7ZWOr871iIKPneynFtux4rVlLihdGyLczJSBonL SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jan 2018 08:14:24.9552 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4aeeb97a-9ad9-4f18-3860-08d566f050fa X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR04MB0753 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 08:14:29 -0000 On 1/29/2018 1:24 PM, Pavan Nikhilesh wrote: > 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. Thanks. It is clear now. > > 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 >> >