]> 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)
commitd84c33605647402b3b219cbbf4e9b0bac9289859
treed9bc05f136558819d3ca4ca67f2ef74798cdd743
parente527ba0675e2c28d50dffefa6e9b86ac1e09db25
parentb0a9d6686ff71b190dc4eb5cdb046b1a9e4924c1
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>