]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_switchdev: Use generic mc flood function
authorNogah Frankel <nogahf@mellanox.com>
Wed, 20 Sep 2017 14:15:10 +0000 (16:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Sep 2017 01:03:12 +0000 (18:03 -0700)
commit96864fc375fe5deb6b9968c0f2e3c0298f48a9b5
treecfbd0c7a13884b3e2505dcf69a0b93b0479c9753
parent969463a8449832c8ccf747f9ab7289af67658413
mlxsw: spectrum_switchdev: Use generic mc flood function

Use the generic mc flood function to decide whether to flood mc to a port
when mc is being enabled / disabled.
Move this function in the file to avoid forward declaration.

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