Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1892045pxb; Mon, 22 Feb 2021 13:54:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJyudJWG2Qy6rSVDA/u/wSUEKXA34QrW+0IJEbrGNJsw4WCbLHjH1npeoToFfxqbvpLFvkDG X-Received: by 2002:a17:907:a087:: with SMTP id hu7mr6930642ejc.122.1614030890230; Mon, 22 Feb 2021 13:54:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614030890; cv=none; d=google.com; s=arc-20160816; b=kkw3Pqnm1BaHkLU9Al+NtWtyyuQ4ND4xlvNmeGU0osLX66aRTMh7TO2FJqlyC9Nfze qU/rUWheh9bX/8HM7bmCzaZRXEBAhiFeP2qgxFXzglvxJd6+9iI3nZhx4C3ZS0O4yuMH ESaZSfFIyQ3cHeeEIJO5Vj4VMj0USspqip4kQGE6eNOqRlbshxlOLs7+NhzZuHRan/Jn vPUZvui7KxRg9eWaZklvNkcf4qh/sCP0mjZB/AtoKXODXScssUhOFsx9TotqD8WZr/aT YLxaPZ2FA2CIZG9ThmS/hjx70HfHNj7/EpMX+nKWADnGMHpqtZdhrwFneZRuiDK542gn 4gcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=CeHo01FO2/lXjcBRzmhV/bA76W0zUEml2xf0qCDZyH0=; b=xov0Y+PRRqo0+ruqK4HretDCIGYtpPMAW/4BVts0oyEjrXOtOUcguuW4LARZKfLFvG 6UxcUE0Rt1EVo/uDbLo42mO8Ir7EgjuB5k9A+2uPSq7PinlnQf4BzxZfdy/4a3nRL+gR qbrBAEaxS1J9frrQ5QdlQv6MlwKa0oku6Eum6H4OrHT71MXqaBPhTGwTCnJHzdoHdgxe oKl4ijrQ/bC9GmEIQETDvBj8CIghij8t/+esTqdIt2NNkQhcJjk/rSsyrPumhrzdnySj Dl8XWUiuVps+hPrFRMfeVwYG5GMyUNG3Y5Li2dpLDB8eX5IdpXe6HmXPePuq7c3voo5F l6mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZWron18O; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i7si12277739edg.300.2021.02.22.13.54.26; Mon, 22 Feb 2021 13:54:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZWron18O; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S231124AbhBVVxN (ORCPT + 99 others); Mon, 22 Feb 2021 16:53:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230370AbhBVVxJ (ORCPT ); Mon, 22 Feb 2021 16:53:09 -0500 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C30DC061574; Mon, 22 Feb 2021 13:52:29 -0800 (PST) Received: by mail-pj1-x102a.google.com with SMTP id l18so495565pji.3; Mon, 22 Feb 2021 13:52:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=CeHo01FO2/lXjcBRzmhV/bA76W0zUEml2xf0qCDZyH0=; b=ZWron18OZ0PXH57hJ5WF3bgavTUGBpReN9/PTt9OTHbxZN/LdMOGdYsalXCI+JEhyC sK1lRzY13FocYVVznWLQHM/H6QdRosCMw0pLrDJWoKjvVjarWoZJdQcwcP02ax/s+E1Z vMZPCCHHpLsOCB/b/1RvuLyNbfw3RyazLYLanrtbk7wmoydSi3b8kV9OFotdjlb6vglH BL5+NcS/tj3y7WT8WwE6QMEu9Sf5lN7Lz9WLBgrd10DLX7QeNsFHEaOBoXpW2zRnoXjF vv587cY04ulWTHD07KMZEOYkDyCBtiKFfBXnRDbVhrTRn7ueRyFijbonFfB0QwW84fOL ATwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=CeHo01FO2/lXjcBRzmhV/bA76W0zUEml2xf0qCDZyH0=; b=mKFUcdUho3BhxBb4Xs94MAOQmSPMC+IQxy7QX1qelycsK5up8RBepM3Qgmih1BYw/t 3RUJjPHB8e9oDq3M70FubFvJnEOFzrt2yh/S7ih56uK775KmuucAfh0AMA226QbYkBhf hr7+E+HXX+VbUVG3OCqa63JeXVjPmSCG/CPkDhXEhxZK6hs3VWBmetBQEXNO+Tj3WDaE ESN8enGsu58x+Cz+j2UTj1mXQyLGtCCHyAHsx4jOXq/T7xRlvCoZkicESRnEt30RbXp0 an9HU60pJZpll2Z5suOK05PRAK6CfaSeEXzD3b/D7guvDmw1YSMiaidayjuuiN4vET/v O1EQ== X-Gm-Message-State: AOAM5333xa9WgLwKUvoVHYnPhCI3wnPymK+VoSZnlRyURxfGRnA9y1BP RfHGEYelrN6M0y6COa/BPm6eVM6n3jM= X-Received: by 2002:a17:90a:8b93:: with SMTP id z19mr23448318pjn.222.1614030748590; Mon, 22 Feb 2021 13:52:28 -0800 (PST) Received: from [10.230.29.30] ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id w25sm3277278pfn.106.2021.02.22.13.52.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 Feb 2021 13:52:28 -0800 (PST) Subject: Re: [PATCH net] net: dsa: b53: Support setting learning on port To: netdev@vger.kernel.org Cc: Andrew Lunn , Vivien Didelot , Vladimir Oltean , "David S. Miller" , Jakub Kicinski , open list References: <20210222214641.2865493-1-f.fainelli@gmail.com> From: Florian Fainelli Message-ID: Date: Mon, 22 Feb 2021 13:52:25 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <20210222214641.2865493-1-f.fainelli@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/22/2021 1:46 PM, Florian Fainelli wrote: > Add support for being able to set the learning attribute on port, and > make sure that the standalone ports start up with learning disabled. > > We can remove the code in bcm_sf2 that configured the ports learning > attribute because we want the standalone ports to have learning disabled > by default and port 7 cannot be bridged, so its learning attribute will > not change past its initial configuration. > > Signed-off-by: Florian Fainelli > --- > David, Jakub, > > This is submitted against "net" because this is technically a bug fix > since ports should not have had learning enabled by default but given > this is dependent upon Vladimir's recent br_flags series, there is no > Fixes tag provided. > > I will be providing targeted stable backports that look a bit > difference. This is incorrect because I did not update the supported mask of BR_* bits that we support, v2 coming shortly. -- Florian