Lines Matching refs:qp
570 static int use_tunnel_data(struct mlx4_ib_qp *qp, struct mlx4_ib_cq *cq, struct ib_wc *wc, in use_tunnel_data() argument
575 ib_dma_sync_single_for_cpu(qp->ibqp.device, in use_tunnel_data()
576 qp->sqp_proxy_rcv[tail].map, in use_tunnel_data()
579 hdr = (struct mlx4_ib_proxy_sqp_hdr *) (qp->sqp_proxy_rcv[tail].addr); in use_tunnel_data()
598 static void mlx4_ib_qp_sw_comp(struct mlx4_ib_qp *qp, int num_entries, in mlx4_ib_qp_sw_comp() argument
605 wq = is_send ? &qp->sq : &qp->rq; in mlx4_ib_qp_sw_comp()
617 wc->qp = &qp->ibqp; in mlx4_ib_qp_sw_comp()
625 struct mlx4_ib_qp *qp; in mlx4_ib_poll_sw_comp() local
631 list_for_each_entry(qp, &cq->send_qp_list, cq_send_list) { in mlx4_ib_poll_sw_comp()
632 mlx4_ib_qp_sw_comp(qp, num_entries, wc + *npolled, npolled, 1); in mlx4_ib_poll_sw_comp()
637 list_for_each_entry(qp, &cq->recv_qp_list, cq_recv_list) { in mlx4_ib_poll_sw_comp()
638 mlx4_ib_qp_sw_comp(qp, num_entries, wc + *npolled, npolled, 0); in mlx4_ib_poll_sw_comp()
723 wc->qp = &(*cur_qp)->ibqp; in mlx4_ib_poll_one()
725 if (wc->qp->qp_type == IB_QPT_XRC_TGT) { in mlx4_ib_poll_one()
843 is_eth = (rdma_port_get_link_layer(wc->qp->device, in mlx4_ib_poll_one()