Searched refs:old_vlan (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/drivers/net/ethernet/huawei/hinic/ |
D | hinic_sriov.c | 682 static int hinic_update_mac_vlan(struct hinic_dev *nic_dev, u16 old_vlan, 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() 696 vlan_id = old_vlan; in hinic_update_mac_vlan() 703 HW_VF_ID_TO_OS(vf_id), vf_info->vf_mac_addr, old_vlan); in hinic_update_mac_vlan() 721 vlan_id = old_vlan; in hinic_update_mac_vlan() 732 u16 old_vlan = cur_vlanprio & VLAN_VID_MASK; in set_hw_vf_vlan() local 741 vf, old_vlan); in set_hw_vf_vlan() 756 vf, old_vlan); in set_hw_vf_vlan() 761 err = hinic_update_mac_vlan(nic_dev, old_vlan, vlan, in set_hw_vf_vlan()
|
/Linux-v5.10/drivers/scsi/fnic/ |
D | vnic_dev.c | 828 int old_vlan = 0; in vnic_dev_set_default_vlan() local 830 old_vlan = vnic_dev_cmd(vdev, CMD_SET_DEFAULT_VLAN, &a0, &a1, wait); in vnic_dev_set_default_vlan() 831 return (u16)old_vlan; in vnic_dev_set_default_vlan()
|