Home
last modified time | relevance | path

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

/drivers/net/ethernet/cisco/enic/
Denic.h165 unsigned int uc_count; member
Denic_main.c971 if (enic->uc_count == ENIC_UNICAST_PERFECT_FILTERS) { in enic_uc_sync()
972 unsigned int uc_count = netdev_uc_count(netdev); in enic_uc_sync() local
975 ENIC_UNICAST_PERFECT_FILTERS, uc_count); in enic_uc_sync()
981 enic->uc_count++; in enic_uc_sync()
991 enic->uc_count--; in enic_uc_unsync()
1004 enic->uc_count = 0; in enic_reset_addr_lists()
/drivers/net/fddi/
Ddefxx.c1481 bp->uc_count = 0; in dfx_open()
2296 if (netdev_mc_count(dev) > (PI_CMD_ADDR_FILTER_K_SIZE - bp->uc_count)) in dfx_ctl_set_multicast_list()
2382 bp->uc_count = 1; in dfx_ctl_set_mac_address()
2396 if ((bp->uc_count + bp->mc_count) > PI_CMD_ADDR_FILTER_K_SIZE) in dfx_ctl_set_mac_address()
2484 for (i=0; i < (int)bp->uc_count; i++) in dfx_ctl_update_cam()
2497 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.c1273 int rc, uc_count; in qede_config_rx_mode() local
1278 uc_count = netdev_uc_count(ndev); in qede_config_rx_mode()
1279 size = uc_count * ETH_ALEN; in qede_config_rx_mode()
1315 if (uc_count < edev->dev_info.num_mac_filters) { in qede_config_rx_mode()
1319 for (i = 0; i < uc_count; i++) { in qede_config_rx_mode()
/drivers/net/
Dvirtio_net.c1822 int uc_count; in virtnet_set_rx_mode() local
1848 uc_count = netdev_uc_count(dev); in virtnet_set_rx_mode()
1851 buf = kzalloc(((uc_count + mc_count) * ETH_ALEN) + in virtnet_set_rx_mode()
1860 mac_data->entries = cpu_to_virtio32(vi->vdev, uc_count); in virtnet_set_rx_mode()
1866 sizeof(mac_data->entries) + (uc_count * ETH_ALEN)); in virtnet_set_rx_mode()
1869 mac_data = (void *)&mac_data->macs[uc_count][0]; in virtnet_set_rx_mode()
/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.c1519 int uc_count = netdev_uc_count(net_dev); in dpaa2_eth_set_rx_mode() local
1534 if (uc_count > max_mac) { in dpaa2_eth_set_rx_mode()
1537 uc_count, max_mac); in dpaa2_eth_set_rx_mode()
1540 if (mc_count + uc_count > max_mac) { in dpaa2_eth_set_rx_mode()
1543 uc_count + mc_count, max_mac); in dpaa2_eth_set_rx_mode()
/drivers/net/ethernet/brocade/bna/
Dbnad.c3122 int uc_count = netdev_uc_count(netdev); in bnad_set_rx_ucast_fltr() local
3133 if (uc_count > bna_attr(&bnad->bna)->num_ucmac) in bnad_set_rx_ucast_fltr()
3136 mac_list = kcalloc(ETH_ALEN, uc_count, GFP_ATOMIC); in bnad_set_rx_ucast_fltr()