Thread (20 messages) 20 messages, 4 authors, 2022-02-14

Re: [RFC PATCH net-next 5/5] net: dsa: add explicit support for host bridge VLANs

flat view

From: Vladimir Oltean <vladimir.oltean@nxp.com>
Date: 2022-02-10 15:30:58

On Wed, Feb 09, 2022 at 11:30:43PM +0200, Vladimir Oltean wrote:
quoted hunk ↗ jump to hunk
- It is possible to artificially fill the VLAN table of a switch, by
  walking through the entire VLAN space, adding and deleting them.
  For each VLAN added on a user port, DSA will add it on shared ports
  too, but for each VLAN deletion on a user port, it will remain
  installed on shared ports, since DSA has no good indication of whether
  the VLAN is still in use or not. If the hardware has a limited number
  of VLAN table entries, this may uselessly consume that space.
There's another, more important angle to this which I forgot while I was
writing the commit message. If you don't have a way to delete VLANs on
CPU ports, you have no way of removing yourself from a VLAN with noisy
stations, once you've entered it. I'll make sure to update the commit
message for v2.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help