]> git.ipfire.org Git - thirdparty/linux.git/commit
octeontx2-af: npc: Fix CPT channel mask in npc_install_flow
authorNithin Dabilpuram <ndabilpuram@marvell.com>
Tue, 2 Jun 2026 04:58:53 +0000 (10:28 +0530)
committerJakub Kicinski <kuba@kernel.org>
Thu, 4 Jun 2026 15:32:06 +0000 (08:32 -0700)
commit1d31eb27e570daa04f5373345f9ac98c95863be9
treecab775bd28e2978461bd8b44e1f3f0460348a568
parent1232b3104b4b2c0267f31608fe0f8a8758428f28
octeontx2-af: npc: Fix CPT channel mask in npc_install_flow

Use the CPT-aware NIX channel mask in the npc_install_flow path so that
when the host PF installs steering rules in kernel for a VF used from
userspace (e.g. DPDK), MCAM entries see the same channel mask semantics as
other RX paths.

Fixes: 56bcef528bd8 ("octeontx2-af: Use npc_install_flow API for promisc and broadcast entries")
Cc: Naveen Mamindlapalli <naveenm@marvell.com>
Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Signed-off-by: Ratheesh Kannoth <rkannoth@marvell.com>
Link: https://patch.msgid.link/20260602045853.1558530-1-rkannoth@marvell.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/octeontx2/af/rvu.h
drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c
drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c