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 7F65A45B52; Wed, 16 Oct 2024 18:28:36 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4AE9040150; Wed, 16 Oct 2024 18:28:36 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.15]) by mails.dpdk.org (Postfix) with ESMTP id 5AF5C400D6 for ; Wed, 16 Oct 2024 18:28:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1729096114; x=1760632114; h=message-id:date:subject:to:cc:references:from: in-reply-to:mime-version; bh=O6L47ELsp0GnUcTHnVLgkrKw3XgAGyg+mbID9Cus6GM=; b=mVDbgASTdNxVm76xp7ctr1bkf/jWOdQd0JV6OY8x0oqnoFG5v6+3+WJ0 HujT3e4hGSRRhQE73EX2xNtmY8O93B6lh3KMG2zVnhLZEIWct8RXW0xr0 JihV9QGeQaPoRAdYpJiLv705Mym1z/5skwYWUwnBKX2qL8neQonbTiMCo VxvrMuakAZOt+BwompfN9r4cF/yFSulKJ8Nkij0U0OWkq6IVyHwaViqDv 3FnrOSFh9YDqCj2lY25QcPdnBaiCusqs0AzRDcDwh+KQpiUkAPrLMvMNZ +HCBqDdryxsrIndWc2HOoRUFjZoZK4q71daE7ASk+gnXjMSj3nQD/Jc5P Q==; X-CSE-ConnectionGUID: 3OcqPYeGSoKSRk2USeHvkg== X-CSE-MsgGUID: OMFGCPK5Tb69lZlUHJ9OTQ== X-IronPort-AV: E=McAfee;i="6700,10204,11226"; a="28681653" X-IronPort-AV: E=Sophos;i="6.11,208,1725346800"; d="scan'208,217";a="28681653" Received: from orviesa009.jf.intel.com ([10.64.159.149]) by fmvoesa109.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Oct 2024 09:28:26 -0700 X-CSE-ConnectionGUID: aq4H9j+5RVGVcO1wKpDvqA== X-CSE-MsgGUID: elmTx2ftSN+uRo6gYJV2rg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,208,1725346800"; d="scan'208,217";a="78163264" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orviesa009.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 16 Oct 2024 09:28:27 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Wed, 16 Oct 2024 09:28:26 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Wed, 16 Oct 2024 09:28:26 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.43) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Wed, 16 Oct 2024 09:28:25 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=JinwXakF0dGOTNbg53bFjTU6omkq49inwZMfshNY/8ViEL/Ej2rBDIwCaan5qpOySmt06F9qirUurYd8Vi+QRJSKwG8AyW+o8QJ46nrBGAdtScbnMzQebKZPTtLu6pbf0VPN6sh47DUctcYDiHUuPWM5cyWuIqo/AvNI4f3INiaG3wqIHqKfEt18SD6yUokoYRu13ppTd0CE1HWRiY9CJUn5lJH0Oo9jw2NBWZkUsfhoeZLwJ/3JdfQSZbM68++YLi0Cn0Wr39vrNKbWv4qmAZ9Zao+FBIR3qe4LArvUfAQxjuMT/BeTaAt663rnOPLghQo/C6ZwLfOFp/6abvP7ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=k9CzvKhBRbizp3VkSLSnOX6dkqJz2wZi+G18QrNpm58=; b=FmP4TFNzhxkY7hZ3/J1NXu54cIipgim+cPnJEZYpBnPGJ2UOCS/c3NCFxIF9b8Ra8+avESOSO7MfyNP9gqewYhK4oCSJfOQ+JlpbwDoXCfTVYp7TOzmc8PxF6K8DLGZeuS67G263qF3/iyouISrgVXY5buT8ztWw1m4FHlw85XOZOCngaf1awZqUfpkNapO1CeeJgtt/BfXJaiFe1OAopZMLxIkYb8Pl6Sk9hV6v3KzJLxofBBxoxqqYvAROdqHv1igUh2bhQc+iN5hBV4jP7uxrbNduGvcSX1xnJ4LIreiI5NcG2TBnibB7Mhs0IrS8BleDF8aen/sW6GxswW7UoA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH7PR11MB5765.namprd11.prod.outlook.com (2603:10b6:510:139::7) by PH7PR11MB6978.namprd11.prod.outlook.com (2603:10b6:510:206::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.22; Wed, 16 Oct 2024 16:28:22 +0000 Received: from PH7PR11MB5765.namprd11.prod.outlook.com ([fe80::fcf5:d65c:4fdd:4a2a]) by PH7PR11MB5765.namprd11.prod.outlook.com ([fe80::fcf5:d65c:4fdd:4a2a%3]) with mapi id 15.20.8048.020; Wed, 16 Oct 2024 16:28:22 +0000 Content-Type: multipart/alternative; boundary="------------RLb0esmBwWIhyoxGuLd0B92q" Message-ID: <9bd9e943-d277-44cb-86c4-36db3f1acf88@intel.com> Date: Wed, 16 Oct 2024 17:28:17 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 2/4] hash: add dynamic polynomial calculation To: Stephen Hemminger CC: , Yipeng Wang , Sameh Gobriel , Bruce Richardson References: <20241010123331.749004-1-vladimir.medvedkin@intel.com> <20241011181703.236985-1-vladimir.medvedkin@intel.com> <20241011181703.236985-3-vladimir.medvedkin@intel.com> <20241015152945.530926a1@hermes.local> Content-Language: en-US From: "Medvedkin, Vladimir" In-Reply-To: <20241015152945.530926a1@hermes.local> X-ClientProxiedBy: ZR2P278CA0051.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:53::6) To PH7PR11MB5765.namprd11.prod.outlook.com (2603:10b6:510:139::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH7PR11MB5765:EE_|PH7PR11MB6978:EE_ X-MS-Office365-Filtering-Correlation-Id: 4765eded-356a-4d13-766a-08dcedff8d70 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|376014|8096899003; X-Microsoft-Antispam-Message-Info: =?utf-8?B?RlZaRzRpbzgreGNnQ2tVaVFkcEtxa01POWdvWXVzMktYS2Y5NFFWUXBNZWhQ?= =?utf-8?B?Wm41eFRaUXRIcXB1TUdCRWM2TTlFSU9rZnhzeHBKaHp1SGhQejJwODgvTDYz?= =?utf-8?B?ajg1MUwwYm91cEQwQ2JZMHBwTHdneVgxQXBRK2w3MG1HV2IzS0lRa3Q2aS9Q?= =?utf-8?B?MEhTNGJuZWVTRkNhL0FZVE9vaHR3TzJkdXU2cGRTYmxjNDZRV3BHMkpqeEZH?= =?utf-8?B?MXNZc1BsZUdiSWl5YW9TZlozVjZEYWw1d2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MXNYdkN4L014TnRoaEk5WkduVXNLWkQ1RmxiNSsvMmcz?= =?utf-8?B?Qy82M1FOTjV4SWh4c0xyakxEcDVCaGs4RldlZWo5bmJkSW5WTk50aGl5OENr?= =?utf-8?B?WXE0Q1R2MGtXNWc4d2UzejZHc0tLb1ZMaG16dlYycW4xQjFRTTcyUmZEZGJZ?= =?utf-8?B?MWZ2MzRYeHhYYUNnSXBGM3ZwVXFKOVZHaWp5K2R4UWt5cGdHVitoYlNtclkw?= =?utf-8?B?R3J5TGx1M3hHZGVwVy9RVkt0V1M5cHpJb3prbWJnMkE3UkZPL0lnRFRWWmpm?= =?utf-8?B?T2RLYjBEa3U4MGdOblZPU0ZZcEFCdEFla2RmamtNQXAwY0xCbldJME95N0Vm?= =?utf-8?B?dkM3d2VhengydW9MNk5LYnpVRXZRbk1GUC94WDJRTWFoMDBCNlYwRzE1M3px?= =?utf-8?B?YUZkLytUS0RJYVpsL3dtK3JZWVpBN21YcURTdXg5QThSSWRIT3JrTWEySm43?= =?utf-8?B?NmFWMktFcTRFZmVVWDc2cXRKelFpd0xTQXpnTWtNQnBiV21ZdXZPdUhRc3dW?= =?utf-8?B?dnJSWmRPU3B1MFhnSElXYUlUN2hqS1A2YjhvVzZ2YVM2K1o5ZkMxUWdBPT0=?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH7PR11MB5765.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(1800799024)(376014)(8096899003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?RUtqNks4SXlRWVN5ZE40aS9uSzRFSEY2M3FQOXhicmlsbUpubU1UcFEvc1FH?= =?utf-8?B?TlpFTkVpa1Y2RWxWaXJPYVlWajBFZ2FhQUd3UmtQN0J5d0lpUkxmNUwyMmtO?= =?utf-8?B?YkduSVo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utf-8?B?dVIwTWNGazRTbFBxWXc2RTV1V1ptODhCTnJDd3loaTdwank3aEVSS2tJbWRu?= =?utf-8?B?MnN4Nms4MmFjWDN0cTltekVjWGcvU1IrbWJSMXNKT2pGSGppcm9tQkkvSC9K?= =?utf-8?B?eTJXckJyYll4eWJiN0FJVVZWOWxRU0JPenhVTVBBUnQyTSszWksvLzd5ajRq?= =?utf-8?B?WEd5RXgzNk1kY1BkUzRGMmFqanpMbDVIMWQ2a054WGVGeGloWWwzSzdkdERm?= =?utf-8?B?ckE9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: 4765eded-356a-4d13-766a-08dcedff8d70 X-MS-Exchange-CrossTenant-AuthSource: PH7PR11MB5765.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Oct 2024 16:28:22.7950 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: afLyVowX+pn0HW6480JKCx2nQODFXOESPqSItAGZM0tsv9+5jgqMz5THl8DZRDljbIzQ81TRqvObfD/QXspfUMhHnD64LFCkMSaXqyYChQI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR11MB6978 X-OriginatorOrg: intel.com 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 --------------RLb0esmBwWIhyoxGuLd0B92q Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit Hi Stephen, On 15/10/2024 23:29, Stephen Hemminger wrote: > On Fri, 11 Oct 2024 18:17:00 +0000 > Vladimir Medvedkin wrote: > >> + >> +uint32_t >> +rte_thash_get_rand_poly(uint32_t poly_degree) >> +{ >> + uint32_t ret_poly; >> + >> + if (poly_degree > 32) >> + return 0; >> + >> + do >> + ret_poly = __thash_get_rand_poly(poly_degree); >> + while (thash_test_poly_order(ret_poly, poly_degree)); > Unbounded loop adds some risk, should there be an upper limit on retries. Thisis the probabilisticpartof the algorithm. __thash_get_rand_poly() returns a random polynomial that either satisfies the order criteria (element of the field must generate multiplicative subgroup of order not less than some number), or not. The probability that it does not meet this criteria is strictly less than 1. Thus, with each attempt, the probability of not finding suitable polynomial exponentially tends to zero. > >> + >> + return ret_poly; >> +} >> diff --git a/lib/hash/version.map b/lib/hash/version.map >> index 4f13f1d5aa..7ce6ab1121 100644 >> --- a/lib/hash/version.map >> +++ b/lib/hash/version.map >> @@ -61,4 +61,5 @@ INTERNAL { >> >> rte_thash_gfni_stub; >> rte_thash_gfni_bulk_stub; >> + rte_thash_get_rand_poly; > Why does this function need to be moved to its own file? > Only used in one place in rte_thash.c. It was done just for convenience. If you insist, I'll move it to rte_thash.c -- Regards, Vladimir --------------RLb0esmBwWIhyoxGuLd0B92q Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: 7bit

