mlxsw: spectrum: Forbid LAG slave from having VLAN uppers
authorIdo Schimmel <idosch@mellanox.com>
Mon, 20 Jun 2016 21:04:01 +0000 (23:04 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jun 2016 09:02:48 +0000 (05:02 -0400)
commit6ec439043b0dcbd7845b9e268a12daac92ebd190
tree5c66ef8fcfd8a3aa0634a8a7c116121523e66e2d
parent59fe9b3f842751688d9ee180f673314190813be1
mlxsw: spectrum: Forbid LAG slave from having VLAN uppers

When a port netdev is put under LAG it cannot have VLAN upper devices,
so forbid that. The LAG device itself can have VLAN upper devices.

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>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c