]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
octeontx2-af: Fix NIX SQ mode and BP config
authorGeetha sowjanya <gakula@marvell.com>
Mon, 8 Apr 2024 06:36:43 +0000 (12:06 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Apr 2024 09:19:29 +0000 (11:19 +0200)
commitcc10d3eadb585c0b55a26203693d5f130c01d976
tree930041cd9b42e3757ae58fdde6962917823d4739
parent601a89ea24d05089debfa2dc896ea9f5937ac7a6
octeontx2-af: Fix NIX SQ mode and BP config

[ Upstream commit faf23006185e777db18912685922c5ddb2df383f ]

NIX SQ mode and link backpressure configuration is required for
all platforms. But in current driver this code is wrongly placed
under specific platform check. This patch fixes the issue by
moving the code out of platform check.

Fixes: 5d9b976d4480 ("octeontx2-af: Support fixed transmit scheduler topology")
Signed-off-by: Geetha sowjanya <gakula@marvell.com>
Link: https://lore.kernel.org/r/20240408063643.26288-1-gakula@marvell.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c