From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ilias Apalodimas Subject: Re: [PATCH 0/4] RFC CPSW switchdev mode Date: Thu, 24 May 2018 19:02:54 +0300 Message-ID: <20180524160254.GA22461@apalos> References: <1527144984-31236-1-git-send-email-ilias.apalodimas@linaro.org> <20180524080528.GD2295@nanopsycho> <20180524084831.GA2759@apalos> <20180524125431.GB24557@lunn.ch> <7437d485-1eac-9619-3827-5af9b32b939e@redhat.com> <20180524140831.GA16793@apalos> <20180524145441.GE5128@lunn.ch> <20180524150704.GA20031@apalos> <20180524152559.GF5128@lunn.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Ivan Vecera , Jiri Pirko , netdev@vger.kernel.org, grygorii.strashko@ti.com, ivan.khoronzhuk@linaro.org, nsekhar@ti.com, francois.ozog@linaro.org, yogeshs@ti.com, spatton@ti.com To: Andrew Lunn Return-path: Received: from mail-wr0-f182.google.com ([209.85.128.182]:34547 "EHLO mail-wr0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030215AbeEXQC7 (ORCPT ); Thu, 24 May 2018 12:02:59 -0400 Received: by mail-wr0-f182.google.com with SMTP id j1-v6so4108270wrm.1 for ; Thu, 24 May 2018 09:02:59 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20180524152559.GF5128@lunn.ch> Sender: netdev-owner@vger.kernel.org List-ID: On Thu, May 24, 2018 at 05:25:59PM +0200, Andrew Lunn wrote: > O.K, back to the basic idea. Switch ports are just normal Linux > interfaces. > > How would you configure this with two e1000e put in a bridge? I want > multicast to be bridged between the two e1000e, but the host stack > should not see the packets. I am not sure i am following. I might be missing something. In your case you got two ethernet pci/pcie interfaces bridged through software. You can filter those if needed. In the case we are trying to cover, you got a hardware that offers that capability. Since not all switches are pcie based shouldn't we be able to allow this ? Regards Ilias