Home
last modified time | relevance | path

Searched refs:qp_init_attr (Results 1 – 13 of 13) sorted by relevance

/linux-3.4.99/drivers/infiniband/core/
Dverbs.c410 struct ib_qp_init_attr *qp_init_attr) in ib_create_qp() argument
415 device = pd ? pd->device : qp_init_attr->xrcd->device; in ib_create_qp()
416 qp = device->create_qp(pd, qp_init_attr, NULL); in ib_create_qp()
422 qp->qp_type = qp_init_attr->qp_type; in ib_create_qp()
425 if (qp_init_attr->qp_type == IB_QPT_XRC_TGT) { in ib_create_qp()
431 qp->xrcd = qp_init_attr->xrcd; in ib_create_qp()
432 atomic_inc(&qp_init_attr->xrcd->usecnt); in ib_create_qp()
436 qp = __ib_open_qp(real_qp, qp_init_attr->event_handler, in ib_create_qp()
437 qp_init_attr->qp_context); in ib_create_qp()
439 __ib_insert_xrcd_qp(qp_init_attr->xrcd, real_qp); in ib_create_qp()
[all …]
Dmad.c2771 struct ib_qp_init_attr qp_init_attr; in create_mad_qp() local
2774 memset(&qp_init_attr, 0, sizeof qp_init_attr); in create_mad_qp()
2775 qp_init_attr.send_cq = qp_info->port_priv->cq; in create_mad_qp()
2776 qp_init_attr.recv_cq = qp_info->port_priv->cq; in create_mad_qp()
2777 qp_init_attr.sq_sig_type = IB_SIGNAL_ALL_WR; in create_mad_qp()
2778 qp_init_attr.cap.max_send_wr = mad_sendq_size; in create_mad_qp()
2779 qp_init_attr.cap.max_recv_wr = mad_recvq_size; in create_mad_qp()
2780 qp_init_attr.cap.max_send_sge = IB_MAD_SEND_REQ_MAX_SG; in create_mad_qp()
2781 qp_init_attr.cap.max_recv_sge = IB_MAD_RECV_REQ_MAX_SG; in create_mad_qp()
2782 qp_init_attr.qp_type = qp_type; in create_mad_qp()
[all …]
Dcma.c484 struct ib_qp_init_attr *qp_init_attr) in rdma_create_qp() argument
494 qp = ib_create_qp(pd, qp_init_attr); in rdma_create_qp()
/linux-3.4.99/drivers/infiniband/hw/ehca/
Dehca_sqp.c66 struct ib_qp_init_attr *qp_init_attr) in ehca_define_sqp() argument
70 u8 port = qp_init_attr->port_num; in ehca_define_sqp()
75 switch (qp_init_attr->qp_type) { in ehca_define_sqp()
83 (u32) qp_init_attr->port_num, in ehca_define_sqp()
98 qp_init_attr->qp_type); in ehca_define_sqp()
Dehca_main.c535 struct ib_qp_init_attr qp_init_attr; in ehca_create_aqp1() local
556 memset(&qp_init_attr, 0, sizeof(struct ib_qp_init_attr)); in ehca_create_aqp1()
557 qp_init_attr.send_cq = ibcq; in ehca_create_aqp1()
558 qp_init_attr.recv_cq = ibcq; in ehca_create_aqp1()
559 qp_init_attr.sq_sig_type = IB_SIGNAL_ALL_WR; in ehca_create_aqp1()
560 qp_init_attr.cap.max_send_wr = 100; in ehca_create_aqp1()
561 qp_init_attr.cap.max_recv_wr = 100; in ehca_create_aqp1()
562 qp_init_attr.cap.max_send_sge = 2; in ehca_create_aqp1()
563 qp_init_attr.cap.max_recv_sge = 1; in ehca_create_aqp1()
564 qp_init_attr.qp_type = IB_QPT_GSI; in ehca_create_aqp1()
[all …]
Dehca_qp.c956 struct ib_qp_init_attr *qp_init_attr, in ehca_create_qp() argument
961 ret = internal_create_qp(pd, qp_init_attr, NULL, udata, 0); in ehca_create_qp()
972 struct ib_qp_init_attr qp_init_attr; in ehca_create_srq() local
986 memset(&qp_init_attr, 0, sizeof(qp_init_attr)); in ehca_create_srq()
987 qp_init_attr.event_handler = srq_init_attr->event_handler; in ehca_create_srq()
988 qp_init_attr.qp_context = srq_init_attr->srq_context; in ehca_create_srq()
989 qp_init_attr.sq_sig_type = IB_SIGNAL_ALL_WR; in ehca_create_srq()
990 qp_init_attr.qp_type = IB_QPT_RC; in ehca_create_srq()
991 qp_init_attr.cap.max_recv_wr = srq_init_attr->attr.max_wr; in ehca_create_srq()
992 qp_init_attr.cap.max_recv_sge = srq_init_attr->attr.max_sge; in ehca_create_srq()
[all …]
Dehca_iverbs.h153 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr);
177 struct ib_qp_init_attr *qp_init_attr);
/linux-3.4.99/include/rdma/
Drdma_cm.h219 struct ib_qp_init_attr *qp_init_attr);
Dib_verbs.h1142 struct ib_qp_init_attr *qp_init_attr,
1151 struct ib_qp_init_attr *qp_init_attr);
1488 struct ib_qp_init_attr *qp_init_attr);
1517 struct ib_qp_init_attr *qp_init_attr);
/linux-3.4.99/drivers/infiniband/hw/mlx4/
Dmlx4_ib.h326 struct ib_qp_init_attr *qp_init_attr);
Dqp.c2081 struct ib_qp_init_attr *qp_init_attr) in mlx4_ib_query_qp() argument
2162 qp_init_attr->cap = qp_attr->cap; in mlx4_ib_query_qp()
2164 qp_init_attr->create_flags = 0; in mlx4_ib_query_qp()
2166 qp_init_attr->create_flags |= IB_QP_CREATE_BLOCK_MULTICAST_LOOPBACK; in mlx4_ib_query_qp()
2169 qp_init_attr->create_flags |= IB_QP_CREATE_IPOIB_UD_LSO; in mlx4_ib_query_qp()
/linux-3.4.99/drivers/infiniband/hw/mthca/
Dmthca_dev.h530 struct ib_qp_init_attr *qp_init_attr);
Dmthca_qp.c424 struct ib_qp_init_attr *qp_init_attr) in mthca_query_qp() argument
503 qp_init_attr->cap = qp_attr->cap; in mthca_query_qp()