]> www.infradead.org Git - users/willy/pagecache.git/commit
octeontx2-af: Fix installation of PF multicast rule
authorGeetha sowjanya <gakula@marvell.com>
Thu, 5 Dec 2024 11:34:35 +0000 (17:04 +0530)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 10 Dec 2024 09:11:07 +0000 (10:11 +0100)
commitaf47a328e8130c81984cbcd1f771fc4bb777bd0f
treecfefa4570420dd0503721e40abe17e910294e5af
parentf136552b7ce3a03bf9c7a8baad78bed8056ed823
octeontx2-af: Fix installation of PF multicast rule

Due to target variable is being reassigned in npc_install_flow()
function, PF multicast rules are not getting installed.
This patch addresses the issue by fixing the "IF" condition
checks when rules are installed by AF.

Fixes: 6c40ca957fe5 ("octeontx2-pf: Adds TC offload support").
Signed-off-by: Geetha sowjanya <gakula@marvell.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20241205113435.10601-1-gakula@marvell.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c