net: qcom/emac: configure the external phy to allow pause frames
authorTimur Tabi <timur@codeaurora.org>
Mon, 7 Nov 2016 16:51:40 +0000 (10:51 -0600)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Nov 2016 23:45:24 +0000 (18:45 -0500)
commit3e884493448131179a5b7cae1ddca1028ffaecc8
treeed635993d7ff460c8e634a89f41ee7fd615607f3
parentcdb26d3387f0cdf7b2a2eea581385173547ef21f
net: qcom/emac: configure the external phy to allow pause frames

Pause frames are used to enable flow control.  A MAC can send and
receive pause frames in order to throttle traffic.  However, the PHY
must be configured to allow those frames to pass through.

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Timur Tabi <timur@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/emac/emac-mac.c