Home
last modified time | relevance | path

Searched refs:uc_count (Results 1 – 8 of 8) sorted by relevance

/drivers/net/ethernet/cisco/enic/
Denic.h163 unsigned int uc_count; member
Denic_main.c939 if (enic->uc_count == ENIC_UNICAST_PERFECT_FILTERS) { in enic_uc_sync()
940 unsigned int uc_count = netdev_uc_count(netdev); in enic_uc_sync() local
943 ENIC_UNICAST_PERFECT_FILTERS, uc_count); in enic_uc_sync()
949 enic->uc_count++; in enic_uc_sync()
959 enic->uc_count--; in enic_uc_unsync()
972 enic->uc_count = 0; in enic_reset_addr_lists()
/drivers/net/fddi/
Ddefxx.c1494 bp->uc_count = 0; in dfx_open()
2309 if (netdev_mc_count(dev) > (PI_CMD_ADDR_FILTER_K_SIZE - bp->uc_count)) in dfx_ctl_set_multicast_list()
2395 bp->uc_count = 1; in dfx_ctl_set_mac_address()
2409 if ((bp->uc_count + bp->mc_count) > PI_CMD_ADDR_FILTER_K_SIZE) in dfx_ctl_set_mac_address()
2497 for (i=0; i < (int)bp->uc_count; i++) in dfx_ctl_update_cam()
2510 if ((i + bp->uc_count) < PI_CMD_ADDR_FILTER_K_SIZE) in dfx_ctl_update_cam()
Ddefxx.h1742 u32 uc_count; /* number of unicast addresses */ member
/drivers/net/ethernet/qlogic/qede/
Dqede_filter.c1200 int rc, uc_count; in qede_config_rx_mode() local
1205 uc_count = netdev_uc_count(ndev); in qede_config_rx_mode()
1206 size = uc_count * ETH_ALEN; in qede_config_rx_mode()
1242 if (uc_count < edev->dev_info.num_mac_filters) { in qede_config_rx_mode()
1246 for (i = 0; i < uc_count; i++) { in qede_config_rx_mode()
/drivers/net/
Dvirtio_net.c1949 int uc_count; in virtnet_set_rx_mode() local
1975 uc_count = netdev_uc_count(dev); in virtnet_set_rx_mode()
1978 buf = kzalloc(((uc_count + mc_count) * ETH_ALEN) + in virtnet_set_rx_mode()
1987 mac_data->entries = cpu_to_virtio32(vi->vdev, uc_count); in virtnet_set_rx_mode()
1993 sizeof(mac_data->entries) + (uc_count * ETH_ALEN)); in virtnet_set_rx_mode()
1996 mac_data = (void *)&mac_data->macs[uc_count][0]; in virtnet_set_rx_mode()
/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.c1966 int uc_count = netdev_uc_count(net_dev); in dpaa2_eth_set_rx_mode() local
1981 if (uc_count > max_mac) { in dpaa2_eth_set_rx_mode()
1984 uc_count, max_mac); in dpaa2_eth_set_rx_mode()
1987 if (mc_count + uc_count > max_mac) { in dpaa2_eth_set_rx_mode()
1990 uc_count + mc_count, max_mac); in dpaa2_eth_set_rx_mode()
/drivers/net/ethernet/brocade/bna/
Dbnad.c3117 int uc_count = netdev_uc_count(netdev); in bnad_set_rx_ucast_fltr() local
3128 if (uc_count > bna_attr(&bnad->bna)->num_ucmac) in bnad_set_rx_ucast_fltr()
3131 mac_list = kcalloc(ETH_ALEN, uc_count, GFP_ATOMIC); in bnad_set_rx_ucast_fltr()