Home
last modified time | relevance | path

Searched refs:mcast_count (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/actions/
Dowl-emac.c1132 int mcast_count = 0; in owl_emac_ndo_set_rx_mode() local
1139 mcast_count = netdev_mc_count(netdev); in owl_emac_ndo_set_rx_mode()
1141 if (mcast_count > OWL_EMAC_MAX_MULTICAST_ADDRS) { in owl_emac_ndo_set_rx_mode()
1143 mcast_count = 0; in owl_emac_ndo_set_rx_mode()
1163 owl_emac_set_multicast(netdev, mcast_count); in owl_emac_ndo_set_rx_mode()
/linux-6.12.1/drivers/net/ethernet/marvell/
Dmvneta.c527 u8 mcast_count[256]; member
1416 memset(pp->mcast_count, 0, sizeof(pp->mcast_count)); in mvneta_set_other_mcast_table()
1419 memset(pp->mcast_count, 1, sizeof(pp->mcast_count)); in mvneta_set_other_mcast_table()
3151 if (pp->mcast_count[crc_result] == 0) { in mvneta_mcast_addr_set()
3157 pp->mcast_count[crc_result]--; in mvneta_mcast_addr_set()
3158 if (pp->mcast_count[crc_result] != 0) { in mvneta_mcast_addr_set()
3161 pp->mcast_count[crc_result], crc_result); in mvneta_mcast_addr_set()
3165 pp->mcast_count[crc_result]++; in mvneta_mcast_addr_set()