Searched hist:"7 a1c3821" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/faraday/ |
H A D | ftmac100.c | 7a1c3821 Tue Aug 08 07:43:07 CDT 2023 Sergei Antonov <saproj@gmail.com> net: ftmac100: add multicast filtering possibility
If netdev_mc_count() is not zero and not IFF_ALLMULTI, filter incoming multicast packets. The chip has a Multicast Address Hash Table for allowed multicast addresses, so we fill it.
Implement .ndo_set_rx_mode and recalculate multicast hash table. Also observe change of IFF_PROMISC and IFF_ALLMULTI netdev flags.
Signed-off-by: Sergei Antonov <saproj@gmail.com> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|