Searched refs:new_vlan (Results 1 – 3 of 3) sorted by relevance
/drivers/net/ethernet/sfc/ |
D | ef10_sriov.c | 558 u16 new_vlan; in efx_ef10_sriov_set_vf_vlan() local 568 new_vlan = (vlan == 0) ? EFX_EF10_NO_VLAN : vlan; in efx_ef10_sriov_set_vf_vlan() 569 if (new_vlan == vf->vlan) in efx_ef10_sriov_set_vf_vlan() 612 vf->vlan = new_vlan; in efx_ef10_sriov_set_vf_vlan()
|
/drivers/net/ethernet/huawei/hinic/ |
D | hinic_sriov.c | 703 u16 new_vlan, int vf_id) in hinic_update_mac_vlan() argument 709 if (!nic_dev || old_vlan >= VLAN_N_VID || new_vlan >= VLAN_N_VID) in hinic_update_mac_vlan() 727 vlan_id = new_vlan; in hinic_update_mac_vlan() 734 HW_VF_ID_TO_OS(vf_id), vf_info->vf_mac_addr, new_vlan); in hinic_update_mac_vlan()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_main.c | 1398 int bkt, new_vlan; in i40e_correct_mac_vlan_filters() local 1436 new_vlan = pvid; in i40e_correct_mac_vlan_filters() 1438 new_vlan = 0; in i40e_correct_mac_vlan_filters() 1440 new_vlan = I40E_VLAN_ANY; in i40e_correct_mac_vlan_filters() 1443 add_head = i40e_add_filter(vsi, f->macaddr, new_vlan); in i40e_correct_mac_vlan_filters() 1543 int bkt, new_vlan; in i40e_correct_vf_mac_vlan_filters() local 1551 new_vlan = i40e_get_vf_new_vlan(vsi, NULL, f, vlan_filters, in i40e_correct_vf_mac_vlan_filters() 1553 if (new_vlan != f->vlan) { in i40e_correct_vf_mac_vlan_filters() 1554 add_head = i40e_add_filter(vsi, f->macaddr, new_vlan); in i40e_correct_vf_mac_vlan_filters()
|