Home
last modified time | relevance | path

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

/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.c532 struct ib_qp_init_attr qp_init_attr; in ehca_create_aqp1() local
553 memset(&qp_init_attr, 0, sizeof(struct ib_qp_init_attr)); in ehca_create_aqp1()
554 qp_init_attr.send_cq = ibcq; in ehca_create_aqp1()
555 qp_init_attr.recv_cq = ibcq; in ehca_create_aqp1()
556 qp_init_attr.sq_sig_type = IB_SIGNAL_ALL_WR; in ehca_create_aqp1()
557 qp_init_attr.cap.max_send_wr = 100; in ehca_create_aqp1()
558 qp_init_attr.cap.max_recv_wr = 100; in ehca_create_aqp1()
559 qp_init_attr.cap.max_send_sge = 2; in ehca_create_aqp1()
560 qp_init_attr.cap.max_recv_sge = 1; in ehca_create_aqp1()
561 qp_init_attr.qp_type = IB_QPT_GSI; in ehca_create_aqp1()
[all …]
Dehca_qp.c951 struct ib_qp_init_attr *qp_init_attr, in ehca_create_qp() argument
956 ret = internal_create_qp(pd, qp_init_attr, NULL, udata, 0); in ehca_create_qp()
967 struct ib_qp_init_attr qp_init_attr; in ehca_create_srq() local
978 memset(&qp_init_attr, 0, sizeof(qp_init_attr)); in ehca_create_srq()
979 qp_init_attr.event_handler = srq_init_attr->event_handler; in ehca_create_srq()
980 qp_init_attr.qp_context = srq_init_attr->srq_context; in ehca_create_srq()
981 qp_init_attr.sq_sig_type = IB_SIGNAL_ALL_WR; in ehca_create_srq()
982 qp_init_attr.qp_type = IB_QPT_RC; in ehca_create_srq()
983 qp_init_attr.cap.max_recv_wr = srq_init_attr->attr.max_wr; in ehca_create_srq()
984 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);
/drivers/infiniband/core/
Dverbs.c284 struct ib_qp_init_attr *qp_init_attr) in ib_create_qp() argument
288 qp = pd->device->create_qp(pd, qp_init_attr, NULL); in ib_create_qp()
293 qp->send_cq = qp_init_attr->send_cq; in ib_create_qp()
294 qp->recv_cq = qp_init_attr->recv_cq; in ib_create_qp()
295 qp->srq = qp_init_attr->srq; in ib_create_qp()
297 qp->event_handler = qp_init_attr->event_handler; in ib_create_qp()
298 qp->qp_context = qp_init_attr->qp_context; in ib_create_qp()
299 qp->qp_type = qp_init_attr->qp_type; in ib_create_qp()
301 atomic_inc(&qp_init_attr->send_cq->usecnt); in ib_create_qp()
302 atomic_inc(&qp_init_attr->recv_cq->usecnt); in ib_create_qp()
[all …]
Dmad.c2732 struct ib_qp_init_attr qp_init_attr; in create_mad_qp() local
2735 memset(&qp_init_attr, 0, sizeof qp_init_attr); in create_mad_qp()
2736 qp_init_attr.send_cq = qp_info->port_priv->cq; in create_mad_qp()
2737 qp_init_attr.recv_cq = qp_info->port_priv->cq; in create_mad_qp()
2738 qp_init_attr.sq_sig_type = IB_SIGNAL_ALL_WR; in create_mad_qp()
2739 qp_init_attr.cap.max_send_wr = IB_MAD_QP_SEND_SIZE; in create_mad_qp()
2740 qp_init_attr.cap.max_recv_wr = IB_MAD_QP_RECV_SIZE; in create_mad_qp()
2741 qp_init_attr.cap.max_send_sge = IB_MAD_SEND_REQ_MAX_SG; in create_mad_qp()
2742 qp_init_attr.cap.max_recv_sge = IB_MAD_RECV_REQ_MAX_SG; in create_mad_qp()
2743 qp_init_attr.qp_type = qp_type; in create_mad_qp()
[all …]
Dcma.c444 struct ib_qp_init_attr *qp_init_attr) in rdma_create_qp() argument
454 qp = ib_create_qp(pd, qp_init_attr); in rdma_create_qp()
/drivers/infiniband/hw/mlx4/
Dmlx4_ib.h293 struct ib_qp_init_attr *qp_init_attr);
Dqp.c1860 struct ib_qp_init_attr *qp_init_attr) in mlx4_ib_query_qp() argument
1941 qp_init_attr->cap = qp_attr->cap; in mlx4_ib_query_qp()
1943 qp_init_attr->create_flags = 0; in mlx4_ib_query_qp()
1945 qp_init_attr->create_flags |= IB_QP_CREATE_BLOCK_MULTICAST_LOOPBACK; in mlx4_ib_query_qp()
1948 qp_init_attr->create_flags |= IB_QP_CREATE_IPOIB_UD_LSO; in mlx4_ib_query_qp()
/drivers/infiniband/hw/mthca/
Dmthca_dev.h528 struct ib_qp_init_attr *qp_init_attr);
Dmthca_qp.c427 struct ib_qp_init_attr *qp_init_attr) in mthca_query_qp() argument
510 qp_init_attr->cap = qp_attr->cap; in mthca_query_qp()