Searched refs:cur_qp (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/drivers/infiniband/hw/mthca/ |
D | mthca_cq.c | 480 struct mthca_qp **cur_qp, in mthca_poll_one() argument 514 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 …]
|
/linux-6.12.1/drivers/infiniband/hw/mlx4/ |
D | cq.c | 658 struct mlx4_ib_qp **cur_qp, in mlx4_ib_poll_one() argument 709 if (!*cur_qp || in mlx4_ib_poll_one() 710 (be32_to_cpu(cqe->vlan_my_qpn) & MLX4_CQE_QPN_MASK) != (*cur_qp)->mqp.qpn) { in mlx4_ib_poll_one() 718 *cur_qp = to_mibqp(mqp); in mlx4_ib_poll_one() 721 wc->qp = &(*cur_qp)->ibqp; in mlx4_ib_poll_one() 733 wq = &(*cur_qp)->sq; in mlx4_ib_poll_one() 734 if (!(*cur_qp)->sq_signal_bits) { in mlx4_ib_poll_one() 740 } else if ((*cur_qp)->ibqp.srq) { in mlx4_ib_poll_one() 741 srq = to_msrq((*cur_qp)->ibqp.srq); in mlx4_ib_poll_one() 751 wq = &(*cur_qp)->rq; in mlx4_ib_poll_one() [all …]
|
/linux-6.12.1/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_cq.c | 323 static int pvrdma_poll_one(struct pvrdma_cq *cq, struct pvrdma_qp **cur_qp, in pvrdma_poll_one() argument 353 *cur_qp = (struct pvrdma_qp *)dev->qp_tbl[cqe->qp & 0xffff]; in pvrdma_poll_one() 360 wc->qp = &(*cur_qp)->ibqp; in pvrdma_poll_one() 390 struct pvrdma_qp *cur_qp = NULL; in pvrdma_poll_cq() local 399 if (pvrdma_poll_one(cq, &cur_qp, wc + npolled)) in pvrdma_poll_cq()
|
/linux-6.12.1/drivers/infiniband/hw/mlx5/ |
D | cq.c | 451 struct mlx5_ib_qp **cur_qp, in mlx5_poll_one() argument 493 if (!*cur_qp || (qpn != (*cur_qp)->ibqp.qp_num)) { in mlx5_poll_one() 499 *cur_qp = to_mibqp(mqp); in mlx5_poll_one() 502 wc->qp = &(*cur_qp)->ibqp; in mlx5_poll_one() 505 wq = &(*cur_qp)->sq; in mlx5_poll_one() 509 handle_atomics(*cur_qp, cqe64, wq->last_poll, idx); in mlx5_poll_one() 518 handle_responder(wc, cqe64, *cur_qp); in mlx5_poll_one() 533 (*cur_qp)->type == MLX5_IB_QPT_REG_UMR) in mlx5_poll_one() 537 wq = &(*cur_qp)->sq; in mlx5_poll_one() 545 if ((*cur_qp)->ibqp.srq) { in mlx5_poll_one() [all …]
|
/linux-6.12.1/drivers/infiniband/hw/hns/ |
D | hns_roce_hw_v2.c | 3766 struct hns_roce_qp **cur_qp) in get_cur_qp() argument 3769 struct hns_roce_qp *hr_qp = *cur_qp; in get_cur_qp() 3782 *cur_qp = hr_qp; in get_cur_qp() 3919 struct hns_roce_qp **cur_qp, struct ib_wc *wc) in hns_roce_v2_poll_one() argument 3922 struct hns_roce_qp *qp = *cur_qp; in hns_roce_v2_poll_one() 3988 struct hns_roce_qp *cur_qp = NULL; in hns_roce_v2_poll_cq() local 4007 if (hns_roce_v2_poll_one(hr_cq, &cur_qp, wc + npolled)) in hns_roce_v2_poll_cq()
|