net: ethtool: copy req_info from SET to NTF
authorJakub Kicinski <kuba@kernel.org>
Mon, 23 Jun 2025 23:17:17 +0000 (16:17 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 25 Jun 2025 22:24:14 +0000 (15:24 -0700)
commit3073947de382a27d8621be31594cb694b3a83f43
treeec5cd7e48aae7e8212102a3f190b5487b0dd5971
parentf9dc3e52d821dc1f9afeec43fb1c18ac94bd587a
net: ethtool: copy req_info from SET to NTF

Copy information parsed for SET with .req_parse to NTF handling
and therefore the GET-equivalent that it ends up executing.
This way if the SET was on a sub-object (like RSS context)
the notification will also be appropriately scoped.

Also copy the phy_index, Maxime suggests this will help PLCA
commands generate accurate notifications as well.

Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Tested-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/20250623231720.3124717-6-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ethtool/netlink.c
net/ethtool/netlink.h