From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1618DA0C43; Thu, 23 Sep 2021 07:34:59 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A4A9E410DC; Thu, 23 Sep 2021 07:34:58 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2055.outbound.protection.outlook.com [40.107.220.55]) by mails.dpdk.org (Postfix) with ESMTP id E9056410D7 for ; Thu, 23 Sep 2021 07:34:56 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V/hXHaYMFU9WPOkHQvRNHbiaYuncUPVOJGY7OCwfN0Lc7hjPAqCVUI1zjD+/iwUgjHq2rYQqV7Tbcd0U6YUROZcUIY1nc4uR3LuzEq2bVGVyE+j9R+F3Jm31iMprEjg3KCrv2a2AwILnKZE3wzxOYcr0B/jnFE4cq8ER8UmSlnN1cQqjlRboTtG7Z9zOvw2rtKkEqqdPL+/4hFhiebPSCmQmIYFX8mmkbPQ555msMhQR6f5vFcOD6Hif1n34dWoY+Y18bVnVgOjDqSidPs1L6IgWAgC+6rA0hE3ARZdKGNj5cbK2Yv1ioLD633KBFebJwgSXvH2CPoMtQDepits5ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=994qQqt1DZ0RGjERlCrkbxe+39gxQ6nbdBrajSMt4zE=; b=f/ZofDLTkVd9pesMHKWcAQhnYQtAylbleCwwDUyjn4Oxw1ehPLj8XbHSJI+E/mnEkrxtvv4xZyp6n74XGth9dZ0MtCds3sUzI01qxU3URcHr7Qb5LlgZontXnB9GVHXAW27afpY94g+k4bnMm/imKiWgFln49SM22wssNGHtWwtInA2Kc1XYBKDmC+YlqsEwRTjh+++JlvfW172yFdIRyS6v3bnPx2YRULDwwVEVqoRDzdA7js/rbELWwOoO72IBLOYNK1AW/wTi7YcaPOyU3sD04Mj0kkqHFR4CvhHR9yXtjGUWBHqgrlKfBajMun/+U2KUl7NgAdxXXmFhz+/8hw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=994qQqt1DZ0RGjERlCrkbxe+39gxQ6nbdBrajSMt4zE=; b=mzgK1pu0ajIph3yjWactVXtGYgQRrzoPp9pwsoc60mafXX4PJhVE6Cjh7ML5Yp1N/UTLU8x9G1LipsiHNsnX4TN69mMpM+BQGslL52obnIKX4JNCy55Es//8SMgP2aInw+IReVr8dvcHeNwnrMf8jIjUujR+BUpQwH0dlE1aGC+5nUgPWtFMFH+TD/1hsvkGjZlH/H71Acm2fhmbm50zysRaBwTuPMWVFuLrw4Q0WM79jaVuxKaGRN6T5FqM1Ws5peewqqfMrct7YtCQZxWiN9tZuwVQORNQ83voRHKbe2nfMskYdKaDN3TpjS/dKmRa8y7gXS2BgMYTLkZY58LUvw== Received: from DM4PR12MB5373.namprd12.prod.outlook.com (2603:10b6:5:39a::17) by DM8PR12MB5414.namprd12.prod.outlook.com (2603:10b6:8:3e::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.14; Thu, 23 Sep 2021 05:34:54 +0000 Received: from DM4PR12MB5373.namprd12.prod.outlook.com ([fe80::584f:672a:653f:fe25]) by DM4PR12MB5373.namprd12.prod.outlook.com ([fe80::584f:672a:653f:fe25%5]) with mapi id 15.20.4544.014; Thu, 23 Sep 2021 05:34:54 +0000 From: "Xueming(Steven) Li" To: "ktraynor@redhat.com" , "dev@dpdk.org" CC: NBU-Contact-Thomas Monjalon , "cristian.dumitrescu@intel.com" , "jasvinder.singh@intel.com" Thread-Topic: [dpdk-dev] [PATCH v1] sched: adds function to get 64 bits greatest common divisor Thread-Index: AQHXqhwtV++OQTU7iU6AZHZxYjY/qKuwVRUAgADPp4A= Date: Thu, 23 Sep 2021 05:34:54 +0000 Message-ID: <2f4b3c0d88c560322ede5efa10611c1caa40847b.camel@nvidia.com> References: <20210823081539.1410259-1-xuemingl@nvidia.com> <20210915102610.83105-1-xuemingl@nvidia.com> <32dc9e20-86dc-a0a6-74a2-9894cb680170@redhat.com> In-Reply-To: <32dc9e20-86dc-a0a6-74a2-9894cb680170@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.40.4 authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d5898724-22c7-4212-fbbd-08d97e53df38 x-ms-traffictypediagnostic: DM8PR12MB5414: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: yXonwVgDKrokgnS3HsDpJ8VayMsXenjS9g6uxq7JghpvWVi8UjVxCSI3DlHBHcv8jo2K/ULLUFPMTYw7uCqkyExlPeIfpunbnlEKJgGm8usq8phA56q7X0lIiA62dJ1//78SU/a5+14554j54e2xQQIe4auX3qoRWWNuAo3AG5givq4slfKM5iR9wiyHnU508kU40DmWtlYYbCDrtBNLT0A0mpqct5CoDi130/dTZmbfgFzWYPNLdf/6NxP2DGNA6AievM+M4LawPrbg6+CMAPVRpH/zoknxql5SwZ4m85qAxqNckDVeAgc44sQVDPHYZCj4dbKD3hzoBVRF5s6DCj3s2m0EP2u/N5aRoswxK0qPPYXYKVQhF0X+gNXzKlM4iQeZyIZ07KBlLquobjqx5vObFvgBrYcV3LYG/a6eXcNk1oVeMMIUsCp+X70XW/E9Esla1qlQRI1YYNR0YJqKLRy+axfdYx9pyU/RSvSImm4/G7nXIAi/LcdW8rgtpxQAFLV1BcV603OROTFNOGJngBlscKh6N6p8G5GyMji5AqmBacNfzecpqK1r5HlmNX10NwCAPvrv/KKwt4o51oL81xfi9EN/PkzSwi/I/6PfzVSoWWs3qsA+px9X84MGtSuBf6uK60upE2av8aVIInc1rl9yjtwVvRAF7EbKFejJT6GDBBoNgxaTIj3JSWOaOshf/lmbyN9A7tiZu3eYz4scCA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5373.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(2616005)(38100700002)(122000001)(36756003)(86362001)(6512007)(83380400001)(5660300002)(91956017)(8936002)(6486002)(8676002)(66476007)(110136005)(76116006)(64756008)(53546011)(316002)(54906003)(6506007)(66556008)(66446008)(66946007)(508600001)(71200400001)(186003)(26005)(38070700005)(4326008)(2906002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?MEpUSCtOTllFV3FiMTRMREpibTBSTHFlRUdaSFA3N0RtR2l1STJFZEV0QXQ5?= =?utf-8?B?QVpGNlg1aWhsL1Zwd0xnSUlva3NhT21nWnhLQUtjZEtibGtEQ1NDSDF4Z2dv?= =?utf-8?B?dGNVSjBBNk1ZWWNTVHJPM0xLQ09xdGYzZmVBaHVySFozQ1pDSExGbitRQjFq?= =?utf-8?B?RnVZcG9TMXFhamZBdlN2QkM1c3hDSkRWV2JkcWE0dmNDRmx5cmhtdWhmK0wv?= =?utf-8?B?WGZLQW5oRFFjaWdjcURqRk5ZSUJtdW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jNhZmJjVjhEQVloOWpNTU9sMXlORmZEQmprZmJWalFxYWpHdEFj?= =?utf-8?B?dHNlZVcrcnJobS9JQWVHKzg3SWFJWFFvN3FmOVJuZnRCUmg0VkpmeG9vSm1a?= =?utf-8?B?enFacko5SE0ybEJPR051bmh3OGxIUGVML0dJQzZzQVRDWHRkZk1iQk4raStj?= =?utf-8?B?OVA0YTZ6aWVqU3Qwemp4RVdMOVZWV0pHdmIyRGFUMW1SMzNoemtEOVdZSjlo?= =?utf-8?B?enI5Nld4dkR1T2NhcDY5WTFLUWVHTTJNaVpHMC91RDN1UHRrMlR5dFFUWmpR?= =?utf-8?B?WnluU1NkeGI2VG9ZK0I4eVRMMmd6VUVlRlY4a3lzQ2VRZ2UyakJaYm9Td2g3?= =?utf-8?B?SHZnWGZhdExIQXF0WDFlUmFyeGVOWkFCVUFoZXZzdmV1SWpGd0pNbC9XRXIy?= =?utf-8?B?L1FUcEpPRnVNYmI5UUxBK2lrYzdCUXRIMmxDeVNLMjVsNTd2dTQxUC9mVnBU?= =?utf-8?B?SnNFUHBpRWNHL3YrcDZUcWpLeFdoV3dWd2Fkcm5IOVg2aWIvUFVoQnZ1U1dl?= =?utf-8?B?RHBSSkNxSDRaSmdadVg3Q1pSRDB2MWJzQ2VVeDZLb0tCWGdBcGdiclFNRnlT?= =?utf-8?B?OUZiVmlUUDJ5UmZOSnFweWFqT1BzbHNnejVNL20vVGU3QXBCSTdTVXUwNHlR?= =?utf-8?B?TU8wME1EVHREYjEzQWprUT09?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR12MB5373.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d5898724-22c7-4212-fbbd-08d97e53df38 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Sep 2021 05:34:54.0820 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 7vA5AHEQal9KsbPBw3b8oLpSnITaHCMk22YcjCtHLJfr9DT/1RHw6qzXu/rl6zWWTlE6rgkrU59nfmXzfig26w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM8PR12MB5414 Subject: Re: [dpdk-dev] [PATCH v1] sched: adds function to get 64 bits greatest common divisor X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" T24gV2VkLCAyMDIxLTA5LTIyIGF0IDE4OjA5ICswMTAwLCBLZXZpbiBUcmF5bm9yIHdyb3RlOg0K PiBPbiAxNS8wOS8yMDIxIDExOjI2LCBYdWVtaW5nIExpIHdyb3RlOg0KPiA+IFRoaXMgcGF0Y2gg YWRkcyBuZXcgZnVuY3Rpb24gdGhhdCBjb21wdXRlIHRoZSBncmVhdGVzdCBjb21tb24NCj4gPiBk aXZpc29yIG9mIDY0IGJpdHMsIGFsc28gY2hhbmdlcyB0aGUgb3JpZ2luYWwgMzIgYml0cyBmdW5j dGlvbiB0byBjYWxsDQo+ID4gdGhpcyBuZXcgNjQgYml0cyB2ZXJzaW9uLg0KPiA+IA0KPiANCj4g Q2FuIHlvdSBzYXkgd2h5IGl0IGlzIG5lZWRlZD8gSXQncyB1bnVzZWQgYXBhcnQgZnJvbSBiZWlu ZyBjYWxsZWQgZm9yIA0KPiB0aGUgb3JpZ2luYWwgMzIgYml0IHZlcnNpb24uDQoNCm1seDUgdmRw YSBkcml2ZXIgaXMgZXhwZWN0aW5nIHRvIHVzZSBhIDY0IGJpdCB2ZXJzaW9uLg0KDQo+IA0KPiA+ IFN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