ftgmac100: Add pause frames configuration and support
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 17 Apr 2017 22:36:59 +0000 (08:36 +1000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Apr 2017 18:11:08 +0000 (14:11 -0400)
commit7c8e5141ca633ae6dc7489dc85cabcfed2144a2d
tree16ad0fc3d1a5cef8293a4e6037d5c30bd5e2b456
parente98233a6192d75d695b0972dc955d6561e46964f
ftgmac100: Add pause frames configuration and support

Hopefully my understanding of how the hardware works is correct,
as the documentation isn't completely clear. So far I have seen
no obvious issue. Pause seem to also work with NC-SI.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/faraday/ftgmac100.c
drivers/net/ethernet/faraday/ftgmac100.h