diff options
author | Nogah Frankel <nogahf@mellanox.com> | 2017-09-20 16:15:08 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-20 18:03:12 -0700 |
commit | 846fd8a0e7dcd9f455a86dc17ddf0a51c124f9c0 (patch) | |
tree | de1b090b3087d70108e89562d2d84459b123417c /drivers/net/dsa | |
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>
Diffstat (limited to 'drivers/net/dsa')
0 files changed, 0 insertions, 0 deletions