Merge branch 'bnxt_en-ntuple-fuilter-support'
authorDavid S. Miller <davem@davemloft.net>
Tue, 2 Jan 2024 13:52:28 +0000 (13:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jan 2024 13:52:28 +0000 (13:52 +0000)
commitfb9bb704896b4defad76661289136316d534d6f3
tree5b0456e9ef2b94e18b3f61ff05f1302aee3ab209
parent8a48a2dc24f834aa1a1f5f2c5444805523f65aee
parent8d7ba028aa9ab6570fe233ae026b3609b46f1eb7
Merge branch 'bnxt_en-ntuple-fuilter-support'

Michael Chan says:

====================
bnxt_en: Add basic ntuple filter support

The current driver only supports ntuple filters added by aRFS.  This
patch series adds basic support for user defined TCP/UDP ntuple filters
added by the user using ethtool.  Many of the patches are refactoring
patches to make the existing code more general to support both aRFS
and user defined filters.  aRFS filters always have the Toeplitz hash
value from the NIC.  A Toepliz hash function is added in patch 5 to
get the same hash value for user defined filters.  The hash is used
to store all ntuple filters in the table and all filters must be
hashed identically using the same function and key.

v2: Fix compile error in patch #4 when CONFIG_BNXT_SRIOV is disabled.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>