Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp9417824rwr; Thu, 11 May 2023 14:52:57 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6M6SMm/7Cx030MgQBJDxG0ofQFdDBW7+VTSTuHx1MK+UUSwy3f9TFLeS15rf398/WAZbz2 X-Received: by 2002:a17:90b:100d:b0:24e:120e:30ff with SMTP id gm13-20020a17090b100d00b0024e120e30ffmr21675947pjb.14.1683841977458; Thu, 11 May 2023 14:52:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683841977; cv=none; d=google.com; s=arc-20160816; b=gsh4XMxLSGlVdPz6nX91s83urmoZ6ADZnkv7rJw3rSGj+pLRyPg9BSvttF8CYxDVl5 cMCWPtjKgCy0+Xq14pAwOOW3jqNOAF0Xq0iETQH3vBG21kp5UyTx05vhGp4rryK3mGDD 2Uw51moDk6e4PfJoCLGNEmE1E6A2/Y2DVoA+HxV4yHGzr2CIAFIl1HetTPRfyPs5tUO6 ieKW+f0sKokIW3/2NtCGjSAgbc88XhN4X7KsXBDYQOw4qSIetz+kHNseKyzpySPoyDg/ J/AfiI1rOxIDP59VW+9sv+yre/d5WAzh70ovyuiZBnePfjbRdjo4Z2i0nlIgTZMVkSNS gReg== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=HjSZxJ1OCrOJjsx8zSdGmy+TGb8Q1mUA0B2cGHXhmJQ=; b=bW+mYpyxCLjbtpy0Bxa10McEW9btpREQ3aqCbUvzjNnSQ+erd4EW65cmXWJrXe8+Ry Mz9idpedbAPoXj+R34SzskRORTQ2TyNckDOsuW5A6LoyZs9qocyI06Fd/BR0M/BQGAkK OCAnbgPVT5wcEv4zsQ+sU7F5OG/K2DGQ4SQ95ZoyfuchEE+PuUiQYj/ymVXfG3eKQ+iZ TDNRC28pnXtDx66Oe7G3oqajOgd7oGs0Z2/3Jfcv+gvHBTObtL6oYD15LqnE/t+TolvM XiY0E8MchrziXclDU3y+T1IFeEXQKdrhCVx2DmYP9mzFmDUrgqFVwQ4Fr6IdXfpDd0rS ynYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=g4XIPath; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id on3-20020a17090b1d0300b00252a7b01824si1115788pjb.163.2023.05.11.14.52.43; Thu, 11 May 2023 14:52:57 -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=@gmail.com header.s=20221208 header.b=g4XIPath; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239223AbjEKVjO (ORCPT + 99 others); Thu, 11 May 2023 17:39:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239441AbjEKVjE (ORCPT ); Thu, 11 May 2023 17:39:04 -0400 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14DDE5FD8; Thu, 11 May 2023 14:39:03 -0700 (PDT) Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-3f423521b10so40534605e9.0; Thu, 11 May 2023 14:39:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683841141; x=1686433141; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=HjSZxJ1OCrOJjsx8zSdGmy+TGb8Q1mUA0B2cGHXhmJQ=; b=g4XIPathQ4QaGvodIhWMXw1gpSEQg1sLQw9ED1Z6g0iagZwZXzplqLV0Cq6Drxm4zr RP7T+i1a7ZQaDg/wL0v0doHQOZ11Ssx7Pj6Cxt9JeSbc9Gizu7ni1tzE78lqXzpjDy/R RoAsyaufThjl4G7SC8Kout8WE1+D9vAntq/0q0g9hKItB4ATAmDZOrH3jaD1JO2fWpfs y3dHZ0Bar1AMgshu0sGY99Z/8YQLj41fU+D4OkoD27CeQ2PBHD9N4A9Hdxmdqv/x7H0L 7thj3E+iE+Mgu6w56IpunlTbu1YwLMc/MCRafJ2E3A34icQF1cxrCsi408PvY9jA+OMq itKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683841141; x=1686433141; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=HjSZxJ1OCrOJjsx8zSdGmy+TGb8Q1mUA0B2cGHXhmJQ=; b=eVurTbMYRsB/7/XekUMEDzew8jfN82rE1ObqI4awEvZvzaapQtfqfc60z6g6MAXXmX zmt8xhchXNDC4p4RTGwfLxkFHEUvQWqxXeNygXAgZgh0jo+ov2y3tM4Axhd6r1UWcxFz U0UMfdivGIHb9XyZ4XToGn7T4FqEFTIQ3U8yKvljB0NKIM61r8f4klRhaHqvSGsgJLLN Cpvlt5KGaQ9/5E7XhhPBEfk/4Dkhbup7Sqz9zuTsypA5Qgzf1bjzSXj6I9fJ5uW30Djb OwHvGwJP6JhKV99PdMDHEwKeLnHw3/nUjpRZP/nDOpbWFJQ6igU7T6XQilw0eVs+F53A mPgQ== X-Gm-Message-State: AC+VfDzMHxKGLnGwmTd/hqCNVa9V52JjwUpaV2p/6n+XsvKPCV2cOeg+ YR14qVaLBFaQtlFRB+6GFSDByamaXgjUTg== X-Received: by 2002:a1c:f704:0:b0:3f1:9526:22be with SMTP id v4-20020a1cf704000000b003f1952622bemr15032505wmh.23.1683841141081; Thu, 11 May 2023 14:39:01 -0700 (PDT) Received: from skbuf ([188.27.184.189]) by smtp.gmail.com with ESMTPSA id l2-20020a1c7902000000b003f195d540d9sm26490561wme.14.2023.05.11.14.39.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 May 2023 14:39:00 -0700 (PDT) Date: Fri, 12 May 2023 00:38:58 +0300 From: Vladimir Oltean To: alexis.lothore@bootlin.com Cc: andrew@lunn.ch, f.fainelli@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, linux-renesas-soc@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, herve.codina@bootlin.com, miquel.raynal@bootlin.com, milan.stevanovic@se.com, jimmy.lalande@se.com, pascal.eberhard@se.com Subject: Re: [PATCH net v2 3/3] net: dsa: rzn1-a5psw: disable learning for standalone ports Message-ID: <20230511213858.jdrp7josynmzbwcp@skbuf> References: <20230511170202.742087-1-alexis.lothore@bootlin.com> <20230511170202.742087-1-alexis.lothore@bootlin.com> <20230511170202.742087-4-alexis.lothore@bootlin.com> <20230511170202.742087-4-alexis.lothore@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230511170202.742087-4-alexis.lothore@bootlin.com> <20230511170202.742087-4-alexis.lothore@bootlin.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 Thu, May 11, 2023 at 07:02:02PM +0200, alexis.lothore@bootlin.com wrote: > From: Cl?ment L?ger > > When ports are in standalone mode, they should have learning disabled to > avoid adding new entries in the MAC lookup table which might be used by > other bridge ports to forward packets. While adding that, also make sure > learning is enabled for CPU port. > > Fixes: 888cdb892b61 ("net: dsa: rzn1-a5psw: add Renesas RZ/N1 advanced 5 port switch driver") > Signed-off-by: Cl?ment L?ger > Signed-off-by: Alexis Lothor? > --- Reviewed-by: Vladimir Oltean