|
@@ -2019,14 +2019,14 @@ static void efx_set_rx_mode(struct net_device *net_dev)
|
|
|
netdev_for_each_mc_addr(ha, net_dev) {
|
|
|
crc = ether_crc_le(ETH_ALEN, ha->addr);
|
|
|
bit = crc & (EFX_MCAST_HASH_ENTRIES - 1);
|
|
|
- set_bit_le(bit, mc_hash->byte);
|
|
|
+ __set_bit_le(bit, mc_hash);
|
|
|
}
|
|
|
|
|
|
/* Broadcast packets go through the multicast hash filter.
|
|
|
* ether_crc_le() of the broadcast address is 0xbe2612ff
|
|
|
* so we always add bit 0xff to the mask.
|
|
|
*/
|
|
|
- set_bit_le(0xff, mc_hash->byte);
|
|
|
+ __set_bit_le(0xff, mc_hash);
|
|
|
}
|
|
|
|
|
|
if (efx->port_enabled)
|