Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp4646284rwr; Sun, 23 Apr 2023 09:52:34 -0700 (PDT) X-Google-Smtp-Source: AKy350YZlZgsKM0P7BtWRdajBQxBU2RPKMlWbwiXAGuckmWIyU4b91AIpT2oq6CHnDEcB0f25Fcn X-Received: by 2002:a17:902:b614:b0:1a6:52f9:d4c7 with SMTP id b20-20020a170902b61400b001a652f9d4c7mr9615668pls.60.1682268754252; Sun, 23 Apr 2023 09:52:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682268754; cv=none; d=google.com; s=arc-20160816; b=CJxtht/nNLq6MFJ4JefeLq6xz57B8E264AmUpbrjij7QOj0SE1CuS6MjvtpRyLXCwd 6hOIG9NCe1HHHQUPUZWguAfBpUvR5RSHJLC6u3poh46wywTEnJH6Q2aa1MzTprH7ON/P h3g6OnsHAaEiVKuEBaKxpcSnvGUHUPoyPIs8Oe+wDvbUkmGPtALIZz8+zmZgtVNQBlDM jUAn/lIkw3yQqC3G3SLqGujyvsZt/WVI5IoNFrw3qXBQgVZkSpUJhy9OE2/PVnM+KOl4 B5mdb0a7TL3uH5TFQIjGebC2Rj9a7rnMTRfUGhb5pgj2QAwa5DkiF9N/bKVhXeQU6Bkc s3Pw== 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=OpfoYKlmaH39dDIBSOz71m4RXQcWLNke+udy3P04Uwc=; b=KcIc1zx2rF2EGOWE/TSxI8x++2+OqkRZXR7GmQKgvsRfkyVR9rCSPwEI8WS1Dh0ZUF iZOJkcAzsUeakOJCg5IVLX4pXPBk1rqGrkqOWawEhqxtSEfPvFS9eIBx/9MGlmzdqSLH PR3GlShSH2HV/eeKcqvjq0zQbr/Ah+CkOV2trBJu4U7q63WUarpbsg22wpOZpKFmaZ/m twCBtIqMNoIKqITloPZN8nxgnKFfV6CCUp0OjHhOZENwx2+kScDYjUR3OdQdQ3q7b3ai FNQmejRP2kB5PPaMG1NGReJagdldt3kibAIQPoUfzCiRKTlNJk3SSej0W2MkBrXtsWvW h++A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=meiIehMS; 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 e127-20020a636985000000b00524ecf898a2si5247678pgc.359.2023.04.23.09.52.21; Sun, 23 Apr 2023 09:52:34 -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=meiIehMS; 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 S229991AbjDWQst (ORCPT + 99 others); Sun, 23 Apr 2023 12:48:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229839AbjDWQsp (ORCPT ); Sun, 23 Apr 2023 12:48:45 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02ACC10F0; Sun, 23 Apr 2023 09:48:42 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 885BC61B5C; Sun, 23 Apr 2023 16:48:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 25641C4339B; Sun, 23 Apr 2023 16:48:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682268521; bh=ddToxb9gkHG/FkTnr9/E04yp93nvcB9vGAz/CWipWRo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=meiIehMSXFmw8QLgP3JYfJI44hllJ52uMpKkWBXS5bnXXjfEx5VibSwadR2Bb/JFw HeVzWjbDnF5D5TR21KiJWwlq7M3hX+D+i+dF85LEceh+b44+EFg2ve0FREDHXQlPOb 8dWxyPwhCa6BiLQh0MY6HaA4hLA0vHEzgxDGPBY4CqRcNdjtTwM0VVNAGdZYtUJtlB X+AmsrxIeCnaVAYMfBt7Xmo7U5M/QI/dxegtjbBI2vMSq2V6Nn94P5x8fzbRK70g6O fgBGGwVNlRi2+b+8Sec1ZtxHEjFKBKtRfXlouoKXPdUiT+Dd/mYP87KVh1I/H4AGyg sofC8ln57dDYg== Date: Sun, 23 Apr 2023 19:48:37 +0300 From: Leon Romanovsky To: Geetha sowjanya Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kuba@kernel.org, davem@davemloft.net, edumazet@google.com, pabeni@redhat.com, richardcochran@gmail.com, sgoutham@marvell.com, sbhatta@marvell.com, hkelam@marvell.com Subject: Re: [net PATCH 1/9] octeonxt2-af: mcs: Fix per port bypass config Message-ID: <20230423164837.GF4782@unreal> References: <20230423095454.21049-1-gakula@marvell.com> <20230423095454.21049-2-gakula@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230423095454.21049-2-gakula@marvell.com> X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 Sun, Apr 23, 2023 at 03:24:46PM +0530, Geetha sowjanya wrote: > For each lmac port, MCS has two MCS_TOP_SLAVE_CHANNEL_CONFIGX > registers. For CN10KB both register need to be configured for the > port level mcs bypass to work. This patch also sets bitmap > of flowid/secy entry reserved for default bypass so that these > entries can be shown in debugfs. > > Fixes: bd69476e86fc ("octeontx2-af: cn10k: mcs: Install a default TCAM for normal traffic") > Signed-off-by: Geetha sowjanya > Signed-off-by: Sunil Goutham > --- > drivers/net/ethernet/marvell/octeontx2/af/mcs.c | 11 ++++++++++- > .../net/ethernet/marvell/octeontx2/af/rvu_debugfs.c | 5 +++-- > 2 files changed, 13 insertions(+), 3 deletions(-) > Thanks, Reviewed-by: Leon Romanovsky