Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by "Singh, Ayush1X"
Wed, 14 Oct 2026 10:29
RE: [PATCH iwl-net v2] ice: fix empty PTYPE set for GTP RSS profiles
Author: "Singh, Ayush1X"
Date: Wed, 14 Oct 2026 10:29
Date: Wed, 14 Oct 2026 10:29
54 lines
16948 bytes
16948 bytes
> -----Original Message----- > From: Takeru Hayasaka <hayatake396@gmail.com> > Sent: 20 September 2026 12:51 > To: intel-wired-lan@lists.osuosl.org > Cc: Nguyen, Anthony L <anthony.l.nguyen@intel.com>; Kitszel, Przemyslaw <przemyslaw.kitszel@intel.com>; netdev@vger.kernel.org; marcin.szycik@linux.intel.com; Nowlin, Alexander <alexander.nowlin@intel.com>; Takeru > Hayasaka <hayatake396@gmail.com> > Subject: [PATCH iwl-net v2] ice: fix empty PTYPE set for GTP RSS profiles > > Configuring RSS for GTP flows via ethtool, e.g. > > ethtool -N <if> rx-flow-hash gtpu4 sde > > is accepted but has no effect: the hash of GTP-U packets does not include the TEID, so all traffic between a given SGW/PGW pair lands on a single Rx queue. The GTP RSS configurations the driver installs by default at VSI init are affected the same way. > > ice_flow_set_rss_seg_info() does not set IPV_OTHER on GTP segments, and such a segment carries no L4 header bit either. ice_flow_proc_seg_hdrs() therefore takes the "no L4" branch and ANDs the PTYPE set with ice_ptypes_ipv4_ofos_no_l4, or ice_ptypes_ipv4_il_no_l4 for the inner segment. Neither holds a GTP PTYPE, so ANDing with ice_ptypes_gtpu leaves the set empty: the profile matches no packet at all and the configured TEID field never enters the hash. > > Set IPV_OTHER on GTP segments so that the tunnel-inclusive PTYPE sets are selected instead, which do contain the GTP PTYPEs. Skip segments that carry an L4 header bit, because the VF path strips IPV_OTHER from those on purpose. > > Verified on E810 (kernel 7.2-rc2, COMMS DDP 1.3.63.0) by reading the RSS hash from the Rx descriptor: GTP-U traffic varying only the TEID goes from one constant hash on a single Rx queue to 4096 distinct hashes across all Rx queues. The same holds for inner IPv6 (gtpu6) and for a PDU session container extension header (gtpu4e); plain UDP flows are unaffected. > > Signed-off-by: Takeru Hayasaka <hayatake396@gmail.com> > --- > v2: > - Ignore IPV_OTHER in ice_get_rss_cfg() so "ethtool -n" reports the > GTP fields again (reported by Intel validation) > - Do not set IPV_OTHER on GTP segments that carry an L4 header bit > v1: https://lore.kernel.org/intel-wired-lan/20260714192302.631428-1-hayatake396@gmail.com/ > > drivers/net/ethernet/intel/ice/ice_flow.c | 12 +++++++++++- > 1 file changed, 11 insertions(+), 1 deletion(-) > Tested-by: Singh, Ayush1X < ayush1x.singh@intel.com > (A Contingent worker at Intel)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads