* [PATCH net] net: phy: Update documentation for get_rate_matching
@ 2022-12-29 20:21 Sean Anderson
2023-01-01 12:00 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Sean Anderson @ 2022-12-29 20:21 UTC (permalink / raw)
To: Andrew Lunn, Heiner Kallweit, netdev
Cc: David S . Miller, Russell King, linux-kernel, Sean Anderson
Now that phylink no longer calls phy_get_rate_matching with
PHY_INTERFACE_MODE_NA, phys no longer need to support it. Remove the
documentation mandating support.
Fixes: 7642cc28fd37 ("net: phylink: fix PHY validation with rate adaption")
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
---
include/linux/phy.h | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/include/linux/phy.h b/include/linux/phy.h
index 71eeb4e3b1fd..6378c997ded5 100644
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
@@ -826,10 +826,7 @@ struct phy_driver {
* whether to advertise lower-speed modes for that interface. It is
* assumed that if a rate matching mode is supported on an interface,
* then that interface's rate can be adapted to all slower link speeds
- * supported by the phy. If iface is %PHY_INTERFACE_MODE_NA, and the phy
- * supports any kind of rate matching for any interface, then it must
- * return that rate matching mode (preferring %RATE_MATCH_PAUSE to
- * %RATE_MATCH_CRS). If the interface is not supported, this should
+ * supported by the phy. If the interface is not supported, this should
* return %RATE_MATCH_NONE.
*/
int (*get_rate_matching)(struct phy_device *phydev,
--
2.35.1.1320.gc452695387.dirty
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net] net: phy: Update documentation for get_rate_matching
2022-12-29 20:21 [PATCH net] net: phy: Update documentation for get_rate_matching Sean Anderson
@ 2023-01-01 12:00 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2023-01-01 12:00 UTC (permalink / raw)
To: Sean Anderson; +Cc: andrew, hkallweit1, netdev, davem, linux, linux-kernel
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@davemloft.net>:
On Thu, 29 Dec 2022 15:21:20 -0500 you wrote:
> Now that phylink no longer calls phy_get_rate_matching with
> PHY_INTERFACE_MODE_NA, phys no longer need to support it. Remove the
> documentation mandating support.
>
> Fixes: 7642cc28fd37 ("net: phylink: fix PHY validation with rate adaption")
> Signed-off-by: Sean Anderson <sean.anderson@seco.com>
>
> [...]
Here is the summary with links:
- [net] net: phy: Update documentation for get_rate_matching
https://git.kernel.org/netdev/net/c/6d4cfcf97986
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-01-01 12:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-29 20:21 [PATCH net] net: phy: Update documentation for get_rate_matching Sean Anderson
2023-01-01 12:00 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox