linux_dsm_epyc7002/drivers/net/ethernet/mellanox
Ido Schimmel bd40e9d6d5 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>
2015-12-15 11:58:21 -05:00
..
mlx4 net/mlx4_core: Support the HA mode for SRIOV VFs too 2015-12-06 22:40:46 -05:00
mlx5/core net/mlx5e: Rename en_flow_table.c to en_fs.c 2015-12-12 00:15:24 -05:00
mlxsw mlxsw: spectrum: Allocate active VLANs only for port netdevs 2015-12-15 11:58:21 -05:00
Kconfig mlxsw: Introduce Mellanox switch driver core 2015-07-30 00:04:59 -07:00
Makefile mlxsw: Introduce Mellanox switch driver core 2015-07-30 00:04:59 -07:00