]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita38695e2c581b68295a8d3e3afae9d28caed63f3
tree5fc82475bd36c98dbcc09f80e07df1cbdb62ba39
parent2a6f463c3affed5027d968ef0a07c6f15c2f6ae5
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