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)
commit812103edf670247655f8840e7994fc8bd0000af8
treeb72cfcfb6bb68a1e4003068921d08fdb83d97a4f
parentb747923afff8c605c658f12fc059ae8041cb0ed4
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