diff options
author | Russell King (Oracle) <[email protected]> | 2023-08-19 12:11:06 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-08-20 11:38:43 +0100 |
commit | b22eef6864caadd2199e3db0be7235c176a04f89 (patch) | |
tree | 59ed78b7600ee18d839dfd0f26ba00ffc501bc3f /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 85c786340a65eb059183a5c3c6fab8664e1f6e8a (diff) |
net: dsa: realtek: add phylink_get_caps implementation
The user ports use RSGMII, but we don't have that, and DT doesn't
specify a phy interface mode, so phylib defaults to GMII. These support
1G, 100M and 10M with flow control. It is unknown whether asymetric
pause is supported at all speeds.
The CPU port uses MII/GMII/RGMII/REVMII by hardware pin strapping,
and support speeds specific to each, with full duplex only supported
in some modes. Flow control may be supported again by hardware pin
strapping, and theoretically is readable through a register but no
information is given in the datasheet for that.
So, we do a best efforts - and be lenient.
Signed-off-by: Russell King (Oracle) <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions