]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: enetc: check whether the RSS algorithm is Toeplitz
authorWei Fang <wei.fang@nxp.com>
Thu, 26 Mar 2026 07:52:32 +0000 (15:52 +0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 28 Mar 2026 03:56:45 +0000 (20:56 -0700)
commitd389954a6cae7bf76b7b082ac3511d177b77ef2d
treec881b1d22c75c39ce561bd49fd84a211c26af23a
parenteeee5a710f26ce57807024ef330fe5a850eaecd8
net: enetc: check whether the RSS algorithm is Toeplitz

Both ENETC v1 and v4 only provide Toeplitz RSS support. This patch adds
a validation check to reject attempts to configure other RSS algorithms,
avoiding misleading configuration options for users.

Fixes: d382563f541b ("enetc: Add RFS and RSS support")
Signed-off-by: Wei Fang <wei.fang@nxp.com>
Reviewed-by: Clark Wang <xiaoning.wang@nxp.com>
Reviewed-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Link: https://patch.msgid.link/20260326075233.3628047-2-wei.fang@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/freescale/enetc/enetc_ethtool.c