Searched refs:cur_qp (Results 1 – 2 of 2) sorted by relevance
480 struct mthca_qp **cur_qp, in mthca_poll_one() argument514 if (!*cur_qp || be32_to_cpu(cqe->my_qpn) != (*cur_qp)->qpn) { in mthca_poll_one()520 *cur_qp = mthca_array_get(&dev->qp_table.qp, in mthca_poll_one()523 if (!*cur_qp) { in mthca_poll_one()531 entry->qp = &(*cur_qp)->ibqp; in mthca_poll_one()534 wq = &(*cur_qp)->sq; in mthca_poll_one()535 wqe_index = ((be32_to_cpu(cqe->wqe) - (*cur_qp)->send_wqe_offset) in mthca_poll_one()537 entry->wr_id = (*cur_qp)->wrid[wqe_index + in mthca_poll_one()538 (*cur_qp)->rq.max]; in mthca_poll_one()539 } else if ((*cur_qp)->ibqp.srq) { in mthca_poll_one()[all …]
4062 struct hns_roce_qp **cur_qp) in get_cur_qp() argument4065 struct hns_roce_qp *hr_qp = *cur_qp; in get_cur_qp()4078 *cur_qp = hr_qp; in get_cur_qp()4214 struct hns_roce_qp **cur_qp, struct ib_wc *wc) in hns_roce_v2_poll_one() argument4217 struct hns_roce_qp *qp = *cur_qp; in hns_roce_v2_poll_one()4283 struct hns_roce_qp *cur_qp = NULL; in hns_roce_v2_poll_cq() local4302 if (hns_roce_v2_poll_one(hr_cq, &cur_qp, wc + npolled)) in hns_roce_v2_poll_cq()