]> 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)
commita51a2665f8149c2b57d38b3b2e6298ca901cb4f7
treeda4b92663267a3c2eefc6ff512ab71175aab43a9
parent0ae6b433ae711d21ef4d5977a348ca37e34e4977
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