]> 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)
commitdd8c745770a4b184aaaa694221d3294b2ad84439
treeb72cfcfb6bb68a1e4003068921d08fdb83d97a4f
parentfccf7f93c3321f9a72e15a385a31794eb1bc28e2
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