Re: [PATCH RFC net-next 4/5] net: phylink: add phylink_set_max_fixed_link()
From: Marek Behún <kabel@kernel.org>
Date: 2022-07-05 10:59:34
Also in:
linux-arm-kernel, linux-mediatek
From: Marek Behún <kabel@kernel.org>
Date: 2022-07-05 10:59:34
Also in:
linux-arm-kernel, linux-mediatek
On Tue, 05 Jul 2022 10:48:02 +0100 "Russell King (Oracle)" [off-list ref] wrote:
Add a function for DSA to use to configure phylink, in the absence of any other configuration, to a fixed link operating at the maximum supported link speed. This is needed so we can support phylink usage on CPU and DSA ports. We use the default interface that the DSA driver provides (if any) otherwise we attempt to find the first supported interface that gives the maximum speed for the link. Signed-off-by: Russell King (Oracle) <redacted>
Reviewed-by: Marek Behún <kabel@kernel.org>