]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
committerMarcelo Henrique Cerri <marcelo.cerri@canonical.com>
Fri, 17 Jan 2020 17:22:57 +0000 (14:22 -0300)
commita7b45e5e7c4968ed146cc0d2fb7b3105220d9b40
treeffa1702cf439b596fbd22c1fe1d1a210b49d5716
parent4281dbf10af6fd14db03c37bf11188a7584c02e2
net: stmmac: xgmac: Disable Flow Control when 1 or more queues are in AV

BugLink: https://bugs.launchpad.net/bugs/1855306
[ Upstream commit 132f2f20c9866325d12c155aca06d260f358d3cb ]

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

Fixes: ec6ea8e3eee9 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Connor Kuehl <connor.kuehl@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c