Home
last modified time | relevance | path

Searched refs:new_vlan (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/net/smc/
Dsmc_ism.c101 struct smc_ism_vlanid *new_vlan, *vlan; in smc_ism_get_vlan() local
109 new_vlan = kzalloc(sizeof(*new_vlan), GFP_KERNEL); in smc_ism_get_vlan()
110 if (!new_vlan) in smc_ism_get_vlan()
112 new_vlan->vlanid = vlanid; in smc_ism_get_vlan()
113 refcount_set(&new_vlan->refcnt, 1); in smc_ism_get_vlan()
120 kfree(new_vlan); in smc_ism_get_vlan()
129 kfree(new_vlan); in smc_ism_get_vlan()
133 list_add_tail(&new_vlan->list, &smcd->vlan); in smc_ism_get_vlan()
/Linux-v6.6/drivers/net/ethernet/sfc/
Def10_sriov.c558 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()
/Linux-v6.6/drivers/net/ethernet/huawei/hinic/
Dhinic_sriov.c703 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()
/Linux-v6.6/drivers/net/ethernet/intel/i40e/
Di40e_main.c1375 int bkt, new_vlan; in i40e_correct_mac_vlan_filters() local
1413 new_vlan = pvid; in i40e_correct_mac_vlan_filters()
1415 new_vlan = 0; in i40e_correct_mac_vlan_filters()
1417 new_vlan = I40E_VLAN_ANY; in i40e_correct_mac_vlan_filters()
1420 add_head = i40e_add_filter(vsi, f->macaddr, new_vlan); in i40e_correct_mac_vlan_filters()
1520 int bkt, new_vlan; in i40e_correct_vf_mac_vlan_filters() local
1528 new_vlan = i40e_get_vf_new_vlan(vsi, NULL, f, vlan_filters, in i40e_correct_vf_mac_vlan_filters()
1530 if (new_vlan != f->vlan) { in i40e_correct_vf_mac_vlan_filters()
1531 add_head = i40e_add_filter(vsi, f->macaddr, new_vlan); in i40e_correct_vf_mac_vlan_filters()