Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp2849829pxb; Tue, 24 Aug 2021 09:01:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyp98aorJEHsFkCVLlh6XA34PllepPsdFloDNd4NCJZ7vcV/zW0BHSVQGbrg/4XHilxQPvx X-Received: by 2002:a17:906:c182:: with SMTP id g2mr41054409ejz.507.1629820897774; Tue, 24 Aug 2021 09:01:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629820897; cv=none; d=google.com; s=arc-20160816; b=xtXhOM4zgu6J0QQrBjb8YDsWaEbVsLL/Flgc0NZd2Z7HmDEuxvhK+Shnxyu12jYdFG RNfeMXOHE9Y31k2sAf8SDMTI7GyBce/GmFD62iGFAtCxugTMi5fqs/qSOfip1Xa8lo7b WtvZUHBCRvsLOPiSIpwpT9PJpmGoyWO1WS3SN6uzrNbVR8dNwzwcni/7lJ9XLaMJATx1 6W/rF4VNR137beuBNTo9Ql/vOBXFCTyCQ2kJy4rjoHMgNeoAOJTCSdV8+BL+UnbpG/qz Nq6f3iJU7/mVsdueGn8HSxJJznNXl2dmCZ996b0NAVga2wZB0ju3RHQyqpr2iJG1ogBx zNGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=pebXoQmUWBzlSnu9s+ZDsnyoaDKmmttwsIKNnt3weIE=; b=Uf/Fjj/rMxP9DvvdoxxOyjN94PJsI2Tq8R/vc8G7zwbQKIGKi4mYaJScdPH6eK7+z3 O1VfRTXw/JzFwthhpbdmUmp2/Opm0MMI9ruNlboQi625t1P81x5joTQmMElBalfyQEoj E5CQNs+QcD95cVuUGhXV8Vy5wQ96L9Ax38vIFDp4vUov6DRRhc2NSCy1y6jkkduzGHw6 4m0DtDnxeXzgJgjKgMfS7qCq0yrvzsIyPJDhyVqgg1REe9MT7P3EIP6wqAd9uTa0p5aW i3feN27knkjhVSR3ak8Vg6Cj2M+BD5KjS5AI0RYnJWFZ8wAaTriU7AczF5/i3mbG4V9H FeaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Q9jhvSUq; 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 um28si49650ejb.255.2021.08.24.09.00.44; Tue, 24 Aug 2021 09:01:37 -0700 (PDT) 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=Q9jhvSUq; 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 S238457AbhHXP6w (ORCPT + 99 others); Tue, 24 Aug 2021 11:58:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236565AbhHXP6u (ORCPT ); Tue, 24 Aug 2021 11:58:50 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88D5CC061757; Tue, 24 Aug 2021 08:58:06 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id z2so46598487lft.1; Tue, 24 Aug 2021 08:58:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pebXoQmUWBzlSnu9s+ZDsnyoaDKmmttwsIKNnt3weIE=; b=Q9jhvSUqhX4lkX2eoeELlFAvl6kH+1JR7rYZ70PDorFWAptKs27wemZX6u7svTpdNi CQZNEsfniIV6d6WzPb8J7yhbOdzMtA5DOYaA5EKxM1vJhU8ZsxUmndRdY+EzVlKU+W8w Rm9Lbcsw3p1hnRA996p40sb5DwjklycrpqSZ/b+oVZ0KHu3GYiUBBRFs5mK+Gcg0B8g0 9JaskRUdVbEFtWMRx2qwC8zni6l0aLf8bq8hynPFCSg9xduGOuSe5DWyLiR4DIkf3ECP 1VDS3ZeN449pq3V8mdMrBV2QsqSrBloBUL2lZQlmqzPi7XtP1aCEQTe+EGu6mBW507dU Rs/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pebXoQmUWBzlSnu9s+ZDsnyoaDKmmttwsIKNnt3weIE=; b=oIPB3GJfJ/TR0ruEsQG2LiGvZ/QmprSzLCPcFtfh1VhR/sxvZ28CA2mf4y7X3vOojp NXR9+hMuJZn88YcvR+esGWBmhUkv2h7F805nnmxI+UfwTVvUOgAmb+9xnGK2+UiyCZn4 KBum56GM9owknjQKbsCXafh+nAymTQsuRyWGj385CjQFUJe/VcGDDkM/MVGUF7UaBYNG OBoiZ2Yn7XZ9vCthY+rHEQMUMIVaVfRs95cWld0pC4mjyKMZhIRCfshltL96VWxMsFUb dPEuze/oym3QLhQbVmX9BO3EFHt/knuKs4hMLSXVYecy8AExVeU38EVsXHudgycODfkm YeTg== X-Gm-Message-State: AOAM533U+HI0ocEXtBktAsIxRctcc/kKxl8hEbgDp8WINeyIo9d4iZvg St3IXnNvomxc/WogVg1cTtny2KWIpF74Waau1o6HMQSYlqnm6zm1 X-Received: by 2002:a05:6512:3f8e:: with SMTP id x14mr28533152lfa.389.1629820684972; Tue, 24 Aug 2021 08:58:04 -0700 (PDT) MIME-Version: 1.0 References: <20210824055509.1316124-1-dqfext@gmail.com> In-Reply-To: From: DENG Qingfang Date: Tue, 24 Aug 2021 23:57:53 +0800 Message-ID: Subject: Re: [PATCH 4.19.y] net: dsa: mt7530: disable learning on standalone ports To: Sasha Levin Cc: stable@vger.kernel.org, Sean Wang , Andrew Lunn , Vivien Didelot , Florian Fainelli , "David S. Miller" , Matthias Brugger , "open list:MEDIATEK SWITCH DRIVER" , open list , "moderated list:ARM/Mediatek SoC support" , "moderated list:ARM/Mediatek SoC support" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sasha, On Tue, Aug 24, 2021 at 11:29 PM Sasha Levin wrote: > What's the reasoning behind: > > 1. Backporting this patch? Standalone ports should have address learning disabled, according to the documentation: https://www.kernel.org/doc/html/v5.14-rc7/networking/dsa/dsa.html#bridge-layer dsa_switch_ops on 5.10 or earlier does not have .port_bridge_flags function so it has to be done differently. I've identified an issue related to this. > 2. A partial backport of this patch? The other part does not actually fix anything. > > -- > Thanks, > Sasha