Home
last modified time | relevance | path

Searched refs:old_vlan (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/huawei/hinic/
Dhinic_sriov.c702 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.12.1/drivers/scsi/fnic/
Dvnic_dev.c822 int old_vlan = 0; in vnic_dev_set_default_vlan() local
824 old_vlan = vnic_dev_cmd(vdev, CMD_SET_DEFAULT_VLAN, &a0, &a1, wait); in vnic_dev_set_default_vlan()
825 return (u16)old_vlan; in vnic_dev_set_default_vlan()