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 17A0445B04; Thu, 10 Oct 2024 14:32:51 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 96EF8402D8; Thu, 10 Oct 2024 14:32:50 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.15]) by mails.dpdk.org (Postfix) with ESMTP id C9E5940298 for ; Thu, 10 Oct 2024 14:32:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1728563569; x=1760099569; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=xgxcvQHaP+EZv7gQ4QivXyJQ4ZRoTEBHaspWJdrvapE=; b=EtMUoHMDLILMIg/6bJPOUd8TZSs5pmZWiPGiBPDn/Dl1/YckFyRLnMl+ bl4VyN9Nzi96naWVBodmVgldPYTTglAy47UuvwhZqIz6vWvxiW7a54Oea wwik59vQ+l5uG3Imxq4RZY+7SH2uk8v8C0TTJi1Cax/WL7saAQdvlhXRb PQEWwyy1w8TgGfqVcGtBlzhweEfRIV68oErrAUBaP2N3brc/XGVp/KQ8d Mt05w0hK5ps2q10RDON3IU1IW78wnEkRUETGHmhttFsCWwUMiKNsWwE+c iywWvzJDebNAHcvqKouOZgldO5I1KWCWESL9Nzf9c0ZRm0P7uNOA6K+hm A==; X-CSE-ConnectionGUID: myiH05dOT6aa2XBu8t77Qw== X-CSE-MsgGUID: +BfD1r2rS2yL8FMt1O4vkw== X-IronPort-AV: E=McAfee;i="6700,10204,11220"; a="28048995" X-IronPort-AV: E=Sophos;i="6.11,193,1725346800"; d="scan'208";a="28048995" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by fmvoesa109.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Oct 2024 05:32:44 -0700 X-CSE-ConnectionGUID: SgpTMGSETK2vYUpHuLi5KA== X-CSE-MsgGUID: tpH/6cDESeuYvP5MFZr68A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,193,1725346800"; d="scan'208";a="76237479" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmviesa007.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 10 Oct 2024 05:32:40 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Thu, 10 Oct 2024 05:32:37 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Thu, 10 Oct 2024 05:32:37 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.41) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Thu, 10 Oct 2024 05:32:37 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=pQuUmHzVVzJzzQ3+PZavXS5sqL9eH+O2hk3rIMtD9wBEQDCmRLoYGNcmCMsRkCcRB95Uj6PRVEVar0Bua0NOzCdhOW8Mcy68otFRcioEJcH9qq8U1lhWKixaji2BIez2x3WWisieSv/OLwIH/2kG/W9lUEwPR/c+3mAv+/Vfmjx5v7WoDDAXI9x0iawL0x+LQFRKTAlwJB8NCvkXXem7QgjKXRea/59z0G6biFcMfkTpyeJcARpHmTboFaXeAEXvJu5obFeHZPCafgpiNr+YLA/wUXd3KUrImAaVzSgXB5nkbi9do71npZ3gbLF9jwnX9M0wLRZu1fjJat0ctnEJ8A== 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=MILfFOU2Z2GDrx7fWdrzD69H/xqMswveAFTKl3SIlN8=; b=fPn5SI91HJp/DD0ONF8Kvp3BfiiI7RmE72OZci5uLTWb//5uSsO9wjNm1Xv6KPq8PYLWXqaW9hD1V7IFww/lF+hC/qPC7plDZv+njA1ZXecx8KjJtbsydCUPfHuQ6mJBxOqjpSXQsoctE31IIXd7jICkM8siuADuVRHyHSA9ADJuXldUjfMLGSfs5WL5LJZKWoPjDFB34sSmxhueDAC5Ve9s9hlJgWG+6LkjOXgOTiopH7gdwgd6159BM/3USifIyScYy9gHIBnqSKjnOd2Gu9ICi34HCfo08n/lrZ043DvtJ2DFfaYRnaOhZSUry9l6Di2Wvzes4tZ41nAzbxRJEA== 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 IA0PR11MB7790.namprd11.prod.outlook.com (2603:10b6:208:403::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.18; Thu, 10 Oct 2024 12:32:33 +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.8005.026; Thu, 10 Oct 2024 12:32:33 +0000 Message-ID: <97cd875a-1f2b-4ac2-ace1-34d944fbf102@intel.com> Date: Thu, 10 Oct 2024 13:32:29 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [RFC 2/4] hash: add dynamic polynomial calculation To: Stephen Hemminger CC: , Yipeng Wang , Sameh Gobriel , Bruce Richardson References: <20240906165318.1322550-1-vladimir.medvedkin@intel.com> <20240906165318.1322550-3-vladimir.medvedkin@intel.com> <20240908171124.07ec714f@hermes.local> Content-Language: en-US From: "Medvedkin, Vladimir" In-Reply-To: <20240908171124.07ec714f@hermes.local> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DUZPR01CA0081.eurprd01.prod.exchangelabs.com (2603:10a6:10:46a::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_|IA0PR11MB7790:EE_ X-MS-Office365-Filtering-Correlation-Id: 6809c115-7f3f-418d-d11d-08dce9279d4e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|1800799024; X-Microsoft-Antispam-Message-Info: =?utf-8?B?NnI4K3hOM0VQWThuZS9SOVlUL1cycyt2eTE3dmJJZm5MUDZJOW5nL2Q3cWUz?= =?utf-8?B?Z3Y0L0V0YTg4bjZ0WHEvaWJhdjRJNFF1K2FWVlI2Yy9ZcFJSQ0xuVDhwczJx?= =?utf-8?B?QVRsNVl0OHkzQk5raUw4TEwyck44VVhVS2JKN1ZKZ3daUS9BdjE2TXFJVlM2?= =?utf-8?B?RXIwaWZCb0VuRFpzMm9PNmZ1U2VtVHVNV2NPZHZPVitGQWxFTVM3ck56TGI2?= =?utf-8?B?d0Y5aWxGMWRYYzI0b3lhV1BYb3FFVkFpNXBKQjNzVVVVRXhJeHh6V1MxQzd4?=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UNjBYNCt5RWxHVWo4?= =?utf-8?B?bU1CSnBCclVkWVJDTFc3MlZQK3MvYlJIWlhKQ1U3U254ODZIeU9EUkZOcUNJ?= =?utf-8?B?WFBpNnFDNTFBSGVoc3AxSm54Q0VmNUw4NHk2SG9zZDFJMStPa2p3WDlIQ0Ni?= =?utf-8?B?NkkxbzRwZUx5WU5Vd0UrVWJWQlMwb2ltdUo5ZXN5ZzRJNzlQekNJdjR3VVha?= =?utf-8?B?bm1qSi9hbGxyUUg1WmE5WVVLMUc5RjZGcGdkUUxMb1JlSzNOaEFaQzVLNmdt?= =?utf-8?B?bElxRkZ3UXpCZ1IvSEVtR211MVhqVi9mdHVsM3BSWEIyS05qcjJQNDdxeEtQ?= =?utf-8?B?UlI4V1FtT1dReWRtQjlHSkNZV2FVbEhsd0VEWkkzNWtGSXgrQS81bEZsZjVZ?= =?utf-8?B?T3JMRXVHVlpxNWhLc2lwY1ZKYllRb2wzby9XY3VHSEZSbzZQK2VnL2p0amhq?= =?utf-8?B?N1VnVUpLYVVZL1QvU0psd2RRY2VaUDI0UjZ6bzhiODgydjV5QU1PT1BVQUUr?= =?utf-8?B?djJIcXd6YWY3Vllnb1E1ZlRFajVxQ2JPWldwY3FZVHJrSWJvYTRpZjNRPT0=?= 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)(376014)(1800799024); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ZllBb1NXMHFRdXFpTnhIRFdRZmVNYTZkdFkzYXp2RklrQnFya1NwdnI4S2hw?= =?utf-8?B?bVRlK3M2aUJHOXJWYnRSYWNUMjUwVngyN0g2Umpka2RhMWhGUXVuWWNQQWFK?= =?utf-8?B?NnRXNWs3cEY2VnV1MkxVbXdC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WHVtaTNJYTJWaTZIZ0owZTIrK3BXbjdhODFEekNFdzRhY0Fobm5HZXBR?= =?utf-8?B?dEhDYXM1WjQ0OGpvNWQyekdZenV4VjNwc0tEb2RlaWl2RmFycytaTTQ0dFBq?= =?utf-8?B?L1NBY1VqM0xKNHkyeFBCOEkvS1hTVkpCQkxXWTFtU21oNXRidXlUYVBRZ2JP?= =?utf-8?B?ZnRVcXpTT2RacUxBdU8wdWdMK3RvTWNBNHNJWGhqSWlXaFkzTUwzamdxbW5F?= =?utf-8?B?Ync9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: 6809c115-7f3f-418d-d11d-08dce9279d4e X-MS-Exchange-CrossTenant-AuthSource: PH7PR11MB5765.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Oct 2024 12:32:33.5367 (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: 2a1KgA5J9U4gtEkUuqX/Jy8JwfsP4oi1Tfy/T9S94Iran4jPBvUx2i4cBrukltEd8fWgwrUF/kzafYGGegGFewny85II+sPFovqeBHJIrM8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR11MB7790 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 Hi Stephen, Thanks for the review. No particular reason, will change it to uint32_t in v2. On 09/09/2024 01:11, Stephen Hemminger wrote: > On Fri, 6 Sep 2024 16:53:16 +0000 > Vladimir Medvedkin wrote: > >> +struct divisors { >> + int n; /* number of divisors */ >> + int div_arr[MAX_DIVISORS]; >> +}; > Why int instead of a fixed size unsigned, like uint32_t? -- Regards, Vladimir