]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: ethtool: pse-pd: Target the command to the requested PHY
authorMaxime Chevallier <maxime.chevallier@bootlin.com>
Thu, 21 Dec 2023 18:00:43 +0000 (19:00 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Jan 2024 18:38:57 +0000 (18:38 +0000)
commit345237dbc1bdbb274c9fb9ec38976261ff4a40b8
tree624351f7605938733b1445c980eb26fb908cfb32
parent7db69ec9cfb8b4ab50420262631fb2d1908b25bf
net: ethtool: pse-pd: Target the command to the requested PHY

PSE and PD configuration is a PHY-specific command. Instead of targeting
the command towards dev->phydev, use the request to pick the targeted
PHY device.

Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ethtool/pse-pd.c