]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit218a8f8a6379bfd359e58f369b7b7660cd12e865
treecfbd0c7a13884b3e2505dcf69a0b93b0479c9753
parent2e3496cd3488729200ff0f1c6381b7016ecd41bd
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