Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp4646224rwr; Sun, 23 Apr 2023 09:52:30 -0700 (PDT) X-Google-Smtp-Source: AKy350b4duiqHwPKwmZXcyc4gqHOwHqXR+MtepqX7lHaV/VhZTlQlltazEUD1z4FQt8zD/gfBZiT X-Received: by 2002:a05:6a00:2d2a:b0:63b:8324:df with SMTP id fa42-20020a056a002d2a00b0063b832400dfmr15205793pfb.0.1682268749968; Sun, 23 Apr 2023 09:52:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682268749; cv=none; d=google.com; s=arc-20160816; b=HeU9PovHz5hbglbWHIiBrLWKRKXU/Sde9EWRaZaxA2fQA3AHkkftlnyjj1/pw1ZEqs VOgrelStVRaeNU4xmzLfWKhn0ilhkEqbXja7v5JeDcLide/9fIa1b7sK7k46oj8xb3Vt nr/Sxo8vNEtgezl/IARlc+ea8PoTGu/BX6fA2/FMEnqQ853akI+6uBiEfrjCIjLmn4Kw F8DydkiImRRX480le8uhtTjhLAT0vOS+N61njPJpegIYVe6rpjw/jYq9LYe7Lcsj7qlC c9GPi6KxldPk5pXqgtWePZevz+Edvn+QsylsVUCT0/m4/kBr6KDl8ik30/7cf6OteChP hVdA== 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=LDn4dDm8yKGGTeikstzJ/s34C5Cr/Jeme6sxn7WaeA4=; b=SupK3IXByFZfzwCeRT6aO2OHa89Rf35aYd6nqLvwB811Z6VgzQ6inL2pJb+UFGMZH7 vvPOLDOv3dc65XaQtjyTuuIgbtt44jfcp1QOHi6PXqT97pkAikUwH4t2lSG/VSBBHkaV 9AWzf+Dl8XxnU0d1KbTsFDJI34jCLE1E78t/290xL1T2OUf5g87M2PuQ6J96CZyhynXc kHZL4I1CJVU0FpxDdN0NqnZoSRxLM1/6KH0NwKq0jvz4DomrePDlzbjAUq3uaMt+qGje Uzl89nga6pgsINjneQuEGZFcah4t8Pb2sdB5uKzD55E2tMCKNrUrWW59MKL6w1WcnMNM 5XAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YVKOGEt6; 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 h70-20020a638349000000b0052525c3451bsi2242516pge.825.2023.04.23.09.52.17; Sun, 23 Apr 2023 09:52:29 -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=YVKOGEt6; 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 S229751AbjDWQsh (ORCPT + 99 others); Sun, 23 Apr 2023 12:48:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229727AbjDWQsf (ORCPT ); Sun, 23 Apr 2023 12:48:35 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB79310F0; Sun, 23 Apr 2023 09:48:34 -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 6F5C160C57; Sun, 23 Apr 2023 16:48:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 54D43C433EF; Sun, 23 Apr 2023 16:48:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682268513; bh=UxlIVX22bNdrwnRYKpdbpf7jgyKAxR9M2aHiN+n4ULw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YVKOGEt6PLn3V9UWAyPRMvMcT+55T8SaUsEzRe5D7+n4uCxQknH/8zaqjmVR+9egi 9wLxuOWS7lG+ZPWabxDU64JsLlP1xpBr3c25bwRtqlD2iho1BxMORxCB5TbUOWLeog +Dt7KRhFEHjyVCP27aoIBRil4LcHvDEHsDwtxvshWbiHAvN0G9kfbV3xi18h+A8icI Of9Imza4O5VIzJLyvP3ovqBo2y+z0BIxOsm38ABi7wJT7hG7JnzDFE+GHlqovETPgn CAzhAwpDRbE9WoFpmm+xvxz7V2CBepHO/fR0QeW6jQo/MqngCrz8D4E0X6QvEmDeyO tIn/hDEmwBypA== Date: Sun, 23 Apr 2023 19:48:29 +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 3/9] octeontx2-af: mcs: Config parser to skip 8B header Message-ID: <20230423164829.GE4782@unreal> References: <20230423095454.21049-1-gakula@marvell.com> <20230423095454.21049-4-gakula@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230423095454.21049-4-gakula@marvell.com> X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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:48PM +0530, Geetha sowjanya wrote: > When ptp timestamp is enabled in RPM, RPM will append 8B > timestamp header for all RX traffic. MCS need to skip these > 8 bytes header while parsing the packet header, so that > correct tcam key is created for lookup. > This patch fixes the mcs parser configuration to skip this > 8B header for ptp packets. > > Fixes: ca7f49ff8846 ("octeontx2-af: cn10k: Introduce driver for macsec block.") > Signed-off-by: Sunil Goutham > Signed-off-by: Geetha sowjanya > --- > .../ethernet/marvell/octeontx2/af/mcs_reg.h | 1 + > .../marvell/octeontx2/af/mcs_rvu_if.c | 37 +++++++++++++++++++ > .../net/ethernet/marvell/octeontx2/af/rvu.h | 1 + > .../ethernet/marvell/octeontx2/af/rvu_cgx.c | 2 + > 4 files changed, 41 insertions(+) > Thanks, Reviewed-by: Leon Romanovsky