On Tue, 12 Jan 2021 23:58:24 +0200 Vladimir Oltean <olte...@gmail.com> wrote:
> On Tue, Jan 12, 2021 at 07:06:29PM +0100, Marek Behún wrote: > > On Tue, 12 Jan 2021 16:29:09 +0000 > > Russell King - ARM Linux admin <li...@armlinux.org.uk> wrote: > > > > > I'm seriously thinking about changing the phylink_validate() interface > > > such that the question of which link _modes_ are supported no longer > > > comes up with MAC drivers, but instead MAC drivers say what interface > > > modes, speeds for each interface mode, duplexes for each speed are > > > supported. > > > > BTW this would also solve the situation where DSA needs to know which > > interface modes are supported on a particular port to know which modes > > we can try on SFP connected to a DSA port. > > What do you mean here? What makes this specific to DSA? https://www.spinics.net/lists/netdev/msg675899.html