]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: xgmac: Disable Flow Control when 1 or more queues are in AV
authorJose Abreu <Jose.Abreu@synopsys.com>
Wed, 6 Nov 2019 15:03:01 +0000 (16:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Nov 2019 05:22:55 +0000 (21:22 -0800)
commit076f5cc6032486eb297cb5466e51ddf56ea6f40b
treea798dffa6b1133953aa07f8b075f9c0c0cea043b
parentf38e6b46474e8c29a0db90894ccda59d3c62e119
net: stmmac: xgmac: Disable Flow Control when 1 or more queues are in AV

When in AVB mode we need to disable flow control to prevent MAC from
pausing in TX side.

Fixes: 600acdc0650a ("net: stmmac: Add CBS support in XGMAC2")
Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c