Home
last modified time | relevance | path

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

/linux-6.1.9/net/smc/
Dsmc_ism.c84 struct smc_ism_vlanid *new_vlan, *vlan; in smc_ism_get_vlan() local
92 new_vlan = kzalloc(sizeof(*new_vlan), GFP_KERNEL); in smc_ism_get_vlan()
93 if (!new_vlan) in smc_ism_get_vlan()
95 new_vlan->vlanid = vlanid; in smc_ism_get_vlan()
96 refcount_set(&new_vlan->refcnt, 1); in smc_ism_get_vlan()
103 kfree(new_vlan); in smc_ism_get_vlan()
112 kfree(new_vlan); in smc_ism_get_vlan()
116 list_add_tail(&new_vlan->list, &smcd->vlan); in smc_ism_get_vlan()
/linux-6.1.9/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-6.1.9/drivers/net/ethernet/huawei/hinic/
Dhinic_sriov.c685 u16 new_vlan, int vf_id) in hinic_update_mac_vlan() argument
691 if (!nic_dev || old_vlan >= VLAN_N_VID || new_vlan >= VLAN_N_VID) in hinic_update_mac_vlan()
709 vlan_id = new_vlan; in hinic_update_mac_vlan()
716 HW_VF_ID_TO_OS(vf_id), vf_info->vf_mac_addr, new_vlan); in hinic_update_mac_vlan()
/linux-6.1.9/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()