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 60E3845BC3; Thu, 24 Oct 2024 21:06:54 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0600443560; Thu, 24 Oct 2024 21:06:46 +0200 (CEST) Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by mails.dpdk.org (Postfix) with ESMTP id 8650340156 for ; Thu, 24 Oct 2024 21:06:42 +0200 (CEST) Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-20cdbe608b3so9820055ad.1 for ; Thu, 24 Oct 2024 12:06:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1729796801; x=1730401601; 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=OaR6IgcGZKXdz7n5CljeapZlvzu3MhXUeBQaBy+IGQY=; b=oy4eWV9m0HqDIdUnukkUYywWsvtCQC0xCAxfc1rCAtnjuN80oXNRO+9BKcSRXvtj4v bA1EwwYOk7lrSd8iBzhmvThCbTgiwRanyI7mnnj7L4mbojdeM1y9LkzwdgF5KYw+A4AZ BRehlhEO45oeXcufC8GJtv4yEY1o+YGx+VaJZu3Zkm2e8IUcC+X2j6trQnIk1w3HFnHP Pg1eV5c/WFhoYmu03PT25RLT5jp+3hschadUiUgvlWI4QEhsZ0Iq4dn79Ra1q6LwCBVl gDbvO0puvQuMuw4OPzXlK7bzYszJp32GUzgvx1pN7zkVY2sIL1bTOBQnEoJOZoy2H+pR qJKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729796801; x=1730401601; 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=OaR6IgcGZKXdz7n5CljeapZlvzu3MhXUeBQaBy+IGQY=; b=Wj9AjAv47wiTQ5u82M0rkF5Zz5iFrRZ/2WswYI8XLkyrVFKJGkjq7Z2gnyTeEUdYVA vfn9FljGDWv8JbPQVv+OZFJQlWsHlSQxrQ2VClQkC9sAw7KFzIGPkbob+BbW5qdELoZj NtIjUL8wG5BqOkHMKdlZFxmpb6xC7c9r7VRr1DBlVtNKd/swYqMmPU1Ab2U9reM6E1fL ISP4tD94+NZWIW6LCjZCAesyoP1eivxOy09PK/V4RbEM6ppT+TIrBDMatua/dw6VihT2 fy/O4esGDPeya/rFYFpbXtdGbQyvCYSVDKFUskOlBwM9ha46xeJH6sMNPCO0dKyn5TBX wG8A== X-Gm-Message-State: AOJu0YyuO4hhVNcKZELSNNCF9lTupvCTMZ6Ym7S3NZVTL4WQKf75HtFB i18MBHrCcKo+UoZyrNItQw3PH6I58hh7wz9Zjl0YMxZ+7gOh0Ze5QzAnnbjl+vY= X-Google-Smtp-Source: AGHT+IG1Ca82j06fq/0AzmEbrO1FM8s3O3bxCJzzntqZNux6tJnzwfNjAxM7MIvttGXK1REHQ7uMKA== X-Received: by 2002:a17:902:fc84:b0:20b:6e74:b712 with SMTP id d9443c01a7336-20fa9e99c52mr99422025ad.45.1729796801630; Thu, 24 Oct 2024 12:06:41 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20e7f0de428sm75795105ad.230.2024.10.24.12.06.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2024 12:06:41 -0700 (PDT) Date: Thu, 24 Oct 2024 12:06:08 -0700 From: Stephen Hemminger To: Vladimir Medvedkin Cc: dev@dpdk.org, Yipeng Wang , Sameh Gobriel , Bruce Richardson Subject: Re: [PATCH v4 2/4] hash: add dynamic polynomial calculation Message-ID: <20241024120608.6613c9f6@hermes.local> In-Reply-To: <20241024184657.901099-3-vladimir.medvedkin@intel.com> References: <20241011181703.236985-1-vladimir.medvedkin@intel.com> <20241024184657.901099-1-vladimir.medvedkin@intel.com> <20241024184657.901099-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 Thu, 24 Oct 2024 18:46:54 +0000 Vladimir Medvedkin wrote: > Current polynomial table has the following limitations: > > 1. It has polynomials up to degree 16 > 2. For each degree there are only 4 polynomials > > The above results in less entropy when generating Toeplitz hash key > subsequences. > > This patch replaces the current static table approach with dynamic > polynomial calculation for polynomials of degree 7 or higher, resulting > in better entropy of generated RSS hash key. > > Signed-off-by: Vladimir Medvedkin Acked-by: Stephen Hemminger