Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c2613 for (i = 0; i < ARRAY_SIZE(free_mr->rsv_qp); i++) { in free_mr_exit()
2614 if (free_mr->rsv_qp[i]) { in free_mr_exit()
2615 ret = ib_destroy_qp(free_mr->rsv_qp[i]); in free_mr_exit()
2620 free_mr->rsv_qp[i] = NULL; in free_mr_exit()
2668 for (i = 0; i < ARRAY_SIZE(free_mr->rsv_qp); i++) { in free_mr_alloc_res()
2681 free_mr->rsv_qp[i] = qp; in free_mr_alloc_res()
2703 hr_qp = to_hr_qp(free_mr->rsv_qp[sl_num]); in free_mr_modify_rsv_qp()
2765 for (i = 0; i < ARRAY_SIZE(free_mr->rsv_qp); i++) { in free_mr_modify_qp()
3367 struct ib_wc wc[ARRAY_SIZE(free_mr->rsv_qp)]; in free_mr_send_cmd_to_hw()
3387 for (i = 0; i < ARRAY_SIZE(free_mr->rsv_qp); i++) { in free_mr_send_cmd_to_hw()
[all …]
Dhns_roce_hw_v2.h1327 struct ib_qp *rsv_qp[HNS_ROCE_FREE_MR_USED_QP_NUM]; member