Home
last modified time | relevance | path

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

/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()
/drivers/net/ethernet/marvell/
Dmvneta.c492 u8 mcast_count[256]; member
1379 memset(pp->mcast_count, 0, sizeof(pp->mcast_count)); in mvneta_set_other_mcast_table()
1382 memset(pp->mcast_count, 1, sizeof(pp->mcast_count)); in mvneta_set_other_mcast_table()
3018 if (pp->mcast_count[crc_result] == 0) { in mvneta_mcast_addr_set()
3024 pp->mcast_count[crc_result]--; in mvneta_mcast_addr_set()
3025 if (pp->mcast_count[crc_result] != 0) { in mvneta_mcast_addr_set()
3028 pp->mcast_count[crc_result], crc_result); in mvneta_mcast_addr_set()
3032 pp->mcast_count[crc_result]++; in mvneta_mcast_addr_set()