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 F1C3D45941; Mon, 9 Sep 2024 02:11:28 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DAD3C402A8; Mon, 9 Sep 2024 02:11:28 +0200 (CEST) Received: from mail-pg1-f178.google.com (mail-pg1-f178.google.com [209.85.215.178]) by mails.dpdk.org (Postfix) with ESMTP id 51A7D40294 for ; Mon, 9 Sep 2024 02:11:27 +0200 (CEST) Received: by mail-pg1-f178.google.com with SMTP id 41be03b00d2f7-7d7a9200947so884605a12.3 for ; Sun, 08 Sep 2024 17:11:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1725840686; x=1726445486; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=bX0OcTMSICr4qllBYEcpGN/uJpzAUv1397SiBW3EXdA=; b=PHXW/OrbQ6hxg88SW0ZS7uWO0GhwTUMG7UGE9hAxShuiSbWgE1exWZDHHtDAl1oef2 jsS+zIG+SUoqFP4niGtpP1uF2b+WMkCGAgblXUg+UugEP8MouWkC1rdR0ffZlOeh+D12 Emto15bMHXPnWJkHId+1Tl8z2hlkZU0p5wUR5OTLAL8QxngYsGOVqaAAJxW5ZrYrMYiP jr0U3DYOsQZIr3MIj4/DU7BUcDmtnWoDSeDzwFJkH80vOOgWQLWpzXa9fBWuskT9DWQI PcpcGRLhp3VaTA2r96GrNO8KwDe9QJyS2K/62xAa6+MhzGX/0o1aZxkNpBfSgryWeaQR 9hpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725840686; x=1726445486; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bX0OcTMSICr4qllBYEcpGN/uJpzAUv1397SiBW3EXdA=; b=qGpbD1KYae2U2IcwsyAO+XGQdeaAnRRAhJOpbkblanB72hcfZ8u5xhbnJoCT+aqBGe vr2mrjPIFfgiamtHmL2ipWvTjZ0wcilP0R1BP1h+cLHBc7XWpN1eRxVOq8bUgHKRvIzY /8adEYnVHr14wE1fWIiWjeGiVKAKgIYsCbYliRc6Gl5BGRyw5fPkBKKI/9EckycfXPXW g5YqbXJ6KBfG8c2gqIt6AiEHcuKnIemezrVHuH+3kSLYm+9ITbr47VDXt62RdFyhIyN3 hngF0vLOQGVpsABr+j2Tg8qoA9jqZHjAUEnDYLxcERknLXS6qc0o+RtwXZoyuN8Lykcm HLbw== X-Gm-Message-State: AOJu0Yx2Pft7OoWQlfvoSH7CCpcbidfM5DGGMv2KAZs662U3oF283TkV yUSPQo+oe/lBUuBNtwGS/7cMpm+xf70UcPcjFEn0U+YIXi4h57dqYLBHqsvoPMU= X-Google-Smtp-Source: AGHT+IEitztgiuUvyUSjrY8EhLXehqOI0E8bMEF/q/tA88h9uTcp/cFlzSAbWttcz9rQtf3LK83DXQ== X-Received: by 2002:a05:6a21:3942:b0:1cc:dedd:d8ff with SMTP id adf61e73a8af0-1cf1d1e0709mr9306569637.43.1725840686385; Sun, 08 Sep 2024 17:11:26 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2dadc014a58sm5314668a91.17.2024.09.08.17.11.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Sep 2024 17:11:26 -0700 (PDT) Date: Sun, 8 Sep 2024 17:11:24 -0700 From: Stephen Hemminger To: Vladimir Medvedkin Cc: dev@dpdk.org, Yipeng Wang , Sameh Gobriel , Bruce Richardson Subject: Re: [RFC 2/4] hash: add dynamic polynomial calculation Message-ID: <20240908171124.07ec714f@hermes.local> In-Reply-To: <20240906165318.1322550-3-vladimir.medvedkin@intel.com> References: <20240906165318.1322550-1-vladimir.medvedkin@intel.com> <20240906165318.1322550-3-vladimir.medvedkin@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 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?