]> git.baikalelectronics.ru Git - kernel.git/commit
octeontx2-af: Exact match scan from kex profile
authorRatheesh Kannoth <rkannoth@marvell.com>
Fri, 8 Jul 2022 04:41:42 +0000 (10:11 +0530)
committerJakub Kicinski <kuba@kernel.org>
Mon, 11 Jul 2022 17:52:13 +0000 (10:52 -0700)
commit1c14809590f4d0349cba926a6fc2fdafc6b9d20e
treeb72cfcfb6bb68a1e4003068921d08fdb83d97a4f
parent303ec258efed8a59cc1b91e313577e8a3243d9c0
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: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/octeontx2/af/npc.h
drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c