Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp758495ybx; Wed, 6 Nov 2019 08:02:27 -0800 (PST) X-Google-Smtp-Source: APXvYqy0iQtzecxifwRQKivglU2lFGSRtvmZCpG34Gxo/7sFO8+LJyDLYh8BJxnm8ObXJ/zNVm+K X-Received: by 2002:a50:cb8a:: with SMTP id k10mr3467959edi.21.1573056147084; Wed, 06 Nov 2019 08:02:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573056147; cv=none; d=google.com; s=arc-20160816; b=fYdvwYV+wh6R2n0teCg92ubhmnnXu6+x2ltYhxTwCrB+QhOhM8ZMFcgXX9vUQPddsD DT7v+xG+gCp7GC8R9GH24/Nt4EaCAx7YgMdfjK7gYABqiike+Cg4e2OWzDkPfY9rc+oS v/QUT2En0WwPoxOKaM8xdTBBAi/ibsBiEv3ohaY42nOiHFWJVaD/B3oSph4EfDolUPF/ 4pQzU9h+qZKHvigwj2+sMHFzYyoOL9cGjH5HL8LN2ntUUwZ480PurV/v3ZZBld2rDp+M EIJXKte+oy0ZswIFp2zRKaE6jr1KRzpFypE4SeL85iy0vJOJ5fxwH2IDAuz7p1+70PPC 0AIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=14E8rBtiDQjr+xd3m9tbE7W5QJZUOJcr7W7KfFXoGhY=; b=gxETtbfzNuveNW5KzW6ordHHMDzJGG41PLp6YAIrfmtns5ZEL0CDe5TK9D7mk7rgVP Z+yyqs68IzJ+wva12No3+Ez/7bA8oyGNPG0n/JrwvsaZumWaoG3fD6Tm3qu/XWLQkztV M0nOQOK3zyKOxRBTl74cxIgJCnxSXKT5vjIAVeI1hMxpGVJeHICvSJfGzr8l4N/Z50an OJXuAMvOS0tAXqtB9mShIgj5em5kHfvGP6Tx8nUIGgz+PS1hdx4hH8BhrOcuQwrs0mos O954BsWkapZ+f+oElBzLtjZrwk5Aracpy7pxFw2mxVSx5YPNrwJKLarc9GRt8shRDkVZ iE3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=WMVrZM7I; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l12si14449146edk.60.2019.11.06.08.02.02; Wed, 06 Nov 2019 08:02:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=WMVrZM7I; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728993AbfKFQBP (ORCPT + 99 others); Wed, 6 Nov 2019 11:01:15 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:51974 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727074AbfKFQBP (ORCPT ); Wed, 6 Nov 2019 11:01:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=14E8rBtiDQjr+xd3m9tbE7W5QJZUOJcr7W7KfFXoGhY=; b=WMVrZM7IeRbhGXkEEb0p7Tl/Vz FZyaovE79hsMMbOVWMoYVZHTZ85x17w5qVJxbVk9HfNkjo04tiHjXjGMhHZ4ZcgzglzAEJgQzwI8D wThQSZA3OyLm5GTQcrB4r/IXLytyaBqq+xApEnKzae2C2KbFv1QvtjuJ4+ay3JiBtHgg=; Received: from andrew by vps0.lunn.ch with local (Exim 4.92.2) (envelope-from ) id 1iSNk7-0000Hq-MT; Wed, 06 Nov 2019 17:01:11 +0100 Date: Wed, 6 Nov 2019 17:01:11 +0100 From: Andrew Lunn To: Ioana Ciornei Cc: "gregkh@linuxfoundation.org" , "linux-kernel@vger.kernel.org" , "f.fainelli@gmail.com" Subject: Re: [PATCH 06/12] staging: dpaa2-ethsw: add ACL entry to redirect STP to CPU Message-ID: <20191106160111.GC30762@lunn.ch> References: <1572957275-23383-1-git-send-email-ioana.ciornei@nxp.com> <1572957275-23383-7-git-send-email-ioana.ciornei@nxp.com> <20191105142202.GC7189@lunn.ch> <20191105155954.GE17620@lunn.ch> <20191106145038.GB30762@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > If I do this, I would have an L2 switch that relies on IP traffic > passing through it. Yes. > Also, if I use ACLs to model dynamic FDB entries than I will need to "software age > the ACLs... which is at least not ideal. The bridge will do that for you. > Andrew, thanks for all the advice given but I feel like I have to see if the firmware > can be changed to better model the CPU traffic before adding a lot of hacks and > pushing something with the current implementation. Yes. I agree. If the firmware can change, great. If not, you might have to do these hacks. Andrew