All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jiri Pirko <jiri@resnulli.us>
To: Florian Fainelli <f.fainelli@gmail.com>
Cc: netdev@vger.kernel.org, davem@davemloft.net,
	bridge@lists.linux-foundation.org, stephen@networkplumber.org,
	vivien.didelot@savoirfairelinux.com, andrew@lunn.ch,
	jiri@mellanox.com, idosch@mellanox.com
Subject: Re: [RFC net-next 0/3] net: bridge: Allow CPU port configuration
Date: Tue, 22 Nov 2016 13:49:36 +0100	[thread overview]
Message-ID: <20161122124936.GA1819@nanopsycho> (raw)
In-Reply-To: <20161121190925.14530-1-f.fainelli@gmail.com>

Mon, Nov 21, 2016 at 08:09:22PM CET, f.fainelli@gmail.com wrote:
>Hi all,
>
>This patch series allows using the bridge master interface to configure
>an Ethernet switch port's CPU/management port with different VLAN attributes than
>those of the bridge downstream ports/members.
>
>Jiri, Ido, Andrew, Vivien, please review the impact on mlxsw and mv88e6xxx, I
>tested this with b53 and a mockup DSA driver.

Patchset looks fine to me.

>
>Open questions:
>
>- if we have more than one bridge on top of a physical switch, the driver
>  should keep track of that and verify that we are not going to change
>  the CPU port VLAN attributes in a way that results in incompatible settings
>  to be applied

Ack. In mlxsw this is tracked


>
>- if the default behavior is to have all VLANs associated with the CPU port
>  be ingressing/egressing tagged to the CPU, is this really useful?
>
>Florian Fainelli (3):
>  net: bridge: Allow bridge master device to configure switch CPU port
>  net: dsa: Propagate VLAN add/del to CPU port(s)
>  net: dsa: b53: Remove CPU port specific VLAN programming
>
> drivers/net/dsa/b53/b53_common.c | 22 ++++++--------------
> net/bridge/br_vlan.c             | 28 ++++++++++++++++++++++---
> net/dsa/slave.c                  | 45 +++++++++++++++++++++++++++++-----------
> 3 files changed, 64 insertions(+), 31 deletions(-)
>
>-- 
>2.9.3
>

  parent reply	other threads:[~2016-11-22 12:49 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-21 19:09 [Bridge] [RFC net-next 0/3] net: bridge: Allow CPU port configuration Florian Fainelli
2016-11-21 19:09 ` Florian Fainelli
2016-11-21 19:09 ` [Bridge] [RFC net-next 1/3] net: bridge: Allow bridge master device to configure switch CPU port Florian Fainelli
2016-11-21 19:09   ` Florian Fainelli
2016-11-22 15:46   ` [Bridge] " Vivien Didelot
2016-11-22 15:46     ` Vivien Didelot
2016-11-24  1:49     ` [Bridge] " Toshiaki Makita
2016-11-24  1:49       ` Toshiaki Makita
2016-11-21 19:09 ` [Bridge] [RFC net-next 2/3] net: dsa: Propagate VLAN add/del to CPU port(s) Florian Fainelli
2016-11-21 19:09   ` Florian Fainelli
2016-11-22 16:50   ` [Bridge] " Vivien Didelot
2016-11-22 16:50     ` Vivien Didelot
2016-11-28  4:30     ` [Bridge] " Florian Fainelli
2016-11-28  4:30       ` Florian Fainelli
2016-11-21 19:09 ` [Bridge] [RFC net-next 3/3] net: dsa: b53: Remove CPU port specific VLAN programming Florian Fainelli
2016-11-21 19:09   ` Florian Fainelli
2016-11-22 12:49 ` Jiri Pirko [this message]
2016-11-22 15:29 ` [Bridge] [RFC net-next 0/3] net: bridge: Allow CPU port configuration Vivien Didelot
2016-11-22 15:29   ` Vivien Didelot
2016-11-22 17:41 ` [Bridge] " Ido Schimmel
2016-11-22 17:41   ` Ido Schimmel
2016-11-22 17:48   ` Andrew Lunn
2016-11-22 22:08     ` Jiri Pirko
2016-11-23  0:24       ` [Bridge] " Florian Fainelli
2016-11-23  0:24         ` Florian Fainelli
2016-11-23  8:21         ` Jiri Pirko
2016-11-22 17:56   ` [Bridge] " Florian Fainelli
2016-11-22 17:56     ` Florian Fainelli
2016-11-23 13:48     ` [Bridge] " Ido Schimmel
2016-11-23 13:48       ` Ido Schimmel
2016-12-01 20:21       ` [Bridge] " Florian Fainelli
2016-12-01 20:21         ` Florian Fainelli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161122124936.GA1819@nanopsycho \
    --to=jiri@resnulli.us \
    --cc=andrew@lunn.ch \
    --cc=bridge@lists.linux-foundation.org \
    --cc=davem@davemloft.net \
    --cc=f.fainelli@gmail.com \
    --cc=idosch@mellanox.com \
    --cc=jiri@mellanox.com \
    --cc=netdev@vger.kernel.org \
    --cc=stephen@networkplumber.org \
    --cc=vivien.didelot@savoirfairelinux.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.