]> git.baikalelectronics.ru Git - kernel.git/commit
octeontx2-af: Exact match scan from kex profile
authorRatheesh Kannoth <rkannoth@marvell.com>
Wed, 6 Jul 2022 03:44:33 +0000 (09:14 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Jul 2022 07:16:47 +0000 (08:16 +0100)
commitb14f99cdedcc5884f85d96ff202a7476668f2b6b
treeda4b92663267a3c2eefc6ff512ab71175aab43a9
parent93a60ac24bedfe6c0881b9765ff6ce2da4159228
octeontx2-af: Exact match scan from kex profile

CN10KB silicon supports exact match table. Scanning KEX
profile should check for exact match feature is enabled
and then set profile masks properly.

These kex profile masks are required to configure NPC
MCAM drop rules. If there is a miss in exact match table,
these drop rules will drop those packets.

Signed-off-by: Ratheesh Kannoth <rkannoth@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/npc.h
drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c