]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: dwxgmac: Finish the Flow Control implementation
authorJose Abreu <Jose.Abreu@synopsys.com>
Wed, 17 Apr 2019 07:33:04 +0000 (09:33 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Apr 2019 17:14:28 +0000 (10:14 -0700)
commit3196e7efd9ca641ce7d5cb57ff1d90f6e53c1a3c
tree35c46a6060b3c3b7fcb6c25825d7677482daeb52
parentb416b6531614f3885a76c695d11f8c3addeb702f
net: stmmac: dwxgmac: Finish the Flow Control implementation

Finish the implementation of Flow Control feature. In order for it to
work correctly we need to set EHFC bit and the correct threshold values
for activating and deactivating it.

Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Cc: Joao Pinto <jpinto@synopsys.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwxgmac2.h
drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c