Searched refs:cur_qp (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/infiniband/hw/mthca/ |
H A 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() 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() 548 wq = &(*cur_qp)->rq; in mthca_poll_one() [all …]
|
/openbmc/linux/drivers/infiniband/hw/mlx4/ |
H A D | cq.c | 657 struct mlx4_ib_qp **cur_qp, in mlx4_ib_poll_one() argument 708 if (!*cur_qp || in mlx4_ib_poll_one() 717 *cur_qp = to_mibqp(mqp); in mlx4_ib_poll_one() 720 wc->qp = &(*cur_qp)->ibqp; in mlx4_ib_poll_one() 732 wq = &(*cur_qp)->sq; in mlx4_ib_poll_one() 733 if (!(*cur_qp)->sq_signal_bits) { in mlx4_ib_poll_one() 739 } else if ((*cur_qp)->ibqp.srq) { in mlx4_ib_poll_one() 750 wq = &(*cur_qp)->rq; in mlx4_ib_poll_one() 835 (*cur_qp)->port) == in mlx4_ib_poll_one() 838 if ((*cur_qp)->mlx4_ib_qp_type & in mlx4_ib_poll_one() [all …]
|
/openbmc/linux/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_cq.c | 322 static int pvrdma_poll_one(struct pvrdma_cq *cq, struct pvrdma_qp **cur_qp, in pvrdma_poll_one() argument 352 *cur_qp = (struct pvrdma_qp *)dev->qp_tbl[cqe->qp & 0xffff]; in pvrdma_poll_one() 359 wc->qp = &(*cur_qp)->ibqp; in pvrdma_poll_one() 389 struct pvrdma_qp *cur_qp = NULL; in pvrdma_poll_cq() local 398 if (pvrdma_poll_one(cq, &cur_qp, wc + npolled)) in pvrdma_poll_cq()
|
/openbmc/linux/drivers/infiniband/hw/mlx5/ |
H A D | cq.c | 448 struct mlx5_ib_qp **cur_qp, in mlx5_poll_one() argument 490 if (!*cur_qp || (qpn != (*cur_qp)->ibqp.qp_num)) { in mlx5_poll_one() 496 *cur_qp = to_mibqp(mqp); in mlx5_poll_one() 499 wc->qp = &(*cur_qp)->ibqp; in mlx5_poll_one() 502 wq = &(*cur_qp)->sq; in mlx5_poll_one() 515 handle_responder(wc, cqe64, *cur_qp); in mlx5_poll_one() 534 wq = &(*cur_qp)->sq; in mlx5_poll_one() 542 if ((*cur_qp)->ibqp.srq) { in mlx5_poll_one() 543 srq = to_msrq((*cur_qp)->ibqp.srq); in mlx5_poll_one() 548 wq = &(*cur_qp)->rq; in mlx5_poll_one() [all …]
|
/openbmc/linux/drivers/infiniband/hw/hns/ |
H A D | hns_roce_hw_v2.c | 3729 struct hns_roce_qp **cur_qp) in get_cur_qp() argument 3732 struct hns_roce_qp *hr_qp = *cur_qp; in get_cur_qp() 3745 *cur_qp = hr_qp; in get_cur_qp() 3882 struct hns_roce_qp **cur_qp, struct ib_wc *wc) in hns_roce_v2_poll_one() argument 3885 struct hns_roce_qp *qp = *cur_qp; in hns_roce_v2_poll_one() 3951 struct hns_roce_qp *cur_qp = NULL; in hns_roce_v2_poll_cq() local 3970 if (hns_roce_v2_poll_one(hr_cq, &cur_qp, wc + npolled)) in hns_roce_v2_poll_cq()
|