linux_dsm_epyc7002/drivers/net/ethernet/oki-semi/pch_gbe
Paul Burton 418e7dab0f net: pch_gbe: Clean up pch_gbe_set_multi
Refactor pch_gbe_set_multi in order to avoid unnecessary indentation &
make it clearer what the code is doing.

The one behavioral change from this patch is that we'll no longer
configure the MAC address registers for multicast addresses when the
IFF_PROMISC or IFF_ALLMULTI flags are set. In these cases, just as when
we want to monitor more multicast addresses than we have MAC address
registers, we disable multicast filtering so the MAC address registers
are unused.

Signed-off-by: Paul Burton <paul.burton@mips.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-06-23 20:52:09 +09:00
..
Kconfig pch_gbe: 'select' NET_PTP_CLASSIFY. 2014-09-22 13:25:51 -04:00
Makefile net: pch_gbe: Remove pch_gbe_hal_setup_init_funcs 2018-06-23 20:52:08 +09:00
pch_gbe_ethtool.c net: pch_gbe: Remove dead RINGFREE code 2018-06-23 20:52:08 +09:00
pch_gbe_main.c net: pch_gbe: Clean up pch_gbe_set_multi 2018-06-23 20:52:09 +09:00
pch_gbe_param.c net: Rename NETIF_F_ALL_CSUM to NETIF_F_CSUM_MASK 2015-12-15 16:50:08 -05:00
pch_gbe_phy.c net: pch_gbe: Remove sw_reset_phy HAL abstraction 2018-06-23 20:52:08 +09:00
pch_gbe_phy.h net: pch_gbe: Remove PCH_GBE_MAC_IFOP_RGMII define 2018-06-23 20:52:08 +09:00
pch_gbe.h net: pch_gbe: Remove get_bus_info HAL abstraction 2018-06-23 20:52:08 +09:00