Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

selftests: drv-net: toeplitz: accept bigger rss keys

/proc/sys/net/core/netdev_rss_key got bigger (256 bytes instead of 52)

Fixes: 37b0ea8fef56 ("net: expand NETDEV_RSS_KEY_LEN to 256 bytes")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20260127174806.886561-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Eric Dumazet and committed by
Jakub Kicinski
5fc90003 70de4674

+1 -1
+1 -1
tools/testing/selftests/drivers/net/hw/toeplitz.c
··· 59 59 #include "../../../net/lib/ksft.h" 60 60 61 61 #define TOEPLITZ_KEY_MIN_LEN 40 62 - #define TOEPLITZ_KEY_MAX_LEN 60 62 + #define TOEPLITZ_KEY_MAX_LEN 256 63 63 64 64 #define TOEPLITZ_STR_LEN(K) (((K) * 3) - 1) /* hex encoded: AA:BB:CC:...:ZZ */ 65 65 #define TOEPLITZ_STR_MIN_LEN TOEPLITZ_STR_LEN(TOEPLITZ_KEY_MIN_LEN)