]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: ethtool: phy: Convert the PHY_GET command to generic phy dump
authorMaxime Chevallier <maxime.chevallier@bootlin.com>
Fri, 2 May 2025 08:52:40 +0000 (10:52 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 6 May 2025 00:17:40 +0000 (17:17 -0700)
commit9dd2ad5e92b962d1349a7541d167e8e214e49f95
tree5379774b4cb23df25b4b809962d7cdf4cedcd020
parent172265b44cd3c90b76f2153a15abf64520d70e4a
net: ethtool: phy: Convert the PHY_GET command to generic phy dump

Now that we have an infrastructure in ethnl for perphy DUMPs, we can get
rid of the custom ->doit and ->dumpit to deal with PHY listing commands.

As most of the code was custom, this basically means re-writing how we
deal with PHY listing.

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