Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp1207925rwl; Thu, 5 Jan 2023 10:06:05 -0800 (PST) X-Google-Smtp-Source: AMrXdXuAHdv3BVmM455yR2VUeVJE6tWd2UCR6tHS/biN7BRqa36uiLXn5u4x+9YSTng2yo+IUTx/ X-Received: by 2002:a62:1981:0:b0:578:8864:b25c with SMTP id 123-20020a621981000000b005788864b25cmr44352212pfz.25.1672941964729; Thu, 05 Jan 2023 10:06:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672941964; cv=none; d=google.com; s=arc-20160816; b=0z4VUqgWQWaid8Y7NoL6cNGSa+YhxEtSRv10pBPCCVdlK2qbIFmdEngFmN03//cpYj pJZkfDnfcq971RdyTUXN2KIT8E8j6IZzIluBYfyzaEaYBEL46nG4G9h1nJn74PDpUwFd thjg/OaWTs3isAwalPhtlu4s/sCqY9PmkE66c9axtAPqX5ZTBfytZBXXahFQFdPARLqf dhMl5yYOpOkIxp9ke8STc0o6adgQns6Mj/6yoaNyqtXBEO3EW4ZpNvUDrcRDLUOU2mWW ukEe0yJa+NOXSsD2b0zQAyBtjN0bS7+IF5bILo5sJHKCb/azVb1clta71pFxl33I6gii W7PA== 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=u8LV6EV/3srOj0KMex+Y7VEALQxEEfXuLLOgyPVZWpY=; b=O+NWQRnKT2RRas7OndSstUJf9WT6vc8vzX7PxMWMJPbX5eOGkhFoSTakpIgYKPCLM1 89+eqeGM5ceT6iu6+LLw9g6GCp9KVXpK84O3PADTS8ykvO7pZm/NCx8OnwDhyjdLubcD /1+YoHkP14Dq4Ndf6/gMHKNzDVlXMA+JTXpaielJqyhXEf4ScCnI31D92BqL+y5maTDT YFS7amxhkBHNuxSShXElgUDwys+t6eQ0IzGt9+I6UigOjgV60Z0V8Hiekzg9JHwZKsHm RvWOZZMA0pSreV6gd3JZhvL4io1CSKqgMsrmE0eIxXE9ZzsnIbr2ZbNg/I9k66AgPcjr c4tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=os3CEgTo; 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 h13-20020a056a00230d00b0056e3c566bfasi40170298pfh.201.2023.01.05.10.05.57; Thu, 05 Jan 2023 10:06:04 -0800 (PST) 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=os3CEgTo; 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 S235152AbjAERt0 (ORCPT + 55 others); Thu, 5 Jan 2023 12:49:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235053AbjAERtY (ORCPT ); Thu, 5 Jan 2023 12:49:24 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68CC750054; Thu, 5 Jan 2023 09:49:22 -0800 (PST) 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 0191A61B96; Thu, 5 Jan 2023 17:49:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C9DDBC433D2; Thu, 5 Jan 2023 17:49:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672940961; bh=60Bisue5fYe0gu9CmvimJ0EoeLxBcGrVUCr4du+TFkg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=os3CEgTo2kQ6G/DIsxeR+iGBmeurCYKSgGPWQEh2E/PRAFC8WwZVbuMuCQ1URqbFv w8z0L23L8F9lsEI3wDMxr6jUgmNtBowD7E1R8lbdvVwRZ4qFmfyADxOCGC59KBYIsn OdUNV6NEE+CSG4kPxPAdkaVucTkJHO1WdUVyDQjCa6efTptG7wb4r5IOEZWoljx35D diQkEtbcUqUMUSYub7mt/PrxJaiR6zg/O5P1snFbEFyXsbsGmLlTJlX1C/+A83Z3XS E3j0D+idNiPTFGR5ATFDtJDWGuyc2VHqUiOr+1JoHN/AqVC/6YE1Q7BZZSs3jvk0cq /z8I26u2+di3w== Date: Thu, 5 Jan 2023 19:49:16 +0200 From: Leon Romanovsky To: Hariprasad Kelam Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kuba@kernel.org, davem@davemloft.net, pabeni@redhat.com, edumazet@google.com, sgoutham@marvell.com, lcherian@marvell.com, gakula@marvell.com, jerinj@marvell.com, sbhatta@marvell.com Subject: Re: [net PATCHV2] octeontx2-af: Fix LMAC config in cgx_lmac_rx_tx_enable Message-ID: References: <20230105160107.17638-1-hkelam@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230105160107.17638-1-hkelam@marvell.com> X-Spam-Status: No, score=-7.1 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 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 Thu, Jan 05, 2023 at 09:31:07PM +0530, Hariprasad Kelam wrote: > From: Angela Czubak > > PF netdev can request AF to enable or disable reception and transmission > on assigned CGX::LMAC. The current code instead of disabling or enabling > 'reception and transmission' also disables/enable the LMAC. This patch > fixes this issue. > > Fixes: 1435f66a28b4 ("octeontx2-af: CGX Rx/Tx enable/disable mbox handlers") > Signed-off-by: Angela Czubak > Signed-off-by: Hariprasad Kelam > --- > v2 * remove unused macro define > > drivers/net/ethernet/marvell/octeontx2/af/cgx.c | 4 ++-- > drivers/net/ethernet/marvell/octeontx2/af/cgx.h | 1 - > 2 files changed, 2 insertions(+), 3 deletions(-) > Thanks, Reviewed-by: Leon Romanovsky