]> git.baikalelectronics.ru Git - kernel.git/commit
octeontx2-af: Exact match support
authorRatheesh Kannoth <rkannoth@marvell.com>
Fri, 8 Jul 2022 04:41:41 +0000 (10:11 +0530)
committerJakub Kicinski <kuba@kernel.org>
Mon, 11 Jul 2022 17:52:12 +0000 (10:52 -0700)
commit303ec258efed8a59cc1b91e313577e8a3243d9c0
tree41a7c410f5a21c12191aba663b3df1274ffb8581
parent5a16df918decad69eefa89ae4aef96e33b1dfb89
octeontx2-af: Exact match support

CN10KB silicon has support for exact match table. This table
can be used to match maimum 64 bit value of KPU parsed output.
Hit/non hit in exact match table can be used as a KEX key to
NPC mcam.

This patch makes use of Exact match table to increase number of
DMAC filters supported. NPC  mcam is no more need for each of these
DMAC entries as will be populated in Exact match table.

This patch implements following

1. Initialization of exact match table only for CN10KB.
2. Add/del/update interface function for exact match table.

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.c
drivers/net/ethernet/marvell/octeontx2/af/rvu.h
drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c
drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.h
drivers/net/ethernet/marvell/octeontx2/af/rvu_reg.h