Home
last modified time | relevance | path

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

12

/linux-6.1.9/net/hsr/
Dhsr_framereg.c44 mac_list); in hsr_addr_is_self()
65 list_for_each_entry_rcu(node, node_db, mac_list) { in find_node_by_addr_A()
92 struct hsr_node, mac_list); in hsr_create_self_node()
94 list_replace_rcu(&oldnode->mac_list, &node->mac_list); in hsr_create_self_node()
98 list_add_tail_rcu(&node->mac_list, self_node_db); in hsr_create_self_node()
111 node = list_first_or_null_rcu(self_node_db, struct hsr_node, mac_list); in hsr_del_self_node()
113 list_del_rcu(&node->mac_list); in hsr_del_self_node()
124 list_for_each_entry_safe(node, tmp, node_db, mac_list) in hsr_del_nodes()
177 list_for_each_entry_rcu(node, node_db, mac_list, in hsr_add_node()
184 list_add_tail_rcu(&new_node->mac_list, node_db); in hsr_add_node()
[all …]
Dhsr_framereg.h71 struct list_head mac_list; member
Dhsr_debugfs.c34 list_for_each_entry_rcu(node, &priv->node_db, mac_list) { in hsr_node_table_show()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.c519 u8 (*mac_list)[ETH_ALEN]; in esw_update_vport_addr_list() local
532 mac_list = kcalloc(size, ETH_ALEN, GFP_KERNEL); in esw_update_vport_addr_list()
533 if (!mac_list) in esw_update_vport_addr_list()
547 mac_list, &size); in esw_update_vport_addr_list()
554 if (is_uc && !is_valid_ether_addr(mac_list[i])) in esw_update_vport_addr_list()
557 if (!is_uc && !is_multicast_ether_addr(mac_list[i])) in esw_update_vport_addr_list()
560 addr = l2addr_hash_find(hash, mac_list[i], struct vport_addr); in esw_update_vport_addr_list()
570 mac_list[i], in esw_update_vport_addr_list()
575 mac_list[i]); in esw_update_vport_addr_list()
584 addr = l2addr_hash_add(hash, mac_list[i], struct vport_addr, in esw_update_vport_addr_list()
[all …]
/linux-6.1.9/drivers/net/wireless/intersil/p54/
Dfwio.c750 memcpy(grp->mac_list, priv->mc_maclist, sizeof(grp->mac_list)); in p54_set_groupfilter()
754 memset(grp->mac_list, 0, sizeof(grp->mac_list)); in p54_set_groupfilter()
Dlmac.h487 u8 mac_list[MC_FILTER_ADDRESS_NUM][ETH_ALEN]; member
Dmain.c371 ARRAY_SIZE(((struct p54_group_address_table *)NULL)->mac_list)); in p54_prepare_multicast()
/linux-6.1.9/drivers/net/ethernet/brocade/bna/
Dbnad.c3116 u8 *mac_list; in bnad_set_rx_ucast_fltr() local
3128 mac_list = kcalloc(ETH_ALEN, uc_count, GFP_ATOMIC); in bnad_set_rx_ucast_fltr()
3129 if (mac_list == NULL) in bnad_set_rx_ucast_fltr()
3134 ether_addr_copy(&mac_list[entry * ETH_ALEN], &ha->addr[0]); in bnad_set_rx_ucast_fltr()
3138 ret = bna_rx_ucast_listset(bnad->rx_info[0].rx, entry, mac_list); in bnad_set_rx_ucast_fltr()
3139 kfree(mac_list); in bnad_set_rx_ucast_fltr()
3158 u8 *mac_list; in bnad_set_rx_mcast_fltr() local
3169 mac_list = kcalloc(mc_count + 1, ETH_ALEN, GFP_ATOMIC); in bnad_set_rx_mcast_fltr()
3171 if (mac_list == NULL) in bnad_set_rx_mcast_fltr()
3174 ether_addr_copy(&mac_list[0], &bnad_bcast_addr[0]); in bnad_set_rx_mcast_fltr()
[all …]
/linux-6.1.9/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_hw.c466 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()
Dqlcnic_main.c323 list_for_each_entry(cur, &adapter->mac_list, list) { in qlcnic_delete_adapter_mac()
2516 INIT_LIST_HEAD(&adapter->mac_list); in qlcnic_probe()
Dqlcnic.h1159 struct list_head mac_list; member
/linux-6.1.9/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-6.1.9/drivers/net/ethernet/netronome/nfp/flower/
Dtunnel_conf.c963 list_del(&repr_priv->mac_list); in nfp_tunnel_offloaded_macs_inc_ref_and_link()
965 list_add_tail(&repr_priv->mac_list, &entry->repr_list); in nfp_tunnel_offloaded_macs_inc_ref_and_link()
1079 list_del(&repr_priv->mac_list); in nfp_tunnel_del_shared_mac()
1105 mac_list); in nfp_tunnel_del_shared_mac()
Dmain.h359 struct list_head mac_list; member
/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/
Dioctl.h32 u8 mac_list[MWIFIEX_MAX_MULTICAST_LIST_SIZE][ETH_ALEN]; member
Dsta_ioctl.c34 memcpy(&mlist->mac_list[i++], ha->addr, ETH_ALEN); in mwifiex_copy_mcast_addr()
Dsta_cmd.c466 memcpy(mcast_addr->mac_list, mcast_list->mac_list, in mwifiex_cmd_mac_multicast_adr()
Dfw.h1119 u8 mac_list[MWIFIEX_MAX_MULTICAST_LIST_SIZE][ETH_ALEN]; member
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c1092 struct list_head *mac_list) in hclgevf_sync_from_add_list() argument
1104 new_node = hclgevf_find_mac_node(mac_list, mac_node->mac_addr); in hclgevf_sync_from_add_list()
1111 list_move_tail(&mac_node->node, mac_list); in hclgevf_sync_from_add_list()
1120 struct list_head *mac_list) in hclgevf_sync_from_del_list() argument
1125 new_node = hclgevf_find_mac_node(mac_list, mac_node->mac_addr); in hclgevf_sync_from_del_list()
1136 list_move_tail(&mac_node->node, mac_list); in hclgevf_sync_from_del_list()
/linux-6.1.9/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_hw.c632 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()
Dnetxen_nic.h1586 struct list_head mac_list; member
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c2010 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()
/linux-6.1.9/drivers/net/ethernet/intel/igb/
Digb_main.c3680 struct vf_mac_filter *mac_list; in igb_enable_sriov() local
3721 mac_list = adapter->vf_mac_list; in igb_enable_sriov()
3727 mac_list->vf = -1; in igb_enable_sriov()
3728 mac_list->free = true; in igb_enable_sriov()
3729 list_add(&mac_list->l, &adapter->vf_macs.l); in igb_enable_sriov()
3730 mac_list++; in igb_enable_sriov()
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c8853 struct list_head *mac_list) in hclge_sync_from_add_list() argument
8870 new_node = hclge_find_mac_node(mac_list, mac_node->mac_addr); in hclge_sync_from_add_list()
8877 list_move_tail(&mac_node->node, mac_list); in hclge_sync_from_add_list()
8888 struct list_head *mac_list) in hclge_sync_from_del_list() argument
8893 new_node = hclge_find_mac_node(mac_list, mac_node->mac_addr); in hclge_sync_from_del_list()
8906 list_move_tail(&mac_node->node, mac_list); in hclge_sync_from_del_list()

12