Home
last modified time | relevance | path

Searched refs:mac_list (Results 1 - 25 of 56) sorted by relevance

123

/kernel/linux/linux-5.10/net/hsr/
H A Dhsr_framereg.c46 mac_list); in hsr_addr_is_self()
67 list_for_each_entry_rcu(node, node_db, mac_list) { in find_node_by_addr_A()
94 struct hsr_node, mac_list); in hsr_create_self_node()
96 list_replace_rcu(&oldnode->mac_list, &node->mac_list); in hsr_create_self_node()
100 list_add_tail_rcu(&node->mac_list, self_node_db); in hsr_create_self_node()
113 node = list_first_or_null_rcu(self_node_db, struct hsr_node, mac_list); in hsr_del_self_node()
115 list_del_rcu(&node->mac_list); in hsr_del_self_node()
126 list_for_each_entry_safe(node, tmp, node_db, mac_list) in hsr_del_nodes()
179 list_for_each_entry_rcu(node, node_db, mac_list, in hsr_add_node()
[all...]
H A Dhsr_framereg.h71 struct list_head mac_list; member
H A Dhsr_debugfs.c42 list_for_each_entry_rcu(node, &priv->node_db, mac_list) { in hsr_node_table_show()
/kernel/linux/linux-6.6/net/hsr/
H A Dhsr_framereg.c66 list_for_each_entry_rcu(node, node_db, mac_list) { in find_node_by_addr_A()
117 list_for_each_entry_safe(node, tmp, node_db, mac_list) in hsr_del_nodes()
170 list_for_each_entry_rcu(node, node_db, mac_list, in hsr_add_node()
177 list_add_tail_rcu(&new_node->mac_list, node_db); in hsr_add_node()
213 list_for_each_entry_rcu(node, node_db, mac_list) { in hsr_get_node()
370 list_del_rcu(&node_curr->mac_list); in hsr_handle_sup_frame()
506 list_for_each_entry_safe(node, tmp, &hsr->node_db, mac_list) { in hsr_prune_nodes()
550 list_del_rcu(&node->mac_list); in hsr_prune_nodes()
571 struct hsr_node, mac_list); in hsr_get_next_node()
578 list_for_each_entry_continue_rcu(node, &hsr->node_db, mac_list) { in hsr_get_next_node()
[all...]
H A Dhsr_framereg.h71 struct list_head mac_list; member
H A Dhsr_debugfs.c34 list_for_each_entry_rcu(node, &priv->node_db, mac_list) { in hsr_node_table_show()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch.c536 u8 (*mac_list)[ETH_ALEN]; in esw_update_vport_addr_list()
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[ in esw_update_vport_addr_list()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch.c732 u8 (*mac_list)[ETH_ALEN]; in esw_update_vport_addr_list()
745 mac_list = kcalloc(size, ETH_ALEN, GFP_KERNEL); in esw_update_vport_addr_list()
746 if (!mac_list) in esw_update_vport_addr_list()
760 mac_list, &size); in esw_update_vport_addr_list()
767 if (is_uc && !is_valid_ether_addr(mac_list[i])) in esw_update_vport_addr_list()
770 if (!is_uc && !is_multicast_ether_addr(mac_list[i])) in esw_update_vport_addr_list()
773 addr = l2addr_hash_find(hash, mac_list[i], struct vport_addr); in esw_update_vport_addr_list()
783 mac_list[i], in esw_update_vport_addr_list()
788 mac_list[i]); in esw_update_vport_addr_list()
797 addr = l2addr_hash_add(hash, mac_list[ in esw_update_vport_addr_list()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/prism54/
H A Dislpci_dev.h44 struct list_head mac_list; /* a list of mac_entry */ member
H A 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()
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/p54/
H A Dfwio.c752 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()
/kernel/linux/linux-6.6/drivers/net/wireless/intersil/p54/
H A 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()
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/hostap/
H A 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()
H A Dhostap_ap.h146 struct list_head mac_list; member
/kernel/linux/linux-6.6/drivers/net/wireless/intersil/hostap/
H A 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()
H A Dhostap_ap.h146 struct list_head mac_list; member
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/
H A Dbnad.c3119 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()
3141 ret = bna_rx_ucast_listset(bnad->rx_info[0].rx, entry, mac_list); 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[ in bnad_set_rx_mcast_fltr()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/brocade/bna/
H A Dbnad.c3115 u8 *mac_list; in bnad_set_rx_ucast_fltr() local
3127 mac_list = kcalloc(ETH_ALEN, uc_count, GFP_ATOMIC); in bnad_set_rx_ucast_fltr()
3128 if (mac_list == NULL) in bnad_set_rx_ucast_fltr()
3133 ether_addr_copy(&mac_list[entry * ETH_ALEN], &ha->addr[0]); in bnad_set_rx_ucast_fltr()
3137 ret = bna_rx_ucast_listset(bnad->rx_info[0].rx, entry, mac_list); in bnad_set_rx_ucast_fltr()
3138 kfree(mac_list); in bnad_set_rx_ucast_fltr()
3157 u8 *mac_list; in bnad_set_rx_mcast_fltr() local
3168 mac_list = kcalloc(mc_count + 1, ETH_ALEN, GFP_ATOMIC); in bnad_set_rx_mcast_fltr()
3170 if (mac_list == NULL) in bnad_set_rx_mcast_fltr()
3173 ether_addr_copy(&mac_list[ in bnad_set_rx_mcast_fltr()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/
H A Dtunnel_conf.c910 list_del(&repr_priv->mac_list); in nfp_tunnel_offloaded_macs_inc_ref_and_link()
912 list_add_tail(&repr_priv->mac_list, &entry->repr_list); in nfp_tunnel_offloaded_macs_inc_ref_and_link()
1021 /* If del is part of a mod then mac_list is still in use elsewheree. */ in nfp_tunnel_del_shared_mac()
1025 list_del(&repr_priv->mac_list); in nfp_tunnel_del_shared_mac()
1054 mac_list); in nfp_tunnel_del_shared_mac()
H A Dmain.h251 * @mac_list: List entry of reprs that share the same offloaded MAC
261 struct list_head mac_list; member
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/flower/
H A 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()
1179 /* If del is part of a mod then mac_list is still in use elsewhere. */ in nfp_tunnel_del_shared_mac()
1183 list_del(&repr_priv->mac_list); in nfp_tunnel_del_shared_mac()
1209 mac_list); in nfp_tunnel_del_shared_mac()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_hw.c467 list_for_each(head, &adapter->mac_list) { in qlcnic_nic_del_mac()
489 list_for_each(head, &adapter->mac_list) { in qlcnic_nic_add_mac()
511 list_add_tail(&cur->list, &adapter->mac_list); in qlcnic_nic_add_mac()
520 list_for_each_safe(head, tmp, &adapter->mac_list) { in qlcnic_flush_mcast_mac()
621 struct list_head *head = &adapter->mac_list; in qlcnic_82xx_free_mac_list()
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qlcnic/
H A 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()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
H A Dioctl.h44 u8 mac_list[MWIFIEX_MAX_MULTICAST_LIST_SIZE][ETH_ALEN]; member
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/mwifiex/
H A Dioctl.h32 u8 mac_list[MWIFIEX_MAX_MULTICAST_LIST_SIZE][ETH_ALEN]; member

Completed in 43 milliseconds

123