diff options
author | Ratheesh Kannoth <rkannoth@marvell.com> | 2022-07-06 06:44:33 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-07-06 10:16:47 +0300 |
commit | 60ec393117503e97a59ff9545b1b5be1a875c1c7 (patch) | |
tree | da4b92663267a3c2eefc6ff512ab71175aab43a9 /drivers/net/ethernet/marvell/octeontx2/af/npc.h | |
parent | 017691914c115903ee513d9ca058335bb35f8bd6 (diff) | |
download | linux-60ec393117503e97a59ff9545b1b5be1a875c1c7.tar.xz |
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>
Diffstat (limited to 'drivers/net/ethernet/marvell/octeontx2/af/npc.h')
-rw-r--r-- | drivers/net/ethernet/marvell/octeontx2/af/npc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/marvell/octeontx2/af/npc.h b/drivers/net/ethernet/marvell/octeontx2/af/npc.h index 69f9517c61f4..f187293e3e08 100644 --- a/drivers/net/ethernet/marvell/octeontx2/af/npc.h +++ b/drivers/net/ethernet/marvell/octeontx2/af/npc.h @@ -208,6 +208,7 @@ enum key_fields { NPC_ERRLEV, NPC_ERRCODE, NPC_LXMB, + NPC_EXACT_RESULT, NPC_LA, NPC_LB, NPC_LC, |