mlxsw: spectrum: Allow ports to work under OVS master
authorJiri Pirko <jiri@mellanox.com>
Tue, 18 Apr 2017 14:55:37 +0000 (16:55 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Apr 2017 19:32:31 +0000 (15:32 -0400)
commit2b94e58df58c93e5d74714d7cb5ac924e2089118
tree8151bd269ce6f9d8e942c7a3b6f7d8b2206c6a27
parent5be661412762bbef45a55eaf1e6847258d69b3a4
mlxsw: spectrum: Allow ports to work under OVS master

>From now on, a port can become a slave of OVS master. All vlans
are enabled, STP state is set to "forwarding". It is up to the OVS
userspace daemon to setup the flows either in kernel or in HW using TC
flower offload.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c