]> 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)
commitc17257480acb07d5d103ede4188f882aac7facd4
treea798dffa6b1133953aa07f8b075f9c0c0cea043b
parentaba70a934a528d09a893c333ff205ff36dff0c8f
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: 07517d640689 ("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