Files
linux/drivers/net/ethernet/intel/igb
Kohei Enju 17cd41a973 igb: set skb hash type from RSS_TYPE
igb always marks the RX hash as L3 regardless of RSS_TYPE in the
advanced descriptor, which may indicate L4 (TCP/UDP) hash. This can
trigger unnecessary SW hash recalculation and breaks toeplitz selftests.

Use RSS_TYPE from pkt_info to set the correct PKT_HASH_TYPE_*

Tested by toeplitz.py with the igb RSS key get/set patches applied as
they are required for toeplitz.py (see Link below).
 # ethtool -N $DEV rx-flow-hash udp4 sdfn
 # ethtool -N $DEV rx-flow-hash udp6 sdfn
 # python toeplitz.py | grep -E "^# Totals"

Without patch:
 # Totals: pass:0 fail:12 xfail:0 xpass:0 skip:0 error:0

With patch:
 # Totals: pass:12 fail:0 xfail:0 xpass:0 skip:0 error:0

Link: https://lore.kernel.org/intel-wired-lan/20260119084511.95287-5-takkozu@amazon.com/
Signed-off-by: Kohei Enju <kohei@enjuk.jp>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2026-07-01 13:34:30 -07:00
..
2026-06-13 16:44:06 -07:00
2021-03-19 08:47:46 -07:00
2026-06-13 16:44:06 -07:00
2024-10-08 15:22:32 -07:00
2026-06-13 16:44:06 -07:00
2026-06-13 16:44:06 -07:00
2024-10-08 15:22:32 -07:00
2022-06-09 10:05:31 -07:00
2026-07-01 13:34:29 -07:00