Skip to content
Commit 6bbbcff3 authored by Sunil Goutham's avatar Sunil Goutham Committed by Greg Kroah-Hartman
Browse files

octeontx2-af: Set NIX link credits based on max LMAC



[ Upstream commit 459f326e ]

When number of LMACs active on a CGX/RPM are 3, then
current NIX link credit config based on per lmac fifo
length which inturn  is calculated as
'lmac_fifo_len = total_fifo_len / 3', is incorrect. In HW
one of the LMAC gets half of the FIFO and rest gets 1/4th.

Signed-off-by: default avatarNithin Dabilpuram <ndabilpuram@marvell.com>
Signed-off-by: default avatarSunil Goutham <sgoutham@marvell.com>
Signed-off-by: default avatarGeetha Sowjanya <gakula@marvell.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Stable-dep-of: a0d9528f ("octeontx2-af: Always configure NIX TX link credits based on max frame size")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 6ef9a28e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment