ionic: use mc sync for multicast filters
authorShannon Nelson <snelson@pensando.io>
Thu, 12 Nov 2020 18:22:05 +0000 (10:22 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Dec 2020 10:53:10 +0000 (11:53 +0100)
commit68684d55e57845c1265a6c5f5133aaf716c17667
tree3f2218623ae68749d40e8ff4ae32c711e4317272
parent91a5950181d1e4d4558311d64f54763679aaaa90
ionic: use mc sync for multicast filters

[ Upstream commit e0243e1966592859da4c6ffe6d43e1576ec3c457 ]

We should be using the multicast sync routines for the multicast
filters.  Also, let's just flatten the logic a bit and pull
the small unicast routine back into ionic_set_rx_mode().

Fixes: 1800eee16676 ("net: ionic: Replace in_interrupt() usage.")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/pensando/ionic/ionic_lif.c