Commit e216ded4 authored by Naveen Mamindlapalli's avatar Naveen Mamindlapalli Committed by Greg Kroah-Hartman
Browse files

octeontx2-af: Set XOFF on other child transmit schedulers during SMQ flush



[ Upstream commit e18aab04 ]

When multiple transmit scheduler queues feed a TL1 transmit link, the
SMQ flush initiated on a low priority queue might get stuck when a high
priority queue fully subscribes the transmit link. This inturn effects
interface teardown. To avoid this, temporarily XOFF all TL1's other
immediate child transmit scheduler queues and also clear any rate limit
configuration on all the scheduler queues in SMQ(flush) hierarchy.

Signed-off-by: default avatarNaveen Mamindlapalli <naveenm@marvell.com>
Signed-off-by: default avatarSunil Goutham <sgoutham@marvell.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Stable-dep-of: 019aba04 ("octeontx2-af: Modify SMQ flush sequence to drop packets")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 16ff0895
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment