On 9/2/2018 10:06 AM, Andrew Lunn wrote:
ethtool can be used to enable/disable pause. Add a helper to configure
the PHY when Pause is supported.
One comment, see below:
[snip]
+/**
+ * phy_set_pause - Configure Pause
+ * @phydev: target phy_device struct
+ * @rx: Receiver Pause is supporte
ethtool can be used to enable/disable pause. Add a helper to configure
the PHY when Pause is supported.
Signed-off-by: Andrew Lunn
---
drivers/net/ethernet/broadcom/bcm63xx_enet.c | 6 +-
drivers/net/ethernet/freescale/fec_main.c| 8 +---
drivers/net/phy/phy_device.c