Searched refs:cur_qp (Results 1 - 5 of 5) sorted by relevance

/linux-master/drivers/infiniband/hw/mthca/
H A Dmthca_cq.c480 struct mthca_qp **cur_qp,
514 if (!*cur_qp || be32_to_cpu(cqe->my_qpn) != (*cur_qp)->qpn) {
520 *cur_qp = mthca_array_get(&dev->qp_table.qp,
523 if (!*cur_qp) {
531 entry->qp = &(*cur_qp)->ibqp;
534 wq = &(*cur_qp)->sq;
535 wqe_index = ((be32_to_cpu(cqe->wqe) - (*cur_qp)->send_wqe_offset)
537 entry->wr_id = (*cur_qp)->wrid[wqe_index +
538 (*cur_qp)
478 mthca_poll_one(struct mthca_dev *dev, struct mthca_cq *cq, struct mthca_qp **cur_qp, int *freed, struct ib_wc *entry) argument
[all...]
/linux-master/drivers/infiniband/hw/mlx4/
H A Dcq.c657 struct mlx4_ib_qp **cur_qp,
708 if (!*cur_qp ||
709 (be32_to_cpu(cqe->vlan_my_qpn) & MLX4_CQE_QPN_MASK) != (*cur_qp)->mqp.qpn) {
717 *cur_qp = to_mibqp(mqp);
720 wc->qp = &(*cur_qp)->ibqp;
732 wq = &(*cur_qp)->sq;
733 if (!(*cur_qp)->sq_signal_bits) {
739 } else if ((*cur_qp)->ibqp.srq) {
740 srq = to_msrq((*cur_qp)->ibqp.srq);
750 wq = &(*cur_qp)
656 mlx4_ib_poll_one(struct mlx4_ib_cq *cq, struct mlx4_ib_qp **cur_qp, struct ib_wc *wc) argument
880 struct mlx4_ib_qp *cur_qp = NULL; local
[all...]
/linux-master/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_cq.c322 static int pvrdma_poll_one(struct pvrdma_cq *cq, struct pvrdma_qp **cur_qp, argument
352 *cur_qp = (struct pvrdma_qp *)dev->qp_tbl[cqe->qp & 0xffff];
359 wc->qp = &(*cur_qp)->ibqp;
389 struct pvrdma_qp *cur_qp = NULL; local
398 if (pvrdma_poll_one(cq, &cur_qp, wc + npolled))
/linux-master/drivers/infiniband/hw/mlx5/
H A Dcq.c448 struct mlx5_ib_qp **cur_qp,
490 if (!*cur_qp || (qpn != (*cur_qp)->ibqp.qp_num)) {
496 *cur_qp = to_mibqp(mqp);
499 wc->qp = &(*cur_qp)->ibqp;
502 wq = &(*cur_qp)->sq;
506 handle_atomics(*cur_qp, cqe64, wq->last_poll, idx);
515 handle_responder(wc, cqe64, *cur_qp);
530 (*cur_qp)->type == MLX5_IB_QPT_REG_UMR)
534 wq = &(*cur_qp)
447 mlx5_poll_one(struct mlx5_ib_cq *cq, struct mlx5_ib_qp **cur_qp, struct ib_wc *wc) argument
610 struct mlx5_ib_qp *cur_qp = NULL; local
[all...]
/linux-master/drivers/infiniband/hw/hns/
H A Dhns_roce_hw_v2.c3731 struct hns_roce_qp **cur_qp)
3734 struct hns_roce_qp *hr_qp = *cur_qp;
3747 *cur_qp = hr_qp;
3884 struct hns_roce_qp **cur_qp, struct ib_wc *wc)
3887 struct hns_roce_qp *qp = *cur_qp;
3953 struct hns_roce_qp *cur_qp = NULL; local
3972 if (hns_roce_v2_poll_one(hr_cq, &cur_qp, wc + npolled))
3730 get_cur_qp(struct hns_roce_cq *hr_cq, struct hns_roce_v2_cqe *cqe, struct hns_roce_qp **cur_qp) argument
3883 hns_roce_v2_poll_one(struct hns_roce_cq *hr_cq, struct hns_roce_qp **cur_qp, struct ib_wc *wc) argument

Completed in 123 milliseconds