ice: Implement RSS settings for GTP using ethtool
authorTakeru Hayasaka <hayatake396@gmail.com>
Mon, 12 Feb 2024 02:04:05 +0000 (02:04 +0000)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 6 Mar 2024 17:31:49 +0000 (09:31 -0800)
commita6d63bbf2c52d0a9d1550cd9a5ba58ea6371991b
treeddccff20ee469ec58e27fefe5789fb28d7e8bab8
parent0ed3bba16d37618c7776a44ef02ad3039966d687
ice: Implement RSS settings for GTP using ethtool

Following the addition of new GTP RSS hash options to ethtool.h, this patch
implements the corresponding RSS settings for GTP packets in the Intel ice
driver. It enables users to configure RSS for GTP-U and GTP-C traffic over IPv4
and IPv6, utilizing the newly defined hash options.

The implementation covers the handling of gtpu(4|6), gtpc(4|6), gtpc(4|6)t,
gtpu(4|6)e, gtpu(4|6)u, and gtpu(4|6)d traffic, providing enhanced load
distribution for GTP traffic across multiple processing units.

Signed-off-by: Takeru Hayasaka <hayatake396@gmail.com>
Reviewed-by: Marcin Szycik <marcin.szycik@linux.intel.com>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Documentation/networking/device_drivers/ethernet/intel/ice.rst
drivers/net/ethernet/intel/ice/ice_ethtool.c
drivers/net/ethernet/intel/ice/ice_flow.h
drivers/net/ethernet/intel/ice/ice_lib.c