Re: [PATCH net-next 11/12] net: ethernet: Add helper for set_pauseparam for Pause

2018-09-03 Thread Florian Fainelli
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

[PATCH net-next 11/12] net: ethernet: Add helper for set_pauseparam for Pause

2018-09-02 Thread Andrew Lunn
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