Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1661411
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH net-next v2 0/5] net: dsa: add cross-chip VLAN support |
| Date | 2017-06-08 17:50 +0200 |
| Message-ID | <tQ7R7-66J-7@gated-at.bofh.it> (permalink) |
| References | <tPRt0-47t-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Date: Wed, 7 Jun 2017 18:12:12 -0400 > The current code in DSA does not support cross-chip VLAN. This means > that in a multi-chip environment such as this one (similar to ZII Rev B) ... > adding a VLAN to p9 won't be enough to reach the CPU, until at least one > port of sw0 and sw1 join the VLAN as well and become aware of the VID. > > This patchset makes the DSA core program the VLAN on the CPU and DSA > links itself, which brings seamlessly cross-chip VLAN support to DSA. > > With this series applied*, the hardware VLAN tables of a 3-switch setup > look like this after adding a VLAN to only one port of the end switch: ... > Completely removing a VLAN entry (which is currently the responsibility > of drivers anyway) is not supported yet since it requires some caching. > > (*) the output is shown from this out-of-tree debugfs patch: > https://github.com/vivien/linux/commit/7b61a684b9d6b6a499135a587c7f62a1fddceb8b.patch > > Changes in v2: > - canonical incrementation (port++ instead of ++port) > - check CPU and DSA ports before purging a VLAN > - add Reviewed-by tags Series applied, thanks Vivien.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH net-next v2 0/5] net: dsa: add cross-chip VLAN support Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2017-06-08 00:20 +0200 Re: [PATCH net-next v2 0/5] net: dsa: add cross-chip VLAN support David Miller <davem@davemloft.net> - 2017-06-08 17:50 +0200
csiph-web