]> git.ipfire.org Git - thirdparty/linux.git/commit
octeontx2-pf: Fix NDC sync operation errors
authorGeetha sowjanya <gakula@marvell.com>
Fri, 29 May 2026 11:37:57 +0000 (17:07 +0530)
committerJakub Kicinski <kuba@kernel.org>
Thu, 4 Jun 2026 01:11:08 +0000 (18:11 -0700)
commita910fb8f7b9e4c566db363e6c2ec378dc7153995
tree524fa25b95b3b4dd5c93ca566e1bc18eca8cad18
parent2cdeaba5a1087f0f83e56729ea5c730b498639d9
octeontx2-pf: Fix NDC sync operation errors

On system reboot "rvu_nicpf 0002:03:00.0: NDC sync operation failed"
error messages are shown, even if the operations is successful.
This is due to wrong if error check in ndc_syc() function.

Fixes: 42c45ac1419c ("octeontx2-af: Sync NIX and NPA contexts from NDC to LLC/DRAM")
Signed-off-by: Geetha sowjanya <gakula@marvell.com>
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/1780054677-17249-1-git-send-email-sbhatta@marvell.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c