Lines Matching refs:vector_id
3655 static void hclge_free_vector(struct hclge_dev *hdev, int vector_id) in hclge_free_vector() argument
3657 if (hdev->vector_status[vector_id] == HCLGE_INVALID_VPORT) { in hclge_free_vector()
3659 "vector(vector_id %d) has been freed.\n", vector_id); in hclge_free_vector()
3663 hdev->vector_status[vector_id] = HCLGE_INVALID_VPORT; in hclge_free_vector()
4723 int vector_id; in hclge_put_vector() local
4725 vector_id = hclge_get_vector_index(hdev, vector); in hclge_put_vector()
4726 if (vector_id < 0) { in hclge_put_vector()
4729 return vector_id; in hclge_put_vector()
4732 hclge_free_vector(hdev, vector_id); in hclge_put_vector()
4889 int vector_id, bool en, in hclge_bind_ring_with_vector() argument
4904 req->int_vector_id_l = hnae3_get_field(vector_id, in hclge_bind_ring_with_vector()
4907 req->int_vector_id_h = hnae3_get_field(vector_id, in hclge_bind_ring_with_vector()
4942 hnae3_get_field(vector_id, in hclge_bind_ring_with_vector()
4946 hnae3_get_field(vector_id, in hclge_bind_ring_with_vector()
4971 int vector_id; in hclge_map_ring_to_vector() local
4973 vector_id = hclge_get_vector_index(hdev, vector); in hclge_map_ring_to_vector()
4974 if (vector_id < 0) { in hclge_map_ring_to_vector()
4977 return vector_id; in hclge_map_ring_to_vector()
4980 return hclge_bind_ring_with_vector(vport, vector_id, true, ring_chain); in hclge_map_ring_to_vector()
4988 int vector_id, ret; in hclge_unmap_ring_frm_vector() local
4993 vector_id = hclge_get_vector_index(hdev, vector); in hclge_unmap_ring_frm_vector()
4994 if (vector_id < 0) { in hclge_unmap_ring_frm_vector()
4996 "Get vector index fail. ret =%d\n", vector_id); in hclge_unmap_ring_frm_vector()
4997 return vector_id; in hclge_unmap_ring_frm_vector()
5000 ret = hclge_bind_ring_with_vector(vport, vector_id, false, ring_chain); in hclge_unmap_ring_frm_vector()
5004 vector_id, ret); in hclge_unmap_ring_frm_vector()