mlxsw: spectrum: Update mc_disabled flag by switchdev attr
authorNogah Frankel <nogahf@mellanox.com>
Thu, 9 Feb 2017 13:54:49 +0000 (14:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Feb 2017 16:46:41 +0000 (11:46 -0500)
commit90e0f0c1b4f2baa3639f957bfe904c9eda0d4db4
tree5fc82475bd36c98dbcc09f80e07df1cbdb62ba39
parent1e5d94327dfb0d3b877bb2a44328c0978734cfc2
mlxsw: spectrum: Update mc_disabled flag by switchdev attr

Add a function to update mc_disabled from switchdev attr
SWITCHDEV_ATTR_ID_BRIDGE_MC_DISABLED

Signed-off-by: Nogah Frankel <nogahf@mellanox.com>
Signed-off-by: Yotam Gigi <yotamg@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_switchdev.c