/drivers/net/ethernet/marvell/prestera/ |
D | prestera_switchdev.c | 50 struct list_head vlan_list; member 88 list_add(&br_vlan->head, &br_port->vlan_list); in prestera_bridge_vlan_create() 105 list_for_each_entry(br_vlan, &br_port->vlan_list, head) { in prestera_bridge_vlan_by_vid() 121 list_for_each_entry(br_vlan, &br_port->vlan_list, head) { in prestera_bridge_vlan_port_count() 237 last_vlan = list_is_singular(&br_port->vlan_list); in prestera_port_vlan_bridge_leave() 406 INIT_LIST_HEAD(&br_port->vlan_list); in prestera_bridge_port_create() 416 WARN_ON(!list_empty(&br_port->vlan_list)); in prestera_bridge_port_destroy() 696 list_for_each_entry(br_vlan, &br_port->vlan_list, head) { in prestera_port_attr_stp_state_set() 709 list_for_each_entry_continue_reverse(br_vlan, &br_port->vlan_list, head) in prestera_port_attr_stp_state_set()
|
/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
D | bridge_priv.h | 34 struct list_head vlan_list; member
|
D | bridge.c | 734 list_del(&entry->vlan_list); in mlx5_esw_bridge_fdb_entry_cleanup() 891 list_for_each_entry_safe(entry, tmp, &vlan->fdb_list, vlan_list) { in mlx5_esw_bridge_vlan_flush() 1032 list_add(&entry->vlan_list, &vlan->fdb_list); in mlx5_esw_bridge_fdb_entry_init() 1034 INIT_LIST_HEAD(&entry->vlan_list); in mlx5_esw_bridge_fdb_entry_init()
|
/drivers/net/ethernet/qlogic/qede/ |
D | qede_filter.c | 695 list_for_each_entry(tmp, &edev->vlan_list, list) { in qede_vlan_rx_add_vid() 712 list_add(&vlan->list, &edev->vlan_list); in qede_vlan_rx_add_vid() 749 list_add(&vlan->list, &edev->vlan_list); in qede_vlan_rx_add_vid() 777 if (list_empty(&edev->vlan_list)) in qede_configure_vlan_filters() 783 list_for_each_entry(vlan, &edev->vlan_list, list) { in qede_configure_vlan_filters() 839 list_for_each_entry(vlan, &edev->vlan_list, list) in qede_vlan_rx_kill_vid() 843 if (list_entry_is_head(vlan, &edev->vlan_list, list)) { in qede_vlan_rx_kill_vid() 885 if (list_empty(&edev->vlan_list)) in qede_vlan_mark_nonconfigured() 888 list_for_each_entry(vlan, &edev->vlan_list, list) { in qede_vlan_mark_nonconfigured()
|
D | qede.h | 248 struct list_head vlan_list; member
|
D | qede_main.c | 764 INIT_LIST_HEAD(&edev->vlan_list); in qede_alloc_etherdev()
|
/drivers/net/ethernet/sfc/ |
D | mcdi_filters.h | 92 struct list_head vlan_list; member
|
D | mcdi_filters.c | 1344 INIT_LIST_HEAD(&table->vlan_list); in efx_mcdi_filter_table_probe() 1432 list_for_each_entry(vlan, &table->vlan_list, list) in efx_mcdi_filter_table_restore() 1564 list_for_each_entry(vlan, &table->vlan_list, list) in efx_mcdi_filter_mark_old() 1598 list_add_tail(&vlan->list, &table->vlan_list); in efx_mcdi_filter_add_vlan() 1657 list_for_each_entry(vlan, &table->vlan_list, list) { in efx_mcdi_filter_find_vlan() 1677 list_for_each_entry_safe(vlan, next_vlan, &table->vlan_list, list) in efx_mcdi_filter_cleanup_vlans() 1766 list_for_each_entry(vlan, &table->vlan_list, list) in efx_mcdi_filter_sync_rx_mode()
|
D | nic.h | 292 struct list_head vlan_list; member
|
D | ef10.c | 404 list_for_each_entry(vlan, &nic_data->vlan_list, list) { in efx_ef10_find_vlan() 440 list_add_tail(&vlan->list, &nic_data->vlan_list); in efx_ef10_add_vlan() 517 list_for_each_entry_safe(vlan, next_vlan, &nic_data->vlan_list, list) in efx_ef10_cleanup_vlans() 661 INIT_LIST_HEAD(&nic_data->vlan_list); in efx_ef10_probe() 2564 list_for_each_entry(vlan, &nic_data->vlan_list, list) { in efx_ef10_filter_table_probe()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_virtchnl_pf.c | 1243 s16 **vlan_list) in i40e_get_vlan_list_sync() argument 1251 *vlan_list = kcalloc(*num_vlans, sizeof(**vlan_list), GFP_ATOMIC); in i40e_get_vlan_list_sync() 1252 if (!(*vlan_list)) in i40e_get_vlan_list_sync() 1258 (*vlan_list)[i++] = f->vlan; in i40e_get_vlan_list_sync()
|
/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.h | 1059 struct list_head vlan_list; /* Store VF vlan table */ member
|
D | hclge_main.c | 1872 INIT_LIST_HEAD(&vport->vlan_list); in hclge_alloc_vport() 9657 list_for_each_entry_safe(vlan, tmp, &vport->vlan_list, node) in hclge_need_enable_vport_vlan_filter() 10147 list_for_each_entry_safe(vlan, tmp, &vport->vlan_list, node) { in hclge_add_vport_vlan_table() 10163 list_add_tail(&vlan->node, &vport->vlan_list); in hclge_add_vport_vlan_table() 10175 list_for_each_entry_safe(vlan, tmp, &vport->vlan_list, node) { in hclge_add_vport_all_vlan_table() 10203 list_for_each_entry_safe(vlan, tmp, &vport->vlan_list, node) { in hclge_rm_vport_vlan_table() 10226 list_for_each_entry_safe(vlan, tmp, &vport->vlan_list, node) { in hclge_rm_vport_all_vlan_table() 10254 list_for_each_entry_safe(vlan, tmp, &vport->vlan_list, node) { in hclge_uninit_vport_vlan_table() 10303 list_for_each_entry_safe(vlan, tmp, &vport->vlan_list, node) { in hclge_restore_vport_vlan_table()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | resource_tracker.c | 2134 struct list_head *vlan_list = in vlan_add_to_slave() local 2138 list_for_each_entry_safe(res, tmp, vlan_list, list) { in vlan_add_to_slave() 2168 struct list_head *vlan_list = in vlan_del_from_slave() local 2172 list_for_each_entry_safe(res, tmp, vlan_list, list) { in vlan_del_from_slave() 2189 struct list_head *vlan_list = in rem_slave_vlans() local 2194 list_for_each_entry_safe(res, tmp, vlan_list, list) { in rem_slave_vlans()
|