Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2290015rwl; Thu, 30 Mar 2023 08:23:26 -0700 (PDT) X-Google-Smtp-Source: AKy350ZluU5gVDXl1WGztwchmvvBVCndWj1gr+jdhYNlUoopdFkF9sZG5D+CQcI2E/H+XVnT76l+ X-Received: by 2002:a17:906:297:b0:93e:22e6:e7d3 with SMTP id 23-20020a170906029700b0093e22e6e7d3mr2074690ejf.0.1680189806030; Thu, 30 Mar 2023 08:23:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680189806; cv=none; d=google.com; s=arc-20160816; b=UIQ6SpTlHqMz+xp/OiC/4sLO+LBSHrigI4IJomdcHWqoOjCkQ5xPoeExrWHtZyxfLg rtaBIrlhuL6rFjuHhkLPknNgxRQSadJStf98lt/SmbQzkhylX2fxORyKKBZXnqBCDVW5 iy60F4FC+s2MItUJ1AJuO6JXnCRYT2Zm070zw29ItJVtgdefw/z8bysjWdjKrpOOLyVq O6W0jRaLQFRBUwieLC/2vc2eLt/vtlWr+SYqfSWiflYIWYg01ecocfKjy/t2UTeaV57s d4MzjZPBeIZtfiBYQiIqeO483CGjCx6nLLcxDSckMIBeCCqOQUqWXo3hAZpEL4pbyPeA 6uAg== 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=9BJN6KvGFEdtYQeDXwsGBPAtMtBePoD/1g7P1KUhX/c=; b=trfleMOiEsuNtD9WPL7N5WgUjMV15pJQ+gFsexsUIkdofUKkxfq30NX5EYp/GwLhDL 3+z0BbzA/SjWwSSK0OHMT/ut21SAsNp80t1fkrKLW0PCQsMxHff8smNxjtsM19DWRErm 7xDgA1n6BiysohKEE86+woaaL09G+kSYNky1A1N4P73PkhTHkFi+HwWSr4bmMSoOuebv Ru3FBxRIUt88ZMeFhtwIrh0Ay796HglYdNkgMdzP3mn2NbxY5qRAeatgIq5KA47Qedut Rbob79ZjC1J3wFSSVbvC3WA9qv9AuiaZvkJ1MrwtZR698p8lJajdqccD6M5eBjsvVvAk lxcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=qwC2UA0f; 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 p11-20020a170906228b00b0093defbd6296si14942287eja.1053.2023.03.30.08.22.57; Thu, 30 Mar 2023 08:23:26 -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=20210112 header.b=qwC2UA0f; 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 S232890AbjC3PVs (ORCPT + 99 others); Thu, 30 Mar 2023 11:21:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232875AbjC3PVq (ORCPT ); Thu, 30 Mar 2023 11:21:46 -0400 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D7391710; Thu, 30 Mar 2023 08:20:47 -0700 (PDT) Received: by mail-pl1-x629.google.com with SMTP id c18so18370309ple.11; Thu, 30 Mar 2023 08:20:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680189622; 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=9BJN6KvGFEdtYQeDXwsGBPAtMtBePoD/1g7P1KUhX/c=; b=qwC2UA0fLhzbMLvZBRgkV30OtZGXFjlTkuzK/W+vR+5lm131gMRwGpPNk/pG9wrmr2 S+wT7xyopxuNbEeKsxfMNqCeiwljp5x9fcGCbyfeXO4chfb/PeOWkVOpGGvazgM6xpzS yAAoK8QtRoifTLzahzcxMiT81TlXlWRWJp4EHi7NSMHIg6HqdHXl8306ttYi45RQcUFW blzrKfmbL87anADROIWA4C/HWYuiewFzkOXhKw9I8tJ4KgEbhPQkf99Je487GyzV9nIU VMZPpWhdIQOLSnccmtuj1xwM70E2Wi8BLHMzYdko3+dtV93kxpDtfrrqdoDke5qYoCG6 J2Uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680189622; 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=9BJN6KvGFEdtYQeDXwsGBPAtMtBePoD/1g7P1KUhX/c=; b=AOYfmIVvvLc/R/s4sm8QBFt6rfBZp6qRBU4uCvEcXpQxdl7v0UPi9CT1vFZuErNx2B afCb+bAo0ePVEgwFXM71VEvOxLkwtDijuvEdRCVRlJ6elXfucONXZ5jqB90mBRR6Y4Kq kY1S40kEbTXzHsmLG8PNpCz3YJBYu2Up8p6YotpBreiwhK28KBc02xWbHrE6krk+b4a6 zYOqeVngV942E+bJgLtt4GXwjEJnQ1HyKsgJlQow5c2NKgyM5MfQ52mSoGmbRD5c++MU +2Zp3SdKeYOdVU3W5fz24udAN/RUsV90KSW37B3O1K0eEf8t+R2pF4jSkaIwv7UZJpAq tR3Q== X-Gm-Message-State: AAQBX9fxYsy8LCBEv3MYmKbS0mEGEXf9oDMQh6M+Ioggd/LHp4IlOs8x Tka4SEQSle+lIdb+EXUTA0U= X-Received: by 2002:a17:902:e2d3:b0:199:1b8a:42a8 with SMTP id l19-20020a170902e2d300b001991b8a42a8mr19616659plc.6.1680189622380; Thu, 30 Mar 2023 08:20:22 -0700 (PDT) Received: from skbuf ([188.27.184.189]) by smtp.gmail.com with ESMTPSA id c19-20020a170902b69300b001a279237e73sm2806213pls.152.2023.03.30.08.20.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Mar 2023 08:20:22 -0700 (PDT) Date: Thu, 30 Mar 2023 18:20:08 +0300 From: Vladimir Oltean To: =?utf-8?B?Q2zDqW1lbnQgTMOpZ2Vy?= Cc: Andrew Lunn , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-renesas-soc@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Petazzoni , Herve Codina , =?utf-8?Q?Miqu=C3=A8l?= Raynal , Milan Stevanovic , Jimmy Lalande , Pascal Eberhard , Alexis =?utf-8?Q?Lothor=C3=A9?= Subject: Re: [PATCH net-next 2/2] net: dsa: rzn1-a5psw: disable learning for standalone ports Message-ID: <20230330152008.ji5mrwbpzklylpck@skbuf> References: <20230330083408.63136-1-clement.leger@bootlin.com> <20230330083408.63136-3-clement.leger@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230330083408.63136-3-clement.leger@bootlin.com> X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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, Mar 30, 2023 at 10:34:08AM +0200, Cl?ment L?ger wrote: > When port 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. > > Signed-off-by: Cl?ment L?ger > --- Usually I prefer this kind of change to be treated as a bug and backported to older trees, because we see reports of setups which don't work due to it. For example, see commit 15f7cfae912e ("net: dsa: microchip: make learning configurable and keep it off while standalone") which has a Fixes: tag.