]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
octeontx2-af: Fix default entries mcam entry action
authorHariprasad Kelam <hkelam@marvell.com>
Mon, 16 Feb 2026 09:03:38 +0000 (14:33 +0530)
committerJakub Kicinski <kuba@kernel.org>
Thu, 19 Feb 2026 01:11:10 +0000 (17:11 -0800)
commit45be47bf5d7db0f762a93e9c0ede6cb3c91edf3b
tree5ecd8811853bac1dcc52797a3ea07c7d9f55ee4f
parent284f1f176f29ef0db4be806e3255b7154b250c92
octeontx2-af: Fix default entries mcam entry action

As per design, AF should update the default MCAM action only when
mcam_index is -1. A bug in the previous patch caused default entries
to be changed even when the request was not for them.

Fixes: 570ba37898ec ("octeontx2-af: Update RSS algorithm index")
Signed-off-by: Hariprasad Kelam <hkelam@marvell.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20260216090338.1318976-1-hkelam@marvell.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c