FAILED: patch "[PATCH] ice: enable parsing IPSEC SPI headers for RSS" failed to apply to 5.10-stable tree
Subsystems (3)
[email protected]
maintainerThe patch below does not apply to the 5.10-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
From 86006f996346e8a5a1ea80637ec949ceeea4ecbc Mon Sep 17 00:00:00 2001
From: Jesse Brandeburg <[email protected]>
Date: Fri, 11 Feb 2022 09:14:18 -0800
Subject: [PATCH] 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.
drivers/net/ethernet/intel/ice/ice_lib.c +6 -0
@@ -1684,6 +1684,12 @@ static void ice_vsi_set_rss_flow_fld(struct ice_vsi *vsi)if (status)dev_dbg (dev,"ice_add_rss_cfg failed for sctp6 flow, vsi = %d, error = %d\n" , vsi_num, status); + + status =ice_add_rss_cfg (hw, vsi_handle,ICE_FLOW_HASH_ESP_SPI , +ICE_FLOW_SEG_HDR_ESP ); +if (status) +dev_dbg (dev,"ice_add_rss_cfg failed for esp/spi flow, vsi = %d, error = %d\n" , + vsi_num, status); }/**