[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230712123902.GB41919@unreal>
Date: Wed, 12 Jul 2023 15:39:02 +0300
From: Leon Romanovsky <leon@...nel.org>
To: Suman Ghosh <sumang@...vell.com>
Cc: sgoutham@...vell.com, gakula@...vell.com, sbhatta@...vell.com,
hkelam@...vell.com, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [net PATCH 1/3] octeontx2-af: Fix hash extraction mbox message
On Wed, Jul 12, 2023 at 04:46:02PM +0530, Suman Ghosh wrote:
> As of today, hash extraction mbox message response supports only the
> secret key. This patch adds support to extract both hash mask and hash
> control along with the secret key. These are needed to use hash
> reduction of 128 bit IPv6 address to 32 bit.
>
> Fixes: a95ab93550d3 ("octeontx2-af: Use hashed field in MCAM key")
> Signed-off-by: Suman Ghosh <sumang@...vell.com>
> ---
> .../net/ethernet/marvell/octeontx2/af/mbox.h | 16 ++--
> .../marvell/octeontx2/af/rvu_npc_hash.c | 80 +++++++++++--------
> .../marvell/octeontx2/af/rvu_npc_hash.h | 13 +--
> 3 files changed, 67 insertions(+), 42 deletions(-)
>
Thanks,
Reviewed-by: Leon Romanovsky <leonro@...dia.com>
Powered by blists - more mailing lists