]> 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)
commita0a702f9507736b6a1ab5f652d2caf8e31f69d63
tree7d857eeeb8acd6a188ef8bc8b062b4525f155657
parentaf518683d4064351e19f25e58ad5688d330688a9
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