Home
last modified time | relevance | path

Searched refs:qp_num (Results 1 – 25 of 31) sorted by relevance

12

/drivers/infiniband/hw/ehca/
Dehca_qp.c823 my_qp->ib_qp.qp_num = ib_qp_num; in internal_create_qp()
891 resp.qp_num = my_qp->real_qp_num; in internal_create_qp()
1073 int qp_num = my_qp->ib_qp.qp_num; in prepare_sqe_rts() local
1082 my_qp, qp_num, h_ret); in prepare_sqe_rts()
1087 qp_num, bad_send_wqe_p); in prepare_sqe_rts()
1091 ehca_dmp(bad_send_wqe_v, 32, "qp_num=%x bad_wqe", qp_num); in prepare_sqe_rts()
1095 " bad_send_wqe_p=%p", qp_num, bad_send_wqe_p); in prepare_sqe_rts()
1104 ehca_dmp(wqe, 32, "qp_num=%x wqe", qp_num); in prepare_sqe_rts()
1116 qp_num, (*bad_wqe_cnt)-1); in prepare_sqe_rts()
1161 int qp_num = my_qp->ib_qp.qp_num; in check_for_left_cqes() local
[all …]
Dehca_uverbs.c203 ehca_dbg(qp->ib_qp.device, "qp_num=%x fw", qp->ib_qp.qp_num); in ehca_mmap_qp()
208 ret, qp->ib_qp.qp_num); in ehca_mmap_qp()
214 ehca_dbg(qp->ib_qp.device, "qp_num=%x rq", qp->ib_qp.qp_num); in ehca_mmap_qp()
220 ret, qp->ib_qp.qp_num); in ehca_mmap_qp()
226 ehca_dbg(qp->ib_qp.device, "qp_num=%x sq", qp->ib_qp.qp_num); in ehca_mmap_qp()
232 ret, qp->ib_qp.qp_num); in ehca_mmap_qp()
239 rsrc_type, qp->ib_qp.qp_num); in ehca_mmap_qp()
296 ret, qp->ib_qp.qp_num); in ehca_mmap()
Dehca_mcast.c91 "h_ret=%lli", my_qp, ibqp->qp_num, h_ret); in ehca_attach_mcast()
128 "h_ret=%lli", my_qp, ibqp->qp_num, h_ret); in ehca_detach_mcast()
Dehca_classes.h406 u32 qp_num; member
478 int ehca_cq_unassign_qp(struct ehca_cq *cq, unsigned int qp_num);
479 struct ehca_qp *ehca_cq_get_qp(struct ehca_cq *cq, int qp_num);
Dehca_reqs.c418 "qp_num=%x", my_qp->ib_qp.qp_num); in post_one_send()
439 "qp_num=%x", my_qp->ib_qp.qp_num); in post_one_send()
459 my_qp->state, qp->qp_num); in ehca_post_send()
481 ehca_dbg(qp->device, "posted circ wr qp_num=%x", qp->qp_num); in ehca_post_send()
503 my_qp, qp->qp_num, wqe_cnt, ret); in ehca_post_send()
599 my_qp->state, qp->qp_num); in ehca_post_recv()
Dehca_cq.c55 unsigned int qp_num = qp->real_qp_num; in ehca_cq_assign_qp() local
56 unsigned int key = qp_num & (QP_HASHTAB_LEN-1); in ehca_cq_assign_qp()
64 cq->cq_number, qp_num); in ehca_cq_assign_qp()
Dehca_irq.c103 qp->ib_qp.qp_num, resource); in print_error_data()
/drivers/infiniband/hw/mthca/
Dmthca_mcg.c176 if (mgm->qp[i] == cpu_to_be32(ibqp->qp_num | (1 << 31))) { in mthca_multicast_attach()
178 ibqp->qp_num); in mthca_multicast_attach()
182 mgm->qp[i] = cpu_to_be32(ibqp->qp_num | (1 << 31)); in mthca_multicast_attach()
263 if (mgm->qp[i] == cpu_to_be32(ibqp->qp_num | (1 << 31))) in mthca_multicast_detach()
270 mthca_err(dev, "QP %06x not found in MGM\n", ibqp->qp_num); in mthca_multicast_detach()
Dmthca_provider.c611 qp->ibqp.qp_num = qp->qpn; in mthca_create_qp()
625 qp->ibqp.qp_num = init_attr->qp_type == IB_QPT_SMI ? 0 : 1; in mthca_create_qp()
631 qp->ibqp.qp_num, init_attr->port_num, in mthca_create_qp()
Dmthca_qp.c1500 mlx->flags |= cpu_to_be32((!sqp->qp.ibqp.qp_num ? MTHCA_MLX_VL15 : 0) | in build_mlx_header()
1521 sqp->ud_header.lrh.virtual_lane = !sqp->qp.ibqp.qp_num ? 15 : 0; in build_mlx_header()
1525 if (!sqp->qp.ibqp.qp_num) in build_mlx_header()
1536 sqp->ud_header.deth.source_qpn = cpu_to_be32(sqp->qp.ibqp.qp_num); in build_mlx_header()
/drivers/infiniband/hw/ipath/
Dipath_ud.c78 if (unlikely(qp->ibqp.qp_num && in ipath_ud_loopback()
215 wc.src_qp = sqp->ibqp.qp_num; in ipath_ud_loopback()
382 ohdr->u.ud.deth[1] = cpu_to_be32(qp->ibqp.qp_num); in ipath_make_ud_req()
452 if (qp->ibqp.qp_num) { in ipath_ud_rcv()
479 if (qp->ibqp.qp_num > 1 && in ipath_ud_rcv()
506 if (unlikely((qp->ibqp.qp_num == 0 && in ipath_ud_rcv()
509 (qp->ibqp.qp_num == 1 && in ipath_ud_rcv()
534 if (qp->ibqp.qp_num == 0) in ipath_ud_rcv()
Dipath_qp.c216 qp->ibqp.qp_num = ret; in ipath_alloc_qpn()
249 qpp = &qpt->table[qp->ibqp.qp_num % qpt->max]; in ipath_free_qp()
307 if (qp->ibqp.qp_num == qpn) { in ipath_lookup_qpn()
940 free_qpn(&dev->qp_table, qp->ibqp.qp_num); in ipath_create_qp()
998 free_qpn(&dev->qp_table, qp->ibqp.qp_num); in ipath_destroy_qp()
Dipath_cq.c86 wc->uqueue[head].qp_num = entry->qp->qp_num; in ipath_cq_enter()
Dipath_verbs.c587 u32 qp_num; in ipath_ib_rcv() local
626 qp_num = be32_to_cpu(ohdr->bth[1]) & IPATH_QPN_MASK; in ipath_ib_rcv()
627 if (qp_num == IPATH_MULTICAST_QPN) { in ipath_ib_rcv()
650 qp = ipath_lookup_qpn(&dev->qp_table, qp_num); in ipath_ib_rcv()
/drivers/infiniband/ulp/ipoib/
Dipoib_verbs.c202 priv->dev->dev_addr[1] = (priv->qp->qp_num >> 16) & 0xff; in ipoib_transport_dev_init()
203 priv->dev->dev_addr[2] = (priv->qp->qp_num >> 8) & 0xff; in ipoib_transport_dev_init()
204 priv->dev->dev_addr[3] = (priv->qp->qp_num ) & 0xff; in ipoib_transport_dev_init()
Dipoib_cm.c426 data.qpn = cpu_to_be32(priv->qp->qp_num); in ipoib_cm_send_rep()
434 rep.qp_num = qp->qp_num; in ipoib_cm_send_rep()
724 tx->tx_head, skb->len, tx->qp->qp_num); in ipoib_cm_send()
756 tx->qp->qp_num); in ipoib_cm_send()
846 ret = ib_cm_listen(priv->cm.id, cpu_to_be64(IPOIB_CM_IETF_ID | priv->qp->qp_num), in ipoib_cm_dev_open()
850 IPOIB_CM_IETF_ID | priv->qp->qp_num); in ipoib_cm_dev_open()
1038 data.qpn = cpu_to_be32(priv->qp->qp_num); in ipoib_cm_send_req()
1044 req.qp_num = qp->qp_num; in ipoib_cm_send_req()
1132 p->qp->qp_num, pathrec->dgid.raw, qpn); in ipoib_cm_tx_init()
1156 p->qp ? p->qp->qp_num : 0, p->tx_head, p->tx_tail); in ipoib_cm_tx_destroy()
/drivers/infiniband/core/
Dcma.c147 u32 qp_num; member
466 id_priv->qp_num = qp->qp_num; in rdma_create_qp()
918 event->param.conn.qp_num = rep_data->remote_qpn; in cma_set_rep_event_data()
1096 event->param.conn.qp_num = req_data->remote_qpn; in cma_set_req_event_data()
2212 event.param.ud.qp_num = rep->qpn; in cma_sidr_rep_handler()
2320 req.qp_num = id_priv->qp_num; in cma_connect_ib()
2375 iw_param.qpn = id_priv->qp_num; in cma_connect_iw()
2377 iw_param.qpn = conn_param->qp_num; in cma_connect_iw()
2397 id_priv->qp_num = conn_param->qp_num; in rdma_connect()
2440 rep.qp_num = id_priv->qp_num; in cma_accept_ib()
[all …]
Ducma.c209 dst->qp_num = src->qp_num; in ucma_copy_conn_event()
220 dst->qp_num = src->qp_num; in ucma_copy_ud_event()
645 dst->qp_num = src->qp_num; in ucma_copy_conn_param()
Dmad.c1640 static int validate_mad(struct ib_mad *mad, u32 qp_num) in validate_mad() argument
1654 if (qp_num == 0) in validate_mad()
1658 if (qp_num != 0) in validate_mad()
1873 if (!validate_mad(&recv->mad.mad, qp_info->qp->qp_num)) in ib_mad_recv_done_handler()
1922 qp_info->qp->qp_num); in ib_mad_recv_done_handler()
1946 qp_info->qp->qp_num); in ib_mad_recv_done_handler()
2652 attr->qkey = (qp->qp_num == 0) ? 0 : IB_QP1_QKEY; in ib_mad_port_start()
2704 event->event, qp_info->qp->qp_num); in qp_event_handler()
Ducm.c776 param.qp_num = cmd.qpn; in ib_ucm_send_req()
822 param.qp_num = cmd.qpn; in ib_ucm_send_rep()
1073 param.qp_num = cmd.qpn; in ib_ucm_send_sidr_rep()
Duverbs_cmd.c921 resp->wc[i].qp_num = wc[i].qp->qp_num; in ib_uverbs_poll_cq()
1105 resp.qpn = qp->qp_num; in ib_uverbs_create_qp()
/drivers/infiniband/hw/nes/
Dnes_verbs.c1206 u32 qp_num = 0; in nes_create_qp() local
1249 nesadapter->max_qp, &qp_num, &nesadapter->next_qp); in nes_create_qp()
1257 nes_free_resource(nesadapter, nesadapter->allocated_qps, qp_num); in nes_create_qp()
1272 nes_free_resource(nesadapter, nesadapter->allocated_qps, qp_num); in nes_create_qp()
1297 nes_free_resource(nesadapter, nesadapter->allocated_qps, qp_num); in nes_create_qp()
1312 nes_free_resource(nesadapter, nesadapter->allocated_qps, qp_num); in nes_create_qp()
1325 nes_free_resource(nesadapter, nesadapter->allocated_qps, qp_num); in nes_create_qp()
1335 nes_free_resource(nesadapter, nesadapter->allocated_qps, qp_num); in nes_create_qp()
1348 nesqp->hwqp.qp_id = qp_num; in nes_create_qp()
1349 nesqp->ibqp.qp_num = nesqp->hwqp.qp_id; in nes_create_qp()
[all …]
Dnes.c251 ibqp->qp_num, atomic_read(&nesqp->refcount)); in nes_add_ref()
304 __func__, ibqp->qp_num, nesqp->last_aeq); in nes_rem_ref()
/drivers/infiniband/hw/mlx4/
Dqp.c727 qp->ibqp.qp_num = qp->mqp.qpn; in mlx4_ib_create_qp()
755 qp->ibqp.qp_num = init_attr->qp_type == IB_QPT_SMI ? 0 : 1; in mlx4_ib_create_qp()
1245 mlx->flags |= cpu_to_be32((!sqp->qp.ibqp.qp_num ? MLX4_WQE_MLX_VL15 : 0) | in build_mlx_header()
1265 sqp->ud_header.lrh.virtual_lane = !sqp->qp.ibqp.qp_num ? 15 : 0; in build_mlx_header()
1269 if (!sqp->qp.ibqp.qp_num) in build_mlx_header()
1278 sqp->ud_header.deth.source_qpn = cpu_to_be32(sqp->qp.ibqp.qp_num); in build_mlx_header()
Dmad.c93 ext_info->my_qpn = cpu_to_be32(in_wc->qp->qp_num); in mlx4_MAD_IFC()

12