[PATCH v4 2/4] hash: add dynamic polynomial calculation

Stephen Hemminger stephen at networkplumber.org
Thu Oct 24 21:06:08 CEST 2024


On Thu, 24 Oct 2024 18:46:54 +0000
Vladimir Medvedkin <vladimir.medvedkin at intel.com> 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 <vladimir.medvedkin at intel.com>
Acked-by: Stephen Hemminger <stephen at networkplumber.org>


More information about the dev mailing list