mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 15:12:13 +02:00
selftests: drv-net: toeplitz: accept bigger rss keys
/proc/sys/net/core/netdev_rss_key got bigger (256 bytes instead of 52)
Fixes: 37b0ea8fef ("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>
This commit is contained in:
parent
70de46740b
commit
5fc90003de
|
|
@ -59,7 +59,7 @@
|
|||
#include "../../../net/lib/ksft.h"
|
||||
|
||||
#define TOEPLITZ_KEY_MIN_LEN 40
|
||||
#define TOEPLITZ_KEY_MAX_LEN 60
|
||||
#define TOEPLITZ_KEY_MAX_LEN 256
|
||||
|
||||
#define TOEPLITZ_STR_LEN(K) (((K) * 3) - 1) /* hex encoded: AA:BB:CC:...:ZZ */
|
||||
#define TOEPLITZ_STR_MIN_LEN TOEPLITZ_STR_LEN(TOEPLITZ_KEY_MIN_LEN)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user