commit | 846fd8a0e7dcd9f455a86dc17ddf0a51c124f9c0 | [log] [tgz] |
---|---|---|
author | Nogah Frankel <nogahf@mellanox.com> | Wed Sep 20 16:15:08 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Sep 20 18:03:12 2017 -0700 |
tree | de1b090b3087d70108e89562d2d84459b123417c | |
parent | 061e55bfb83e632afcd34130bb19fe7a32325b02 [diff] |
mlxsw: spectrum_switchdev: Don't write mids to the HW when mc is disabled Don't write multicast related data to the HW when mc is disabled. Also, don't allocate mid id to new mids (so the remove function could know that they weren't wrote to the HW) 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>