]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Remove VLANs configuration via SELF flag
authorIdo Schimmel <idosch@mellanox.com>
Sat, 2 Jul 2016 09:00:10 +0000 (11:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Jul 2016 19:21:17 +0000 (15:21 -0400)
commitb0b0839c516860639c971e304095fb2444be1715
tree7d857eeeb8acd6a188ef8bc8b062b4525f155657
parent0d704b0b9455cd944585d08a57de34d13bf34209
mlxsw: spectrum: Remove VLANs configuration via SELF flag

When port isn't bridged it is still possible to invoke switchdev ops and
configure the device's VLAN filters.

However, this will require us to use different Router InterFaces (RIFs)
for the same netdev, instead of one per-netdev as with any other
configuration.

Taking the above into account and the fact that this functionality is
questionable with regards to the device's normal use-case, remove it and
instead return an error.

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