Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp38331463rwd; Wed, 12 Jul 2023 06:23:20 -0700 (PDT) X-Google-Smtp-Source: APBJJlHu+FKD558YLjrZB5vL+8AaXeRgLxxQW6/emGM5xDQt/eY+MCuh7sL10Ynin2PlSRhAa/JF X-Received: by 2002:a05:6a20:9188:b0:122:cb38:637c with SMTP id v8-20020a056a20918800b00122cb38637cmr17971718pzd.49.1689168200665; Wed, 12 Jul 2023 06:23:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689168200; cv=none; d=google.com; s=arc-20160816; b=PuPTyRO/jt3wUowUH699LVnrHasL/QSP5lK+v/uWmpiZbvP9mzW0gGupMwisJq0aT6 pJx4hLOmoIbbR1xcwUeK9DYRbp4RiAHHtInLUR2WgPN0KG/tJJVmUvM6FiVSCiqqTvya OGNyniUbHryWnP0zbwhzXDxrksSjBU3gxxkeaQg6dtXP0nZJ4Iuh1tZb4NaLxl5+q6H5 8DrHUQuecQYJukf4InEw+EUyCIZ7tOFsGlA7eZw/HsnxRQVeZtu9+AjRnqTG27m0Nrmu HRm2ZcV0Xw6dQIcHg5CP6knpqvs9d6YKyjCB+vdqA7b2c4EhiN8m+fTXEg8EUe4H1M8G f5Ig== 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=VV4ri9ByFiwDX9YJLQ2nMHdKCL8LVe67kY1N9urt+/Q=; fh=55uCnFGfGw/SxyQCKhIsZINflvsn1d/ditHtt6sCqcE=; b=KBlq/ehkHtynbdP7zLn8wgYHlbJerp17fuRZgMB47atsEhbo3IjJ8UA6oJrevIvAD3 t74f8UX1aBHh6Wm+2npwcNPi3T2xCgP8h2qdg28x2bDQg3ux+WstFlKrjYOVK4p9U9mX 3qUDbGFZDSzWo71E7bjEE8lGl3d7iV5ngdsLBPbr415qws93iwwhzSOU7eNtYfQCiE4N KMTSL4ziVr11xpT6XNpRfKTGKIHoTN9ar6X/sOvrKU+ZC8Zak2jpLbZqscMoQj9yVvjB n0jvzdtxI9ZlclPjQYG+BNRhjZXj7BxUNrfic56rJX+lbwZxvNrL+F2w+EH8EAygJALY V7rQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mROMGWvA; 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 b28-20020a630c1c000000b00543c1b1be55si3242439pgl.132.2023.07.12.06.23.09; Wed, 12 Jul 2023 06:23:20 -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=mROMGWvA; 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 S229512AbjGLMjU (ORCPT + 99 others); Wed, 12 Jul 2023 08:39:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232507AbjGLMjT (ORCPT ); Wed, 12 Jul 2023 08:39:19 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D405C1981 for ; Wed, 12 Jul 2023 05:39:18 -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)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 71FF06177D for ; Wed, 12 Jul 2023 12:39:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5AE1BC433C8; Wed, 12 Jul 2023 12:39:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689165557; bh=V30cr/gIRf6hxwNzJhqq8lbR26epNHKX64BaObglznY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mROMGWvAOwvuk+ntgC9S66YVGhyyXWYKjFYvw3h66wtIyDYpPLpPiCQRRGSEi1zCt SORGcejBdCx/dFrTORlu0rXiww4RXLeR/O0p1w39FNA3tVwLqO6AbLX8czY9aldPy1 JzTpZDUQLdZDlbSKzWy/+OVukhd5qpz5AOL8J0WtJMeYQ0eZEaXlfTmXxGuOodjSgF /BFuJIPqEiX98ORwCh2h2RJ0SB2HTrLicfddol2Jvw7mJMxLNAZLMtE/+eShyEldS5 9p0KBlgcgJZypSoPF7sZ1HasO6ngnOXfQF7T9xV/jlieikXRdPLzpv2bs9fiNQHx/U lsvae1yDsFWHA== Date: Wed, 12 Jul 2023 15:39:14 +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 2/3] octeontx2-af: Fix hash extraction enable configuration Message-ID: <20230712123914.GC41919@unreal> References: <20230712111604.2290974-1-sumang@marvell.com> <20230712111604.2290974-3-sumang@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230712111604.2290974-3-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:03PM +0530, Suman Ghosh wrote: > As of today, hash extraction was enabled by default for the default > MKEX profile. This patch fixes that and enable the support based on > customer specific MKEX profile. > > Fixes: a95ab93550d3 ("octeontx2-af: Use hashed field in MCAM key") > Signed-off-by: Suman Ghosh > --- > .../marvell/octeontx2/af/rvu_npc_fs.c | 22 +++++++--- > .../marvell/octeontx2/af/rvu_npc_fs.h | 4 ++ > .../marvell/octeontx2/af/rvu_npc_hash.c | 43 ++++++++++++++++++- > .../marvell/octeontx2/af/rvu_npc_hash.h | 8 ++-- > 4 files changed, 65 insertions(+), 12 deletions(-) > Thanks, Reviewed-by: Leon Romanovsky