Home
last modified time | relevance | path

Searched refs:mac_list (Results 1 – 23 of 23) sorted by relevance

/Linux-v4.19/net/hsr/
Dhsr_framereg.c27 struct list_head mac_list; member
65 mac_list); in hsr_addr_is_self()
86 list_for_each_entry_rcu(node, node_db, mac_list) { in find_node_by_AddrA()
113 struct hsr_node, mac_list); in hsr_create_self_node()
115 list_replace_rcu(&oldnode->mac_list, &node->mac_list); in hsr_create_self_node()
121 list_add_tail_rcu(&node->mac_list, self_node_db); in hsr_create_self_node()
154 list_add_tail_rcu(&node->mac_list, node_db); in hsr_add_node()
174 list_for_each_entry_rcu(node, node_db, mac_list) { in hsr_get_node()
253 list_del_rcu(&node_curr->mac_list); in hsr_handle_sup_frame()
377 list_for_each_entry_rcu(node, &hsr->node_db, mac_list) { in hsr_prune_nodes()
[all …]
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.c605 u8 (*mac_list)[ETH_ALEN]; in esw_update_vport_addr_list() local
618 mac_list = kcalloc(size, ETH_ALEN, GFP_KERNEL); in esw_update_vport_addr_list()
619 if (!mac_list) in esw_update_vport_addr_list()
633 mac_list, &size); in esw_update_vport_addr_list()
640 if (is_uc && !is_valid_ether_addr(mac_list[i])) in esw_update_vport_addr_list()
643 if (!is_uc && !is_multicast_ether_addr(mac_list[i])) in esw_update_vport_addr_list()
646 addr = l2addr_hash_find(hash, mac_list[i], struct vport_addr); in esw_update_vport_addr_list()
656 mac_list[i], in esw_update_vport_addr_list()
661 mac_list[i]); in esw_update_vport_addr_list()
670 addr = l2addr_hash_add(hash, mac_list[i], struct vport_addr, in esw_update_vport_addr_list()
[all …]
/Linux-v4.19/drivers/net/wireless/intersil/prism54/
Dislpci_dev.h56 struct list_head mac_list; /* a list of mac_entry */ member
Disl_ioctl.c1786 INIT_LIST_HEAD(&acl->mac_list); in prism54_acl_init()
1804 for (ptr = acl->mac_list.next, next = ptr->next; in prism54_clear_mac()
1805 ptr != &acl->mac_list; ptr = next, next = ptr->next) { in prism54_clear_mac()
1842 list_add_tail(&entry->_list, &acl->mac_list); in prism54_add_mac()
1863 list_for_each_entry(entry, &acl->mac_list, _list) { in prism54_del_mac()
1890 list_for_each_entry(entry, &acl->mac_list, _list) { in prism54_get_mac()
1968 list_for_each_entry(entry, &acl->mac_list, _list) { in prism54_mac_accept()
/Linux-v4.19/drivers/net/wireless/intersil/p54/
Dfwio.c755 memcpy(grp->mac_list, priv->mc_maclist, sizeof(grp->mac_list)); in p54_set_groupfilter()
759 memset(grp->mac_list, 0, sizeof(grp->mac_list)); in p54_set_groupfilter()
Dlmac.h490 u8 mac_list[MC_FILTER_ADDRESS_NUM][ETH_ALEN]; member
Dmain.c374 ARRAY_SIZE(((struct p54_group_address_table *)NULL)->mac_list)); in p54_prepare_multicast()
/Linux-v4.19/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_hw.c468 list_for_each(head, &adapter->mac_list) { in qlcnic_nic_del_mac()
490 list_for_each(head, &adapter->mac_list) { in qlcnic_nic_add_mac()
512 list_add_tail(&cur->list, &adapter->mac_list); in qlcnic_nic_add_mac()
521 list_for_each_safe(head, tmp, &adapter->mac_list) { in qlcnic_flush_mcast_mac()
622 struct list_head *head = &adapter->mac_list; in qlcnic_82xx_free_mac_list()
Dqlcnic_main.c325 list_for_each(head, &adapter->mac_list) { in qlcnic_delete_adapter_mac()
2554 INIT_LIST_HEAD(&adapter->mac_list); in qlcnic_probe()
Dqlcnic.h1165 struct list_head mac_list; member
Dqlcnic_sriov_common.c2103 struct list_head *head = &adapter->mac_list; in qlcnic_sriov_vf_free_mac_list()
/Linux-v4.19/drivers/net/wireless/intersil/hostap/
Dhostap_ap.h146 struct list_head mac_list; member
Dhostap_ap.c357 return seq_list_start_head(&ap->mac_restrictions.mac_list, *_pos); in ap_control_proc_start()
363 return seq_list_next(v, &ap->mac_restrictions.mac_list, _pos); in ap_control_proc_next()
390 list_add_tail(&entry->list, &mac_restrictions->mac_list); in ap_control_add_mac()
404 for (ptr = mac_restrictions->mac_list.next; in ap_control_del_mac()
405 ptr != &mac_restrictions->mac_list; ptr = ptr->next) { in ap_control_del_mac()
431 list_for_each_entry(entry, &mac_restrictions->mac_list, list) { in ap_control_mac_deny()
455 for (ptr = mac_restrictions->mac_list.next, n = ptr->next; in ap_control_flush_macs()
456 ptr != &mac_restrictions->mac_list; in ap_control_flush_macs()
835 INIT_LIST_HEAD(&ap->mac_restrictions.mac_list); in hostap_init_data()
/Linux-v4.19/drivers/net/ethernet/brocade/bna/
Dbnad.c3132 u8 *mac_list; in bnad_set_rx_ucast_fltr() local
3144 mac_list = kcalloc(ETH_ALEN, uc_count, GFP_ATOMIC); in bnad_set_rx_ucast_fltr()
3145 if (mac_list == NULL) in bnad_set_rx_ucast_fltr()
3150 ether_addr_copy(&mac_list[entry * ETH_ALEN], &ha->addr[0]); in bnad_set_rx_ucast_fltr()
3154 ret = bna_rx_ucast_listset(bnad->rx_info[0].rx, entry, mac_list); in bnad_set_rx_ucast_fltr()
3155 kfree(mac_list); in bnad_set_rx_ucast_fltr()
3174 u8 *mac_list; in bnad_set_rx_mcast_fltr() local
3185 mac_list = kcalloc(mc_count + 1, ETH_ALEN, GFP_ATOMIC); in bnad_set_rx_mcast_fltr()
3187 if (mac_list == NULL) in bnad_set_rx_mcast_fltr()
3190 ether_addr_copy(&mac_list[0], &bnad_bcast_addr[0]); in bnad_set_rx_mcast_fltr()
[all …]
/Linux-v4.19/drivers/net/wireless/marvell/mwifiex/
Dioctl.h44 u8 mac_list[MWIFIEX_MAX_MULTICAST_LIST_SIZE][ETH_ALEN]; member
Dsta_ioctl.c46 memcpy(&mlist->mac_list[i++], ha->addr, ETH_ALEN); in mwifiex_copy_mcast_addr()
Dsta_cmd.c474 memcpy(mcast_addr->mac_list, mcast_list->mac_list, in mwifiex_cmd_mac_multicast_adr()
Dfw.h1123 u8 mac_list[MWIFIEX_MAX_MULTICAST_LIST_SIZE][ETH_ALEN]; member
/Linux-v4.19/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_hw.c648 list_move_tail(head, &adapter->mac_list); in nx_p3_nic_add_mac()
658 list_add_tail(&cur->list, &adapter->mac_list); in nx_p3_nic_add_mac()
678 list_splice_tail_init(&adapter->mac_list, &del_list); in netxen_p3_nic_set_multi()
734 struct list_head *head = &adapter->mac_list; in netxen_p3_free_mac_list()
Dnetxen_nic.h1605 struct list_head mac_list; member
Dnetxen_nic_main.c1512 INIT_LIST_HEAD(&adapter->mac_list); in netxen_nic_probe()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c2000 struct list_head *mac_list = in mac_find_smac_ix_in_slave() local
2004 list_for_each_entry_safe(res, tmp, mac_list, list) { in mac_find_smac_ix_in_slave()
2017 struct list_head *mac_list = in mac_add_to_slave() local
2021 list_for_each_entry_safe(res, tmp, mac_list, list) { in mac_add_to_slave()
2050 struct list_head *mac_list = in mac_del_from_slave() local
2054 list_for_each_entry_safe(res, tmp, mac_list, list) { in mac_del_from_slave()
2070 struct list_head *mac_list = in rem_slave_macs() local
2075 list_for_each_entry_safe(res, tmp, mac_list, list) { in rem_slave_macs()
/Linux-v4.19/drivers/net/ethernet/intel/igb/
Digb_main.c3542 struct vf_mac_filter *mac_list; in igb_enable_sriov() local
3583 mac_list = adapter->vf_mac_list; in igb_enable_sriov()
3589 mac_list->vf = -1; in igb_enable_sriov()
3590 mac_list->free = true; in igb_enable_sriov()
3591 list_add(&mac_list->l, &adapter->vf_macs.l); in igb_enable_sriov()
3592 mac_list++; in igb_enable_sriov()