net: ethernet: Add helper for set_pauseparam for Asym Pause
authorAndrew Lunn <andrew@lunn.ch>
Tue, 11 Sep 2018 23:53:17 +0000 (01:53 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Sep 2018 03:24:21 +0000 (20:24 -0700)
commit70814e819c1139e5e7faacb3700eab5eac559272
treeace5dc192ed3e22e719f148d531c6d01345a7858
parentc306ad36184fb7d0bd53f45441f45c1810e88a53
net: ethernet: Add helper for set_pauseparam for Asym Pause

ethtool can be used to enable/disable pause. Add a helper to configure
the PHY when asym pause is supported.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/apm/xgene/xgene_enet_ethtool.c
drivers/net/ethernet/aurora/nb8800.c
drivers/net/ethernet/broadcom/tg3.c
drivers/net/ethernet/faraday/ftgmac100.c
drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c
drivers/net/ethernet/freescale/gianfar_ethtool.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
drivers/net/ethernet/socionext/sni_ave.c
drivers/net/phy/phy_device.c
include/linux/phy.h