From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BE323EB64D9 for ; Wed, 12 Jul 2023 12:39:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232949AbjGLMjb (ORCPT ); Wed, 12 Jul 2023 08:39:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232498AbjGLMj3 (ORCPT ); Wed, 12 Jul 2023 08:39:29 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DF7E1724 for ; Wed, 12 Jul 2023 05:39:28 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9683961780 for ; Wed, 12 Jul 2023 12:39:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 79E22C433C7; Wed, 12 Jul 2023 12:39:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689165567; bh=tIlxPfmp2OWx7dJ+GCTH34FEXTusbmN/uXpptGTyHm0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=un0BVUVwdzmqkRCSU9zDHy5UpETM+o/iWECeXARNOsSWyTHYluRUMxloepOR9LXwy epjYbq/XWOxnCHFO17POZgqVPzzprofH06IHsj7ZAMJ49TlRVDnUykgEryzCbeb6BK 7KCUWfR7uVaZE9xsz7mYTU4PVTDpfgrTKiymvp+Dh/EAH6ThDOq4EiogGrfFk0DWg1 UBv4dnDh4Kn5AcxayGwpauJWa70hz9ZDLej18/DEJT+VuWlVhrbI80sQLVUlTaAEGh KMs4TwXv0ff3rEJypIRXIsfmV7VggHuhag6PtNMPmP/OFQeBwVeQgRDykI4RxJfl2u QNrjT+I9YqJOA== Date: Wed, 12 Jul 2023 15:39:23 +0300 From: Leon Romanovsky To: Suman Ghosh Cc: sgoutham@marvell.com, gakula@marvell.com, sbhatta@marvell.com, hkelam@marvell.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [net PATCH 3/3] octeontx2-af: Fix hash configuration for both source and destination IPv6 Message-ID: <20230712123923.GD41919@unreal> References: <20230712111604.2290974-1-sumang@marvell.com> <20230712111604.2290974-4-sumang@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230712111604.2290974-4-sumang@marvell.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 12, 2023 at 04:46:04PM +0530, Suman Ghosh wrote: > As of today, hash reduction was supported only for source IPv6 address. > This patch fixes that and adds supports for both source and > destination IPv6 address. > > Fixes: a95ab93550d3 ("octeontx2-af: Use hashed field in MCAM key") > Signed-off-by: Suman Ghosh > --- > .../marvell/octeontx2/af/rvu_npc_hash.c | 37 +++++++++---------- > 1 file changed, 18 insertions(+), 19 deletions(-) > Thanks, Reviewed-by: Leon Romanovsky