octeontx2-af: Fix depth of cam and mem table.
authorRatheesh Kannoth <rkannoth@marvell.com>
Wed, 3 May 2023 07:09:36 +0000 (12:39 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 May 2023 08:02:59 +0000 (09:02 +0100)
commit60999cb83554ebcf6cfff8894bc2c3d99ea858ba
tree144fff91b0d79ad0ae85b5d1caae7b8d941da421
parentc60a6b90e7890453f09e0d2163d6acadabe3415b
octeontx2-af: Fix depth of cam and mem table.

In current driver, NPC cam and mem table sizes are read from wrong
register offset. This patch fixes the register offset so that correct
values are populated on read.

Fixes: b747923afff8 ("octeontx2-af: Exact match support")
Signed-off-by: Ratheesh Kannoth <rkannoth@marvell.com>
Signed-off-by: Sunil Kovvuri Goutham <sgoutham@marvell.com>
Signed-off-by: Sai Krishna <saikrishnag@marvell.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c