]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'stmmac-flow-control'
authorDavid S. Miller <davem@davemloft.net>
Thu, 16 Apr 2015 17:58:43 +0000 (13:58 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Apr 2015 17:58:43 +0000 (13:58 -0400)
commit523eb9b36f1075d81b9313b7961a8822fa46fdb3
treed9bc05f136558819d3ca4ca67f2ef74798cdd743
parent3b1edd315370a490d3ee951f09dd5713203d8259
parent83d8f9889f60b53274944cf84c843cc37703ca3b
Merge branch 'stmmac-flow-control'

Vince Bridgers says:

====================
stmmac: Correct flow control configuration

This series of patches corrects flow control configuration for the Synopsys
GMAC driver.

Flow control is configured based on a configurable receive fifo size. If
less than 4Kbytes flow control is left disabled and a warning is presented. If
a receive fifo size is not specified, flow control is left disabled to
maintain current behavior. Unicast pause detection was disabled, but is now
enabled. The pause time was modified to be maximum time per a XON/XOFF
flow control mode of operation.

This patch was tested on an Altera Cyclone 5 and an Altera Arria 10 devkit,
and verified that flow control operates as expected when enabled.

Please consider this series for inclusion so that flow control will
function as expected for the Synopsys GMAC controller.
====================

Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>