[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240306211855.970052-1-anthony.l.nguyen@intel.com>
Date: Wed, 6 Mar 2024 13:18:51 -0800
From: Tony Nguyen <anthony.l.nguyen@...el.com>
To: davem@...emloft.net,
kuba@...nel.org,
pabeni@...hat.com,
edumazet@...gle.com,
netdev@...r.kernel.org
Cc: Tony Nguyen <anthony.l.nguyen@...el.com>,
hayatake396@...il.com,
mkubecek@...e.cz,
vladimir.oltean@....com,
laforge@...monks.org,
mailhol.vincent@...adoo.fr
Subject: [PATCH net-next 0/2][pull request] ethtool: ice: Support for RSS settings to GTP
Takeru Hayasaka enables RSS functionality for GTP packets on ice driver
with ethtool.
A user can include TEID and make RSS work for GTP-U over IPv4 by doing the
following:`ethtool -N ens3 rx-flow-hash gtpu4 sde`
In addition to gtpu(4|6), we now support gtpc(4|6),gtpc(4|6)t,gtpu(4|6)e,
gtpu(4|6)u, and gtpu(4|6)d.
gtpc(4|6): Used for GTP-C in IPv4 and IPv6, where the GTP header format does
not include a TEID.
gtpc(4|6)t: Used for GTP-C in IPv4 and IPv6, with a GTP header format that
includes a TEID.
gtpu(4|6): Used for GTP-U in both IPv4 and IPv6 scenarios.
gtpu(4|6)e: Used for GTP-U with extended headers in both IPv4 and IPv6.
gtpu(4|6)u: Used when the PSC (PDU session container) in the GTP-U extended
header includes Uplink, applicable to both IPv4 and IPv6.
gtpu(4|6)d: Used when the PSC in the GTP-U extended header includes Downlink,
for both IPv4 and IPv6.
The following are changes since commit eeb78df4063c0b162324a9408ef573b24791871f:
inet: Add getsockopt support for IP_ROUTER_ALERT and IPV6_ROUTER_ALERT
and are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue 100GbE
Takeru Hayasaka (2):
ethtool: Add GTP RSS hash options to ethtool.h
ice: Implement RSS settings for GTP using ethtool
.../device_drivers/ethernet/intel/ice.rst | 21 ++++-
drivers/net/ethernet/intel/ice/ice_ethtool.c | 82 +++++++++++++++++++
drivers/net/ethernet/intel/ice/ice_flow.h | 31 +++++--
drivers/net/ethernet/intel/ice/ice_lib.c | 37 +++++++++
include/uapi/linux/ethtool.h | 48 +++++++++++
5 files changed, 210 insertions(+), 9 deletions(-)
--
2.41.0
Powered by blists - more mailing lists