Lines Matching refs:vfid
3477 req->vfid = vport->vport_id; in hclge_bind_ring_with_vector()
3497 req->vfid = vport->vport_id; in hclge_bind_ring_with_vector()
3900 static int hclge_update_desc_vfid(struct hclge_desc *desc, int vfid, bool clr) in hclge_update_desc_vfid() argument
3905 if (vfid > 255 || vfid < 0) in hclge_update_desc_vfid()
3908 if (vfid >= 0 && vfid <= 191) { in hclge_update_desc_vfid()
3909 word_num = vfid / 32; in hclge_update_desc_vfid()
3910 bit_num = vfid % 32; in hclge_update_desc_vfid()
3916 word_num = (vfid - 192) / 32; in hclge_update_desc_vfid()
3917 bit_num = vfid % 32; in hclge_update_desc_vfid()
4633 static int hclge_set_vf_vlan_common(struct hclge_dev *hdev, int vfid, in hclge_set_vf_vlan_common() argument
4652 vf_byte_off = vfid / 8; in hclge_set_vf_vlan_common()
4653 vf_byte_val = 1 << (vfid % 8); in hclge_set_vf_vlan_common()
4784 static int hclge_set_vf_vlan_filter(struct hnae3_handle *handle, int vfid, in hclge_set_vf_vlan_filter() argument
4790 if ((vfid >= hdev->num_alloc_vfs) || (vlan > 4095) || (qos > 7)) in hclge_set_vf_vlan_filter()
4795 return hclge_set_vlan_filter_hw(hdev, proto, vfid, vlan, qos, false); in hclge_set_vf_vlan_filter()