Thread (6 messages) 6 messages, 3 authors, 2026-03-28
STALE120d
Revisions (2)
  1. v1 [diff vs current]
  2. v2 current

[PATCH v2 net 0/2] net: enetc: add more checks to enetc_set_rxfh()

From: Wei Fang <wei.fang@nxp.com>
Date: 2026-03-26 07:50:33
Also in: imx, lkml

ENETC only supports Toeplitz algorithm, and VFs do not support setting
the RSS key, but enetc_set_rxfh() does not check these constraints and
silently accepts unsupported configurations. This may mislead users or
tools into believing that the requested RSS settings have been
successfully applied. So add checks to reject unsupported hash functions
and RSS key updates on VFs, and return "-EOPNOTSUPP" to user space.

---
v2:
1. Fix a typo in the commit message of patch 2.
2. Collect Reviewed-by tag.
---

Wei Fang (2):
  net: enetc: check whether the RSS algorithm is Toeplitz
  net: enetc: do not allow VF to configure the RSS key

 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

-- 
2.34.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help