Home
last modified time | relevance | path

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

12

/linux-6.12.1/net/hsr/
Dhsr_framereg.c74 list_for_each_entry_rcu(node, node_db, mac_list) { in find_node_by_addr_A()
133 list_for_each_entry_safe(node, tmp, node_db, mac_list) in hsr_del_nodes()
186 list_for_each_entry_rcu(node, node_db, mac_list, in hsr_add_node()
193 list_add_tail_rcu(&new_node->mac_list, node_db); in hsr_add_node()
229 list_for_each_entry_rcu(node, node_db, mac_list) { in hsr_get_node()
243 list_for_each_entry_rcu(node, &hsr->proxy_node_db, mac_list) { in hsr_get_node()
395 list_del_rcu(&node_curr->mac_list); in hsr_handle_sup_frame()
535 list_for_each_entry_safe(node, tmp, &hsr->node_db, mac_list) { in hsr_prune_nodes()
579 list_del_rcu(&node->mac_list); in hsr_prune_nodes()
601 list_for_each_entry_safe(node, tmp, &hsr->proxy_node_db, mac_list) { in hsr_prune_proxy_nodes()
[all …]
Dhsr_framereg.h77 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()
Dhsr_device.c433 list_for_each_entry_rcu(node, &hsr->proxy_node_db, mac_list) { in hsr_proxy_announce()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.c536 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()
577 addr = l2addr_hash_find(hash, mac_list[i], struct vport_addr); 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()
[all …]
/linux-6.12.1/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.12.1/drivers/net/ethernet/brocade/bna/
Dbnad.c3114 u8 *mac_list; in bnad_set_rx_ucast_fltr() local
3126 mac_list = kcalloc(ETH_ALEN, uc_count, GFP_ATOMIC); in bnad_set_rx_ucast_fltr()
3127 if (mac_list == NULL) in bnad_set_rx_ucast_fltr()
3132 ether_addr_copy(&mac_list[entry * ETH_ALEN], &ha->addr[0]); in bnad_set_rx_ucast_fltr()
3136 ret = bna_rx_ucast_listset(bnad->rx_info[0].rx, entry, mac_list); in bnad_set_rx_ucast_fltr()
3137 kfree(mac_list); in bnad_set_rx_ucast_fltr()
3156 u8 *mac_list; in bnad_set_rx_mcast_fltr() local
3167 mac_list = kcalloc(mc_count + 1, ETH_ALEN, GFP_ATOMIC); in bnad_set_rx_mcast_fltr()
3169 if (mac_list == NULL) in bnad_set_rx_mcast_fltr()
3172 ether_addr_copy(&mac_list[0], &bnad_bcast_addr[0]); in bnad_set_rx_mcast_fltr()
[all …]
/linux-6.12.1/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.c322 list_for_each_entry(cur, &adapter->mac_list, list) { in qlcnic_delete_adapter_mac()
2514 INIT_LIST_HEAD(&adapter->mac_list); in qlcnic_probe()
Dqlcnic.h1159 struct list_head mac_list; member
Dqlcnic_sriov_common.c2101 struct list_head *head = &adapter->mac_list; in qlcnic_sriov_vf_free_mac_list()
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/flower/
Dtunnel_conf.c1067 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()
Dmain.h377 struct list_head mac_list; member
/linux-6.12.1/drivers/net/wireless/marvell/mwifiex/
Dioctl.h32 u8 mac_list[MWIFIEX_MAX_MULTICAST_LIST_SIZE][ETH_ALEN]; member
Dsta_cmd.c466 memcpy(mcast_addr->mac_list, mcast_list->mac_list, in mwifiex_cmd_mac_multicast_adr()
Dsta_ioctl.c34 memcpy(&mlist->mac_list[i++], ha->addr, ETH_ALEN); in mwifiex_copy_mcast_addr()
Dfw.h1161 u8 mac_list[MWIFIEX_MAX_MULTICAST_LIST_SIZE][ETH_ALEN]; member
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c1078 struct list_head *mac_list) in hclgevf_sync_from_add_list() argument
1090 new_node = hclgevf_find_mac_node(mac_list, mac_node->mac_addr); in hclgevf_sync_from_add_list()
1097 list_move_tail(&mac_node->node, mac_list); in hclgevf_sync_from_add_list()
1106 struct list_head *mac_list) in hclgevf_sync_from_del_list() argument
1111 new_node = hclgevf_find_mac_node(mac_list, mac_node->mac_addr); in hclgevf_sync_from_del_list()
1122 list_move_tail(&mac_node->node, mac_list); in hclgevf_sync_from_del_list()
/linux-6.12.1/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.12.1/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.12.1/drivers/net/ethernet/intel/igb/
Digb_main.c3734 struct vf_mac_filter *mac_list; in igb_enable_sriov() local
3775 mac_list = adapter->vf_mac_list; in igb_enable_sriov()
3781 mac_list->vf = -1; in igb_enable_sriov()
3782 mac_list->free = true; in igb_enable_sriov()
3783 list_add(&mac_list->l, &adapter->vf_macs.l); in igb_enable_sriov()
3784 mac_list++; in igb_enable_sriov()
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c8868 struct list_head *mac_list) in hclge_sync_from_add_list() argument
8885 new_node = hclge_find_mac_node(mac_list, mac_node->mac_addr); in hclge_sync_from_add_list()
8892 list_move_tail(&mac_node->node, mac_list); in hclge_sync_from_add_list()
8903 struct list_head *mac_list) in hclge_sync_from_del_list() argument
8908 new_node = hclge_find_mac_node(mac_list, mac_node->mac_addr); in hclge_sync_from_del_list()
8921 list_move_tail(&mac_node->node, mac_list); in hclge_sync_from_del_list()

12