Thread (1 message) 1 message, 1 author, 2021-01-31

RE: [EXT] Re: Phylink flow control support on ports with MLO_AN_FIXED auto negotiation

From: Stefan Chulski <hidden>
Date: 2021-01-31 15:41:08

quoted
Hi,

Armada has options for 1G/10G ports without PHY's(for example
community board Macchiato single shot).
quoted
This port doesn't have PHY's and cannot negotiate Flow Control support,
but we can for example connect two ports without PHY's and manually(by
ethtool) configure FC.

On the Macchiatobin single shot, you use the existing SFP support rather
than forcing them to fixed link.
quoted
Current phylink return error if I do this on ports with
MLO_AN_FIXED(callback phylink_ethtool_set_pauseparam):
quoted
if (pl->cur_link_an_mode == MLO_AN_FIXED)
                return -EOPNOTSUPP;

How can we enable FC configurations for these ports? Do you have any
suggestions or should I post my proposal as an RFC patch?

If you really must use fixed-link, you specify the pause modes via firmware,
just as you specify the speed and duplex - you specify the link partner's flow
control abilities.
In this case we cannot change this by ethtool during runtime?

Regards,
Stefan.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help