Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp38326717rwd; Wed, 12 Jul 2023 06:19:45 -0700 (PDT) X-Google-Smtp-Source: APBJJlERjM/YGZxtAwiRRNxRyJW7Om8t1BD5gxHc94IUMqMuPy3CoqEBo2p1sfDgI2AFxrCWi8YY X-Received: by 2002:a05:6402:5148:b0:51e:26dc:b35e with SMTP id n8-20020a056402514800b0051e26dcb35emr17158965edd.21.1689167985236; Wed, 12 Jul 2023 06:19:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689167985; cv=none; d=google.com; s=arc-20160816; b=kj2bPVeyoDk6i9+THoqF8Z80troXgIqliTyRcgOoD3WZcQMN2XA0We6ngcjhr9M6H6 raFaeiRE/5/zpAZP0HygxfTqgQBA006WA/FQOZO6rbCzJIh4T8NAD2xM0cCnWRmGj1jW fPmgrJv1PTzRsvffOAa+N6ge2xosBMYkC5jznm5HzZ0Gwd0TpREUsZcmkjYr0fX9S15i IbyHqEcK5ZbPyY8vmvXGuXWP/qB1lMEX2/LZVrpIfffWApVy65Ef4T1BRIl6jVpLls7U NrrpvqN5IlTUffOg/r2VEkRs5KKHLhaBhQIDs5fjv0Qhj58TYHsnrZjTGnZVLA1ZMDlU Thiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=7Jnp2BTbAupIbZxgKZiWWJMH+XIxxkvLrK0TuHeYyU4=; fh=55uCnFGfGw/SxyQCKhIsZINflvsn1d/ditHtt6sCqcE=; b=gbbNEq8ZDRYB4jdPMV0+eNy0n87Sf7Eay1Cp+uoPQl9t8PEk6GhMFsSsQJ7t2U52Ue OODYZFFKBJ0Ev9ZwK4/75fS9jRFEJqK2SZTsJmGYYS124KGKifqB9sCzExWUvc/alQGe dJQPsUw4jDE81hRG+J6Alw3i/cQlBUN6l1OTIU7tF98v2Yr+ARa7deKer8PHCoS3Jl60 dL33jkg3LNhagcMHbrWmx7RL3hk+Ps4+oKdNEE1JEJ/7axk0uiWFgjZhi40sogRcM9+g PSMWAIE+I4Ryt2a9YS5BgZ9Vc2C54QRpgauUF6+Qnw60CUTZwX9RB8N/AnFGCPtbLiCT Aqcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=un0BVUVw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m9-20020aa7c2c9000000b0051e3cc20de5si4606303edp.592.2023.07.12.06.19.21; Wed, 12 Jul 2023 06:19:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=un0BVUVw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232846AbjGLMja (ORCPT + 99 others); Wed, 12 Jul 2023 08:39:30 -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> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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