| /drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | eswitch.c | 536 u8 (*mac_list)[ETH_ALEN]; in esw_update_vport_addr_list() local 549 mac_list = kcalloc(size, ETH_ALEN, GFP_KERNEL); in esw_update_vport_addr_list() 550 if (!mac_list) in esw_update_vport_addr_list() 564 mac_list, &size); in esw_update_vport_addr_list() 571 if (is_uc && !is_valid_ether_addr(mac_list[i])) in esw_update_vport_addr_list() 574 if (!is_uc && !is_multicast_ether_addr(mac_list[i])) in esw_update_vport_addr_list() 587 mac_list[i], in esw_update_vport_addr_list() 592 mac_list[i]); in esw_update_vport_addr_list() 601 addr = l2addr_hash_add(hash, mac_list[i], struct vport_addr, in esw_update_vport_addr_list() 606 mac_list[i], vport->vport); in esw_update_vport_addr_list() [all …]
|
| /drivers/net/wireless/intersil/p54/ |
| A D | fwio.c | 752 memcpy(grp->mac_list, priv->mc_maclist, sizeof(grp->mac_list)); in p54_set_groupfilter() 756 memset(grp->mac_list, 0, sizeof(grp->mac_list)); in p54_set_groupfilter()
|
| A D | lmac.h | 487 u8 mac_list[MC_FILTER_ADDRESS_NUM][ETH_ALEN]; member
|
| A D | main.c | 371 ARRAY_SIZE(((struct p54_group_address_table *)NULL)->mac_list)); in p54_prepare_multicast()
|
| /drivers/net/ethernet/brocade/bna/ |
| A D | bnad.c | 3119 u8 *mac_list; in bnad_set_rx_ucast_fltr() local 3131 mac_list = kcalloc(ETH_ALEN, uc_count, GFP_ATOMIC); in bnad_set_rx_ucast_fltr() 3132 if (mac_list == NULL) in bnad_set_rx_ucast_fltr() 3137 ether_addr_copy(&mac_list[entry * ETH_ALEN], &ha->addr[0]); in bnad_set_rx_ucast_fltr() 3142 kfree(mac_list); in bnad_set_rx_ucast_fltr() 3161 u8 *mac_list; in bnad_set_rx_mcast_fltr() local 3172 mac_list = kcalloc(mc_count + 1, ETH_ALEN, GFP_ATOMIC); in bnad_set_rx_mcast_fltr() 3174 if (mac_list == NULL) in bnad_set_rx_mcast_fltr() 3177 ether_addr_copy(&mac_list[0], &bnad_bcast_addr[0]); in bnad_set_rx_mcast_fltr() 3180 bnad_netdev_mc_list_get(netdev, mac_list); in bnad_set_rx_mcast_fltr() [all …]
|
| /drivers/net/ethernet/qlogic/qlcnic/ |
| A D | qlcnic_hw.c | 466 list_for_each_entry(cur, &adapter->mac_list, list) { in qlcnic_nic_del_mac() 486 list_for_each_entry(cur, &adapter->mac_list, list) { in qlcnic_nic_add_mac() 507 list_add_tail(&cur->list, &adapter->mac_list); in qlcnic_nic_add_mac() 516 list_for_each_safe(head, tmp, &adapter->mac_list) { in qlcnic_flush_mcast_mac() 617 struct list_head *head = &adapter->mac_list; in qlcnic_82xx_free_mac_list()
|
| A D | qlcnic_main.c | 322 list_for_each_entry(cur, &adapter->mac_list, list) { in qlcnic_delete_adapter_mac() 2513 INIT_LIST_HEAD(&adapter->mac_list); in qlcnic_probe()
|
| A D | qlcnic.h | 1159 struct list_head mac_list; member
|
| A D | qlcnic_sriov_common.c | 2106 struct list_head *head = &adapter->mac_list; in qlcnic_sriov_vf_free_mac_list()
|
| /drivers/net/ethernet/netronome/nfp/flower/ |
| A D | tunnel_conf.c | 1067 list_del(&repr_priv->mac_list); in nfp_tunnel_offloaded_macs_inc_ref_and_link() 1069 list_add_tail(&repr_priv->mac_list, &entry->repr_list); in nfp_tunnel_offloaded_macs_inc_ref_and_link() 1183 list_del(&repr_priv->mac_list); in nfp_tunnel_del_shared_mac() 1209 mac_list); in nfp_tunnel_del_shared_mac()
|
| A D | main.h | 377 struct list_head mac_list; member
|
| /drivers/net/wireless/marvell/mwifiex/ |
| A D | ioctl.h | 32 u8 mac_list[MWIFIEX_MAX_MULTICAST_LIST_SIZE][ETH_ALEN]; member
|
| A D | sta_cmd.c | 451 memcpy(mcast_addr->mac_list, mcast_list->mac_list, in mwifiex_cmd_mac_multicast_adr()
|
| A D | sta_ioctl.c | 34 memcpy(&mlist->mac_list[i++], ha->addr, ETH_ALEN); in mwifiex_copy_mcast_addr()
|
| A D | fw.h | 1166 u8 mac_list[MWIFIEX_MAX_MULTICAST_LIST_SIZE][ETH_ALEN]; member
|
| /drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
| A D | hclgevf_main.c | 1076 struct list_head *mac_list) in hclgevf_sync_from_add_list() argument 1088 new_node = hclgevf_find_mac_node(mac_list, mac_node->mac_addr); in hclgevf_sync_from_add_list() 1095 list_move_tail(&mac_node->node, mac_list); in hclgevf_sync_from_add_list() 1104 struct list_head *mac_list) in hclgevf_sync_from_del_list() argument 1109 new_node = hclgevf_find_mac_node(mac_list, mac_node->mac_addr); in hclgevf_sync_from_del_list() 1120 list_move_tail(&mac_node->node, mac_list); in hclgevf_sync_from_del_list()
|
| /drivers/net/ethernet/qlogic/netxen/ |
| A D | netxen_nic_hw.c | 632 list_move_tail(head, &adapter->mac_list); in nx_p3_nic_add_mac() 642 list_add_tail(&cur->list, &adapter->mac_list); in nx_p3_nic_add_mac() 662 list_splice_tail_init(&adapter->mac_list, &del_list); in netxen_p3_nic_set_multi() 718 struct list_head *head = &adapter->mac_list; in netxen_p3_free_mac_list()
|
| A D | netxen_nic.h | 1586 struct list_head mac_list; member
|
| A D | netxen_nic_main.c | 1486 INIT_LIST_HEAD(&adapter->mac_list); in netxen_nic_probe()
|
| /drivers/net/ethernet/mellanox/mlx4/ |
| A D | resource_tracker.c | 2010 struct list_head *mac_list = in mac_find_smac_ix_in_slave() local 2014 list_for_each_entry_safe(res, tmp, mac_list, list) { in mac_find_smac_ix_in_slave() 2027 struct list_head *mac_list = in mac_add_to_slave() local 2031 list_for_each_entry_safe(res, tmp, mac_list, list) { in mac_add_to_slave() 2060 struct list_head *mac_list = in mac_del_from_slave() local 2064 list_for_each_entry_safe(res, tmp, mac_list, list) { in mac_del_from_slave() 2080 struct list_head *mac_list = in rem_slave_macs() local 2085 list_for_each_entry_safe(res, tmp, mac_list, list) { in rem_slave_macs()
|
| /drivers/net/ethernet/intel/igb/ |
| A D | igb_main.c | 3761 struct vf_mac_filter *mac_list; in igb_enable_sriov() local 3802 mac_list = adapter->vf_mac_list; in igb_enable_sriov() 3808 mac_list->vf = -1; in igb_enable_sriov() 3809 mac_list->free = true; in igb_enable_sriov() 3810 list_add(&mac_list->l, &adapter->vf_macs.l); in igb_enable_sriov() 3811 mac_list++; in igb_enable_sriov()
|
| /drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| A D | hclge_main.c | 8884 struct list_head *mac_list) in hclge_sync_from_add_list() argument 8901 new_node = hclge_find_mac_node(mac_list, mac_node->mac_addr); in hclge_sync_from_add_list() 8908 list_move_tail(&mac_node->node, mac_list); in hclge_sync_from_add_list() 8919 struct list_head *mac_list) in hclge_sync_from_del_list() argument 8924 new_node = hclge_find_mac_node(mac_list, mac_node->mac_addr); in hclge_sync_from_del_list() 8937 list_move_tail(&mac_node->node, mac_list); in hclge_sync_from_del_list()
|