]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ice: enable parsing IPSEC SPI headers for RSS
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Fri, 11 Feb 2022 17:14:18 +0000 (09:14 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Feb 2022 11:22:35 +0000 (11:22 +0000)
commit86006f996346e8a5a1ea80637ec949ceeea4ecbc
tree5eef4370b98e47eb28f2b268a0c3a5d76812127b
parent143de8d97d79316590475dc2a84513c63c863ddf
ice: enable parsing IPSEC SPI headers for RSS

The COMMS package can enable the hardware parser to recognize IPSEC
frames with ESP header and SPI identifier.  If this package is available
and configured for loading in /lib/firmware, then the driver will
succeed in enabling this protocol type for RSS.

This in turn allows the hardware to hash over the SPI and use it to pick
a consistent receive queue for the same secure flow. Without this all
traffic is steered to the same queue for multiple traffic threads from
the same IP address. For that reason this is marked as a fix, as the
driver supports the model, but it wasn't enabled.

If the package is not available, adding this type will fail, but the
failure is ignored on purpose as it has no negative affect.

Fixes: c90ed40cefe1 ("ice: Enable writing hardware filtering tables")
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Gurucharan G <gurucharanx.g@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ice/ice_lib.c