RE: [EXT] Re: [net-next PATCH V3 02/12] octeontx2-af: Exact match support

From: Ratheesh Kannoth
Date: Fri Jul 08 2022 - 00:48:36 EST


-----Original Message-----
From: Jakub Kicinski <kuba@xxxxxxxxxx>
Sent: Friday, July 8, 2022 6:23 AM
To: Ratheesh Kannoth <rkannoth@xxxxxxxxxxx>
Cc: netdev@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; Sunil Kovvuri Goutham <sgoutham@xxxxxxxxxxx>; davem@xxxxxxxxxxxxx; edumazet@xxxxxxxxxx; pabeni@xxxxxxxxxx
Subject: [EXT] Re: [net-next PATCH V3 02/12] octeontx2-af: Exact match support

External Email

----------------------------------------------------------------------
On Thu, 7 Jul 2022 13:03:43 +0530 Ratheesh Kannoth wrote:
> 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@xxxxxxxxxxx>

>Build with C=1 (i.e. with the sparse checker) we get:

>drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c:558:21: warning: dubious: x & !y

>could you figure out which one it is and if it can be muted?

Fixed. Posted new patch. Thanks a lot for pointing it out.

-Ratheesh