]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit83358196cb3760954a638424d9559fcdcecee5da
treeed635993d7ff460c8e634a89f41ee7fd615607f3
parent149b388e1374f47e4207cbffc36eb12fa5b8583e
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