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)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 9 Apr 2024 09:59:42 +0000 (11:59 +0200)
commitfaf23006185e777db18912685922c5ddb2df383f
tree5ba29f876194726394e98414ed354b4913949da8
parentb46f4eaa4f0ec38909fb0072eea3aeddb32f954e
octeontx2-af: Fix NIX SQ mode and BP config

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>
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c