From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2297AC73C5C for ; Tue, 9 Jul 2019 21:50:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F219D20656 for ; Tue, 9 Jul 2019 21:50:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729261AbfGIVuO (ORCPT ); Tue, 9 Jul 2019 17:50:14 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:46238 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729019AbfGIVuN (ORCPT ); Tue, 9 Jul 2019 17:50:13 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 14E5914255ECD; Tue, 9 Jul 2019 14:50:13 -0700 (PDT) Date: Tue, 09 Jul 2019 14:50:12 -0700 (PDT) Message-Id: <20190709.145012.1314139094883979747.davem@davemloft.net> To: vivien.didelot@gmail.com Cc: netdev@vger.kernel.org, linux@armlinux.org.uk, f.fainelli@gmail.com, idosch@mellanox.com, andrew@lunn.ch Subject: Re: [PATCH net-next] net: dsa: add support for BRIDGE_MROUTER attribute From: David Miller In-Reply-To: <20190709033113.8837-1-vivien.didelot@gmail.com> References: <20190709033113.8837-1-vivien.didelot@gmail.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Tue, 09 Jul 2019 14:50:13 -0700 (PDT) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Vivien Didelot Date: Mon, 8 Jul 2019 23:31:13 -0400 > This patch adds support for enabling or disabling the flooding of > unknown multicast traffic on the CPU ports, depending on the value > of the switchdev SWITCHDEV_ATTR_ID_BRIDGE_MROUTER attribute. > > The current behavior is kept unchanged but a user can now prevent > the CPU conduit to be flooded with a lot of unregistered traffic that > the network stack needs to filter in software with e.g.: > > echo 0 > /sys/class/net/br0/multicast_router > > Signed-off-by: Vivien Didelot Looks very reasonable and straightforward. Applied, thanks.