On Sun, Jan 31, 2021 at 10:12:25AM +0000, Stefan Chulski wrote: > Hi, > > Armada has options for 1G/10G ports without PHY's(for example community board > Macchiato single shot). > 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. > Current phylink return error if I do this on ports with MLO_AN_FIXED(callback > phylink_ethtool_set_pauseparam): > 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. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!