diff options
| author | Ido Schimmel <idosch@mellanox.com> | 2015-12-15 16:03:36 +0100 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2015-12-15 11:58:21 -0500 |
| commit | bd40e9d6d5386d08ae1e54f28444f3e98c23485c (patch) | |
| tree | 8878f3e56aa8207ab6b2978fe16f324356d0cea3 /scripts/gdb/linux/tasks.py | |
| parent | 6ff64f6f9242d7e50f3e99cb280f69d1927a5fa6 (diff) | |
mlxsw: spectrum: Allocate active VLANs only for port netdevs
When adding support for bridges between VLAN interfaces, we'll introduce
a new entity called a vPort, which is a represntation of the VLAN
interface in the hardware.
The main difference between a vPort and a physical port is that several
FIDs can be bound to the latter, whereas only one (called a vFID) can be
bound to the first.
Therefore, it makes sense to use the same struct to represent the two,
but to only allocate the 'active_vlans' bitmap in case of a physical
port.
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions
