Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/smc/
Dsmc_ism.c83 struct smc_ism_vlanid *new_vlan, *vlan; in smc_ism_get_vlan() local
91 new_vlan = kzalloc(sizeof(*new_vlan), GFP_KERNEL); in smc_ism_get_vlan()
92 if (!new_vlan) in smc_ism_get_vlan()
94 new_vlan->vlanid = vlanid; in smc_ism_get_vlan()
95 refcount_set(&new_vlan->refcnt, 1); in smc_ism_get_vlan()
102 kfree(new_vlan); in smc_ism_get_vlan()
111 kfree(new_vlan); in smc_ism_get_vlan()
115 list_add_tail(&new_vlan->list, &smcd->vlan); in smc_ism_get_vlan()
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/
Dsja1105_main.c2091 struct sja1105_vlan_lookup_entry *new_vlan, in sja1105_commit_vlans() argument
2108 if (new_vlan[i].vlanid != VLAN_N_VID) in sja1105_commit_vlans()
2111 if (new_vlan[i].vlanid == VLAN_N_VID && match >= 0) { in sja1105_commit_vlans()
2119 } else if (new_vlan[i].vlanid != VLAN_N_VID) { in sja1105_commit_vlans()
2122 vlan[match].vlanid == new_vlan[i].vlanid && in sja1105_commit_vlans()
2123 vlan[match].tag_port == new_vlan[i].tag_port && in sja1105_commit_vlans()
2124 vlan[match].vlan_bc == new_vlan[i].vlan_bc && in sja1105_commit_vlans()
2125 vlan[match].vmemb_port == new_vlan[i].vmemb_port) in sja1105_commit_vlans()
2131 i, &new_vlan[i], in sja1105_commit_vlans()
2150 if (new_vlan[i].vlanid == VLAN_N_VID) in sja1105_commit_vlans()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Def10_sriov.c561 u16 new_vlan; in efx_ef10_sriov_set_vf_vlan() local
571 new_vlan = (vlan == 0) ? EFX_EF10_NO_VLAN : vlan; in efx_ef10_sriov_set_vf_vlan()
572 if (new_vlan == vf->vlan) in efx_ef10_sriov_set_vf_vlan()
616 vf->vlan = new_vlan; in efx_ef10_sriov_set_vf_vlan()
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_sriov.c683 u16 new_vlan, int vf_id) in hinic_update_mac_vlan() argument
689 if (!nic_dev || old_vlan >= VLAN_N_VID || new_vlan >= VLAN_N_VID) in hinic_update_mac_vlan()
707 vlan_id = new_vlan; in hinic_update_mac_vlan()
714 HW_VF_ID_TO_OS(vf_id), vf_info->vf_mac_addr, new_vlan); in hinic_update_mac_vlan()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_main.c1281 int bkt, new_vlan; in i40e_correct_mac_vlan_filters() local
1319 new_vlan = pvid; in i40e_correct_mac_vlan_filters()
1321 new_vlan = 0; in i40e_correct_mac_vlan_filters()
1323 new_vlan = I40E_VLAN_ANY; in i40e_correct_mac_vlan_filters()
1326 add_head = i40e_add_filter(vsi, f->macaddr, new_vlan); in i40e_correct_mac_vlan_filters()