Searched refs:old_vlan (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/drivers/net/ethernet/huawei/hinic/ ! |
D | hinic_sriov.c | 683 static int hinic_update_mac_vlan(struct hinic_dev *nic_dev, u16 old_vlan, in hinic_update_mac_vlan() argument 690 if (!nic_dev || old_vlan >= VLAN_N_VID || new_vlan >= VLAN_N_VID) in hinic_update_mac_vlan() 697 vlan_id = old_vlan; in hinic_update_mac_vlan() 704 HW_VF_ID_TO_OS(vf_id), vf_info->vf_mac_addr, old_vlan); in hinic_update_mac_vlan() 722 vlan_id = old_vlan; in hinic_update_mac_vlan() 733 u16 old_vlan = cur_vlanprio & VLAN_VID_MASK; in set_hw_vf_vlan() local 742 vf, old_vlan); in set_hw_vf_vlan() 757 vf, old_vlan); in set_hw_vf_vlan() 762 err = hinic_update_mac_vlan(nic_dev, old_vlan, vlan, in set_hw_vf_vlan()
|
/linux-5.19.10/drivers/scsi/fnic/ ! |
D | vnic_dev.c | 830 int old_vlan = 0; in vnic_dev_set_default_vlan() local 832 old_vlan = vnic_dev_cmd(vdev, CMD_SET_DEFAULT_VLAN, &a0, &a1, wait); in vnic_dev_set_default_vlan() 833 return (u16)old_vlan; in vnic_dev_set_default_vlan()
|