On Sun, Apr 28, 2019 at 03:03:37PM +0200, Heiner Kallweit wrote: > So far we set the advertising bitmap before setting the pause flags > in the supported bitmap. This may cause pause not being advertised.
Hi Heiner Pause requires that the PHY can advertise the pause bits, and that the MAC supports pause. So by default, we don't advertise pause. The MAC needs to say it supports pause, by calling one of void phy_support_sym_pause(struct phy_device *phydev); void phy_support_asym_pause(struct phy_device *phydev); These two then copy supported into advertising. Andrew