On Thu, Jul 11, 2024 at 6:57 PM Bruce Richardson <[email protected]> wrote: > > The hash table used for managing the filter rules in the ice driver was > dimensioned to a hard-coded 16k, which is insufficient for holding all > the filters supported by E830 HW. > > Rather than using a hard-coded value which may need updates for new > hardware support, we can query the NIC max filter support from hardware > and scale the hash table size based on that value. > > Fixes: 1a2fc1799f09 ("net/ice: reject duplicated flow for flow director") > > Signed-off-by: Bruce Richardson <[email protected]>
I did not test it, but on the principle this looks fine. Acked-by: David Marchand <[email protected]> > > --- > > NOTE: Omission of "Cc: stable..." is deliberate. Although this > is a fix for an issue originally introduced in an old commit, the issue > only manifests with newly-supported HW, so the fix does not need > backporting. Makes sense. -- David Marchand

