net: enetc: add more checks to enetc_set_rxfh()
Status from this message: This series was applied to netdev/net.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 2 repliesApplied 2/2
- v12 patches 3 repliesSuperseded
Changes in v2 from the cover letter
1. Fix a typo in the commit message of patch 2.
2. Collect Reviewed-by tag.
---
Patches in v2 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net: enetc: check whether the RSS algorithm is Toeplitzdrivers/ | +4 | 1 reply | Applied |
| 2/2 | net: enetc: do not allow VF to configure the RSS keydrivers/ | +5 | 1 reply | Applied |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Clark Wang | Claudiu Manoil |
|---|---|---|
| 1/2 | R-b | R-b |
| 2/2 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 net 0/2] net: enetc: add more checks to enetc_set_rxfh()
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(-)
Signature · 1 line
2.34.1