diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-10-17 17:51:53 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-10-17 17:51:53 -0700 |
commit | 9fe1450f6d3ce67d963c195d3fb8510d9c673bdd (patch) | |
tree | 831d794057d821e594654182b49d7a77f1be73bb /tools/net/ynl/lib/ynl.py | |
parent | 73b24e7ce8f1f47e2b73c9b6724188898f4ca6fd (diff) | |
parent | 743f6397623edc708eda76ecc20e70032166e573 (diff) | |
download | linux-9fe1450f6d3ce67d963c195d3fb8510d9c673bdd.tar.gz linux-9fe1450f6d3ce67d963c195d3fb8510d9c673bdd.tar.bz2 linux-9fe1450f6d3ce67d963c195d3fb8510d9c673bdd.zip |
Merge branch 'net-remove-last-of-the-phylink-validate-methods-and-clean-up'
Russell King says:
====================
net: remove last of the phylink validate methods and clean up
This four patch series removes the last of the phylink MAC .validate
methods which can be found in the Freescale fman driver. fman has a
requirement that half duplex may not be supported in RGMII mode,
which is currently handled in its .validate method.
In order to keep this functionality when removing the .validate method,
we need to replace that with equivalent functionality, for which I
propose the optional .mac_get_caps method in the first patch.
The advantage of this approach over the .validate callback is that MAC
drivers only have to deal with the MAC_* capabilities, and don't need
to call back into phylink functions to do the masking of the ethtool
linkmodes etc - which then becomes internal to phylink. This can be
seen in the fourth patch where we make a load of these methods static.
====================
Link: https://lore.kernel.org/r/ZS1Z5DDfHyjMryYu@shell.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/net/ynl/lib/ynl.py')
0 files changed, 0 insertions, 0 deletions