]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: ethtool: copy the rxfh flow handling
authorJakub Kicinski <kuba@kernel.org>
Wed, 11 Jun 2025 14:59:41 +0000 (07:59 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 13 Jun 2025 00:16:19 +0000 (17:16 -0700)
commitf4f126535546e275ffd89cdb9cc2fd581ebf3670
tree63b0e3ce946d1cb267e05cd30bbe8fcfe40c1abe
parent535de528015b56e34a40a8e1eb1629fadf809a84
net: ethtool: copy the rxfh flow handling

RX Flow Hash configuration uses the same argument structure
as flow filters. This is probably why ethtool IOCTL handles
them together. The more checks we add the more convoluted
this code is getting (as some of the checks apply only
to flow filters and others only to the hashing).

Copy the code to separate the handling. This is an exact
copy, the next change will remove unnecessary handling.

Reviewed-by: Joe Damato <joe@dama.to>
Link: https://patch.msgid.link/20250611145949.2674086-2-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ethtool/ioctl.c