Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp83662pxb; Wed, 1 Sep 2021 22:38:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzsqWBmOxNPjUu1tmNXBxunQYmjVQB6cFJ6vyIWf9JUF3X5vzXxSJP1qwujOBEx9dFLdUzt X-Received: by 2002:a05:6638:3048:: with SMTP id u8mr1342772jak.91.1630561086385; Wed, 01 Sep 2021 22:38:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630561086; cv=none; d=google.com; s=arc-20160816; b=NUjQLLNDVZN4qhGCZst8QR9DaQrZikXwv4MviuTUkjn+3niX6/N0AUPi4+J1OWuB9P 4OWpKY7TiMph9ZJ4laL4482HiKpQDZzp0jAsjv+JSuc33X/tnuM3b2wnZCxfzuVs2G8T +ZutcKKmfCPOwJtVEr829RWNR4E2mWRkOX1uY/tp+5+7GELdxbFETNV23J2c1ses+P9z A9tcxGs12zb9SZ4nmnLcLeZ6c7rn0n8Ws0qoP9kdfFq6MFZfcmFh7N3T7dpEYXGpJN2t thp+4jfzMOntsFyJjhRZKfBdI3OhgsWLjb1EHNrjgImyISEcfM1IQVUasS1o3rufDfIK +g5Q== 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-disposition :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=AUQQWpdPusKziL81HjIpycnRSPGEY5GISL+U0MCMSmU=; b=B+WNrOJEppyGYk6pdvZWtVykY5vODh+XUS1HW58pD9WCngtMcPS4t1QDW5hKPRL+6T k0Qgym7+hFHWGEb25WLhAwtsaF1HbRGo2KImHFLsBWH6SY2+WmO58MSpK/3pBIBHuF1H 7E2+QPWNeuflQN8haB2zUVO1RqrcLU9MG1PcSkCdo7nNrUGXXq0C14PhPfOTB/vgkUjy F/h1iGOSnZdv39nZ69Jzf91MyEOXU/km4xdm8c7C20mCJzQ5vpwk3reGQ7YCkkMo8CYw UTg4lqmwzjugMbiN9JfsNtOdkSSDDIeBtVbW9/k0RWxYVuyZVguaB2poKi+FD0T5LcON /v1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="JHDFf//y"; 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 b11si1098208ilj.16.2021.09.01.22.37.54; Wed, 01 Sep 2021 22:38:06 -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=20210112 header.b="JHDFf//y"; 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 S233241AbhIBFhb (ORCPT + 99 others); Thu, 2 Sep 2021 01:37:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232994AbhIBFh1 (ORCPT ); Thu, 2 Sep 2021 01:37:27 -0400 Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4B45C061575; Wed, 1 Sep 2021 22:36:29 -0700 (PDT) Received: by mail-pj1-x102c.google.com with SMTP id gp20-20020a17090adf1400b00196b761920aso639423pjb.3; Wed, 01 Sep 2021 22:36:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-disposition:content-transfer-encoding; bh=AUQQWpdPusKziL81HjIpycnRSPGEY5GISL+U0MCMSmU=; b=JHDFf//yUkiuI37prdgWCjD9R3BX0MF++LeB2tn3JpuX+6C1q9/T+ceQvBcnpO3zhF KqFddP7LZ1WIza6iZtjHkx+HOkhqIrB/Jwe5jYzaAPmoO8PCY0dSbiG7rSs76H6LsE2G 2xWEEIiFb0l4UJCSWFol0RNVwEHkXt8RseGH8qmrzmUOot+xJnb2QL7rTfy5sBb8XB83 ReDLFc66swXyMR4O4FI20PtOmbYvqeniHo14wvYKBGZWlw7R4FxYc/IXvHakTLtRxjQu u3bn2PgY2puR6lUbYisAHUOxUJg+3sSrmjqmIz8NxNpRS7P0+kgm9SkUEvBdAwYdati8 Mb8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-disposition :content-transfer-encoding; bh=AUQQWpdPusKziL81HjIpycnRSPGEY5GISL+U0MCMSmU=; b=EvlKHtNaNYRmxcgKIv4vpvvihDyjdGeE6PBLYXIq3IzhDdGj0rS8dNaN8nB1YV9KGt /CweHLAh10YsMJs6yZRWGlfN/TX4XrR7J7trxe87n+vWv4ZHsoM5LqQXBQ2PPqZNky3z Fn71jEeJ8Rv8yvzPoGgBU577dOo4jDZnbT7B38NC+ZAXiV7yxUOYxjliQNm4YtGLkiRL 79WxaqZc/Mlu9GLK43gjYICN9GHdnZw+pzEwf+OxJwL10FzeImFcWcLucimZuNZ87tX5 Bry+q+wYfKiFuXOvqb3PwmAmEiJz0Y+NZcdLqhaok4oF29McXcwO+2Tbiy9hyYPpmMGV 9vbw== X-Gm-Message-State: AOAM53091xGueyGrITHOxATb7GXp9iDl2zOdJsSCCDN8npskwJGjRYIc YBolGcjyBj/T5YX9/G0fVC8= X-Received: by 2002:a17:902:7806:b0:138:1eee:c010 with SMTP id p6-20020a170902780600b001381eeec010mr1413056pll.20.1630560989012; Wed, 01 Sep 2021 22:36:29 -0700 (PDT) Received: from haswell-ubuntu20.lan ([138.197.212.246]) by smtp.gmail.com with ESMTPSA id f9sm739690pjq.36.2021.09.01.22.36.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Sep 2021 22:36:28 -0700 (PDT) From: DENG Qingfang To: Greg KH Cc: Sasha Levin , 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" Subject: Re: [PATCH 4.19.y] net: dsa: mt7530: disable learning on standalone ports Date: Thu, 2 Sep 2021 13:36:19 +0800 Message-Id: <20210902053619.1824464-1-dqfext@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: <20210824055509.1316124-1-dqfext@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 27, 2021 at 12:19:23PM +0200, Greg KH wrote: > On Tue, Aug 24, 2021 at 11:57:53PM +0800, DENG Qingfang wrote: > > 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. > > What issue is that? Where was it reported? See Florian's message here https://lore.kernel.org/stable/20210317003549.3964522-2-f.fainelli@gmail.com/ > > > > 2. A partial backport of this patch? > > > > The other part does not actually fix anything. > > Then why is it not ok to just take the whole thing? > > When backporting not-identical-patches, something almost always goes > wrong, so we prefer to take the original commit when ever possible. Okay. MDB and tag ops can be backported as is, and broadcast/multicast flooding can be implemented in .port_egress_floods. > > thanks, > > greg k-h