]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_switchdev: Disable mdb when mc is disabled
authorNogah Frankel <nogahf@mellanox.com>
Wed, 20 Sep 2017 14:15:09 +0000 (16:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Sep 2017 01:03:12 +0000 (18:03 -0700)
commit969463a8449832c8ccf747f9ab7289af67658413
tree1d92e62ea9b51e26c3579bcae9ddd3f56920256b
parent2533398c47cf91fa45122c7c99f3c27a557ac28b
mlxsw: spectrum_switchdev: Disable mdb when mc is disabled

Remove all the mdb entries from the HW when mc is being disabled and
re-write them when it is being enabled.

Signed-off-by: Nogah Frankel <nogahf@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