diff options
| author | Ido Schimmel <idosch@mellanox.com> | 2015-12-15 18:03:36 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2015-12-15 19:58:21 +0300 |
| commit | bd40e9d6d5386d08ae1e54f28444f3e98c23485c (patch) | |
| tree | 8878f3e56aa8207ab6b2978fe16f324356d0cea3 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 6ff64f6f9242d7e50f3e99cb280f69d1927a5fa6 (diff) | |
| download | linux-bd40e9d6d5386d08ae1e54f28444f3e98c23485c.tar.xz | |
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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