Hi Stephen,

On 15/10/2024 23:29, Stephen Hemminger wrote:
On Fri, 11 Oct 2024 18:17:00 +0000
Vladimir Medvedkin <vladimir.medvedkin@intel.com> wrote:

+
+uint32_t
+rte_thash_get_rand_poly(uint32_t poly_degree)
+{
+	uint32_t ret_poly;
+
+	if (poly_degree > 32)
+		return 0;
+
+	do
+		ret_poly = __thash_get_rand_poly(poly_degree);
+	while (thash_test_poly_order(ret_poly, poly_degree));
Unbounded loop adds some risk, should there be an upper limit on retries.

This is the probabilistic part of the algorithm.

__thash_get_rand_poly() returns a random polynomial that either satisfies the order criteria (element <x> of the field must generate multiplicative subgroup of order not less than some number), or not. The probability that it does not meet this criteria is strictly less than 1. Thus, with each attempt, the probability of not finding suitable polynomial exponentially tends to zero.


+
+	return ret_poly;
+}
diff --git a/lib/hash/version.map b/lib/hash/version.map
index 4f13f1d5aa..7ce6ab1121 100644
--- a/lib/hash/version.map
+++ b/lib/hash/version.map
@@ -61,4 +61,5 @@ INTERNAL {
 
 	rte_thash_gfni_stub;
 	rte_thash_gfni_bulk_stub;
+	rte_thash_get_rand_poly;
Why does this function need to be moved to its own file?
Only used in one place in rte_thash.c.
It was done just for convenience. If you insist, I'll move it to rte_thash.c

    
-- 
Regards,
Vladimir
--------------RLb0esmBwWIhyoxGuLd0B92q--