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 18:07:04 +0300 Message-ID: <20180524150704.GA20031@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> 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-f193.google.com ([209.85.128.193]:45368 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965880AbeEXPHJ (ORCPT ); Thu, 24 May 2018 11:07:09 -0400 Received: by mail-wr0-f193.google.com with SMTP id w3-v6so3734025wrl.12 for ; Thu, 24 May 2018 08:07:09 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20180524145441.GE5128@lunn.ch> Sender: netdev-owner@vger.kernel.org List-ID: On Thu, May 24, 2018 at 04:54:41PM +0200, Andrew Lunn wrote: > If you cannot get an IP address, it is plain broken. The whole idea is > that switch port interfaces are just linux interfaces. A linux > interface which cannot get an IP address is broken. The switch interfaces can get ip addresses just like every linux interface. The cpu port can't (sw0p0) > > > Similar cases exist for customers on adding MDBs as far as i know. So they want > > the "customer facing ports" to have the MDBs present but not the cpu port. > > That i can understand. And it should actually work now with > switchdev. It performs IGMP snooping, and if there is nothing joining > the group on the CPU, it won't add an MDB entry to forward traffic to > the CPU. Yes, but this should be configurable (i.e the customer can deny adding the MDB on the cpu port) > > > Adding a cpu port that cannot transmit or receive traffic is a bit "weird" > > And how is it supposed to send BPDUs? STP is going to be broken.... Not sure about this, i'll have to check Regards Ilias