]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
Merge branch 'net-enetc-add-more-checks-to-enetc_set_rxfh'
authorJakub Kicinski <kuba@kernel.org>
Sat, 28 Mar 2026 03:56:49 +0000 (20:56 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 28 Mar 2026 03:56:49 +0000 (20:56 -0700)
commitdc9e9d61e301c087bcd990dbf2fa18ad3e2e1429
tree2cc9602bd95fd94c7c06a73ac76386a32bfab4f1
parenteeee5a710f26ce57807024ef330fe5a850eaecd8
parenta142d139168cce8d5776245b5494c7f7f5d7fb7d
Merge branch 'net-enetc-add-more-checks-to-enetc_set_rxfh'

Wei Fang says:

====================
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.
====================

Link: https://patch.msgid.link/20260326075233.3628047-1-wei.fang@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>