Searched refs:old_vlan (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/drivers/net/ethernet/huawei/hinic/ |
D | hinic_sriov.c | 702 static int hinic_update_mac_vlan(struct hinic_dev *nic_dev, u16 old_vlan, 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() 716 vlan_id = old_vlan; in hinic_update_mac_vlan() 723 HW_VF_ID_TO_OS(vf_id), vf_info->vf_mac_addr, old_vlan); in hinic_update_mac_vlan() 741 vlan_id = old_vlan; in hinic_update_mac_vlan() 752 u16 old_vlan = cur_vlanprio & VLAN_VID_MASK; in set_hw_vf_vlan() local 761 vf, old_vlan); in set_hw_vf_vlan() 776 vf, old_vlan); in set_hw_vf_vlan() 781 err = hinic_update_mac_vlan(nic_dev, old_vlan, vlan, in set_hw_vf_vlan()
|
/linux-6.6.21/drivers/scsi/fnic/ |
D | vnic_dev.c | 818 int old_vlan = 0; in vnic_dev_set_default_vlan() local 820 old_vlan = vnic_dev_cmd(vdev, CMD_SET_DEFAULT_VLAN, &a0, &a1, wait); in vnic_dev_set_default_vlan() 821 return (u16)old_vlan; in vnic_dev_set_default_vlan()
|