/Linux-v4.19/drivers/net/wireless/marvell/libertas_tf/ |
D | main.c | 421 int mc_count = netdev_hw_addr_list_count(mc_list); in lbtf_op_prepare_multicast() local 423 if (!mc_count || mc_count > MRVDRV_MAX_MULTICAST_LIST_SIZE) in lbtf_op_prepare_multicast() 424 return mc_count; in lbtf_op_prepare_multicast() 426 priv->nr_of_multicastmacaddr = mc_count; in lbtf_op_prepare_multicast() 431 return mc_count; in lbtf_op_prepare_multicast()
|
/Linux-v4.19/drivers/net/wireless/intersil/orinoco/ |
D | hw.c | 681 priv->mc_count = 0; in orinoco_hw_program_rids() 1069 int mc_count, int promisc) in __orinoco_hw_set_multicast_list() argument 1088 if (!promisc && (mc_count || priv->mc_count)) { in __orinoco_hw_set_multicast_list() 1094 if (i == mc_count) in __orinoco_hw_set_multicast_list() 1101 HERMES_BYTES_TO_RECLEN(mc_count * ETH_ALEN), in __orinoco_hw_set_multicast_list() 1107 priv->mc_count = mc_count; in __orinoco_hw_set_multicast_list()
|
D | hw.h | 46 int mc_count, int promisc);
|
D | orinoco.h | 142 int promiscuous, mc_count; member
|
D | main.c | 1701 int promisc, mc_count; in __orinoco_set_multicast_list() local 1708 mc_count = 0; in __orinoco_set_multicast_list() 1711 mc_count = netdev_mc_count(dev); in __orinoco_set_multicast_list() 1714 err = __orinoco_hw_set_multicast_list(priv, dev, mc_count, promisc); in __orinoco_set_multicast_list()
|
/Linux-v4.19/drivers/net/ethernet/3com/ |
D | 3c509.c | 983 int mc_count = netdev_mc_count(dev); in set_multicast_list() local 987 if (old != mc_count) { in set_multicast_list() 988 old = mc_count; in set_multicast_list() 990 dev->name, mc_count); in set_multicast_list() 998 else if (mc_count || (dev->flags&IFF_ALLMULTI)) { in set_multicast_list()
|
/Linux-v4.19/drivers/net/fddi/ |
D | defxx.c | 1482 bp->mc_count = 0; in dfx_open() 2299 bp->mc_count = 0; /* Don't add mc addrs to CAM */ in dfx_ctl_set_multicast_list() 2304 bp->mc_count = netdev_mc_count(dev); /* Add mc addrs to CAM */ in dfx_ctl_set_multicast_list() 2320 …DBG_printk("%s: Multicast address table updated! Added %d addresses.\n", dev->name, bp->mc_count); in dfx_ctl_set_multicast_list() 2396 if ((bp->uc_count + bp->mc_count) > PI_CMD_ADDR_FILTER_K_SIZE) in dfx_ctl_set_mac_address() 2399 bp->mc_count = 0; /* Don't add mc addrs to CAM */ in dfx_ctl_set_mac_address() 2495 for (i=0; i < (int)bp->mc_count; i++) in dfx_ctl_update_cam()
|
/Linux-v4.19/drivers/net/ethernet/cisco/enic/ |
D | enic.h | 164 unsigned int mc_count; member
|
D | enic_main.c | 942 if (enic->mc_count == ENIC_MULTICAST_PERFECT_FILTERS) { in enic_mc_sync() 943 unsigned int mc_count = netdev_mc_count(netdev); in enic_mc_sync() local 946 ENIC_MULTICAST_PERFECT_FILTERS, mc_count); in enic_mc_sync() 952 enic->mc_count++; in enic_mc_sync() 962 enic->mc_count--; in enic_mc_unsync() 1003 enic->mc_count = 0; in enic_reset_addr_lists()
|
/Linux-v4.19/drivers/infiniband/hw/nes/ |
D | nes_nic.c | 873 int mc_count = netdev_mc_count(netdev); in nes_netdev_set_multicast_list() local 900 mc_count, !!(netdev->flags & IFF_PROMISC), in nes_netdev_set_multicast_list() 907 addrs = kmalloc_array(mc_count, ETH_ALEN, GFP_ATOMIC); in nes_netdev_set_multicast_list() 920 while (i < mc_count && nesvnic->mcrq_mcast_filter && in nes_netdev_set_multicast_list() 937 if (i < mc_count) { in nes_netdev_set_multicast_list() 971 if (i < mc_count) in nes_netdev_set_multicast_list()
|
/Linux-v4.19/net/mac80211/ |
D | trace.h | 476 TP_PROTO(struct ieee80211_local *local, int mc_count), 478 TP_ARGS(local, mc_count), 482 __field(int, mc_count) 487 __entry->mc_count = mc_count; 492 LOCAL_PR_ARG, __entry->mc_count
|
/Linux-v4.19/drivers/net/wireless/ |
D | rndis_wlan.c | 1597 int mc_count; in set_multicast_list() local 1617 mc_count = netdev_mc_count(usbdev->net); in set_multicast_list() 1618 if (mc_count > priv->multicast_size) { in set_multicast_list() 1620 } else if (mc_count) { in set_multicast_list() 1623 mc_addrs = kmalloc_array(mc_count, ETH_ALEN, GFP_ATOMIC); in set_multicast_list() 1638 if (mc_count) { in set_multicast_list() 1641 mc_addrs, mc_count * ETH_ALEN); in set_multicast_list() 1649 mc_count, priv->multicast_size, ret); in set_multicast_list()
|
/Linux-v4.19/include/linux/ |
D | inetdevice.h | 34 int mc_count; /* Number of installed mcasts */ member
|
/Linux-v4.19/drivers/net/ethernet/qlogic/qede/ |
D | qede_filter.c | 1209 int rc = 0, mc_count; in qede_configure_mcast_filtering() local 1232 mc_count = netdev_mc_count(ndev); in qede_configure_mcast_filtering() 1233 if (mc_count < 64) { in qede_configure_mcast_filtering() 1243 if ((ndev->flags & IFF_ALLMULTI) || (mc_count > 64)) { in qede_configure_mcast_filtering() 1249 mc_macs, mc_count); in qede_configure_mcast_filtering()
|
/Linux-v4.19/drivers/net/ethernet/dec/tulip/ |
D | dmfe.c | 1053 int mc_count = netdev_mc_count(dev); in dmfe_set_filter_mode() local 1066 if (dev->flags & IFF_ALLMULTI || mc_count > DMFE_MAX_MULTICAST) { in dmfe_set_filter_mode() 1067 DMFE_DBUG(0, "Pass all multicast address", mc_count); in dmfe_set_filter_mode() 1074 DMFE_DBUG(0, "Set multicast address", mc_count); in dmfe_set_filter_mode()
|
/Linux-v4.19/net/ipv4/ |
D | igmp.c | 1356 if (in_dev->mc_count < 4) in ip_mc_hash_add() 1424 in_dev->mc_count++; in __ip_mc_inc_group() 1661 in_dev->mc_count--; in ip_mc_dec_group() 1784 in_dev->mc_count--; in ip_mc_destroy_dev() 2834 state->dev->ifindex, state->dev->name, state->in_dev->mc_count, querier); in igmp_mc_seq_show()
|
/Linux-v4.19/drivers/net/ethernet/cavium/liquidio/ |
D | lio_vf_main.c | 1062 int mc_count = min(netdev_mc_count(netdev), MAX_OCTEON_MULTICAST_ADDR); in liquidio_set_mcast_list() local 1076 nctrl.ncmd.s.param2 = mc_count; in liquidio_set_mcast_list() 1077 nctrl.ncmd.s.more = mc_count; in liquidio_set_mcast_list() 1087 if (++mc > &nctrl.udd[mc_count]) in liquidio_set_mcast_list()
|
D | lio_main.c | 1989 int mc_count = min(netdev_mc_count(netdev), MAX_OCTEON_MULTICAST_ADDR); in liquidio_set_mcast_list() local 1997 nctrl.ncmd.s.param2 = mc_count; in liquidio_set_mcast_list() 1998 nctrl.ncmd.s.more = mc_count; in liquidio_set_mcast_list() 2010 if (++mc > &nctrl.udd[mc_count]) in liquidio_set_mcast_list()
|
/Linux-v4.19/drivers/net/ |
D | virtio_net.c | 1771 int mc_count; in virtnet_set_rx_mode() local 1797 mc_count = netdev_mc_count(dev); in virtnet_set_rx_mode() 1799 buf = kzalloc(((uc_count + mc_count) * ETH_ALEN) + in virtnet_set_rx_mode() 1819 mac_data->entries = cpu_to_virtio32(vi->vdev, mc_count); in virtnet_set_rx_mode() 1825 sizeof(mac_data->entries) + (mc_count * ETH_ALEN)); in virtnet_set_rx_mode()
|
/Linux-v4.19/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_main.c | 2109 int mc_count, i; in pch_gbe_set_multi() local 2124 mc_count = netdev_mc_count(netdev); in pch_gbe_set_multi() 2125 if ((netdev->flags & IFF_ALLMULTI) || mc_count >= PCH_GBE_MAR_ENTRIES) in pch_gbe_set_multi() 2157 ioread32(&hw->reg->RX_MODE), mc_count); in pch_gbe_set_multi()
|
/Linux-v4.19/drivers/net/wireless/ath/ath6kl/ |
D | main.c | 1154 int mc_count = netdev_mc_count(ndev); in ath6kl_set_multicast_list() local 1168 !!(mc_count > ATH6K_MAX_MC_FILTERS_PER_LIST); in ath6kl_set_multicast_list()
|
/Linux-v4.19/drivers/net/wireless/marvell/ |
D | mwl8k.c | 2678 int mc_count = 0; in __mwl8k_cmd_mac_multicast_adr() local 2681 mc_count = netdev_hw_addr_list_count(mc_list); in __mwl8k_cmd_mac_multicast_adr() 2683 if (allmulti || mc_count > priv->num_mcaddrs) { in __mwl8k_cmd_mac_multicast_adr() 2685 mc_count = 0; in __mwl8k_cmd_mac_multicast_adr() 2688 size = sizeof(*cmd) + mc_count * ETH_ALEN; in __mwl8k_cmd_mac_multicast_adr() 2701 } else if (mc_count) { in __mwl8k_cmd_mac_multicast_adr() 2706 cmd->numaddr = cpu_to_le16(mc_count); in __mwl8k_cmd_mac_multicast_adr()
|
/Linux-v4.19/drivers/staging/fsl-dpaa2/ethernet/ |
D | dpaa2-eth.c | 1259 int mc_count = netdev_mc_count(net_dev); in dpaa2_eth_set_rx_mode() local 1279 if (mc_count + uc_count > max_mac) { in dpaa2_eth_set_rx_mode() 1282 uc_count + mc_count, max_mac); in dpaa2_eth_set_rx_mode()
|
/Linux-v4.19/drivers/staging/ks7010/ |
D | ks_hostif.c | 1833 int mc_count; in hostif_sme_multicast_set() local 1856 mc_count = netdev_mc_count(dev); in hostif_sme_multicast_set() 1864 ETH_ALEN * mc_count); in hostif_sme_multicast_set()
|
/Linux-v4.19/drivers/net/ethernet/brocade/bna/ |
D | bnad.c | 3172 int mc_count = netdev_mc_count(netdev); in bnad_set_rx_mcast_fltr() local 3182 if (mc_count > bna_attr(&bnad->bna)->num_mcmac) in bnad_set_rx_mcast_fltr() 3185 mac_list = kcalloc(mc_count + 1, ETH_ALEN, GFP_ATOMIC); in bnad_set_rx_mcast_fltr() 3194 ret = bna_rx_mcast_listset(bnad->rx_info[0].rx, mc_count + 1, mac_list); in bnad_set_rx_mcast_fltr()
|