Home
last modified time | relevance | path

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

12

/drivers/infiniband/hw/mlx5/
Dmem.c204 struct ib_qp_init_attr qp_init_attr = { in mlx5_ib_test_wc() local
246 qp_init_attr.recv_cq = cq; in mlx5_ib_test_wc()
247 qp_init_attr.send_cq = cq; in mlx5_ib_test_wc()
248 qp = ib_create_qp(pd, &qp_init_attr); in mlx5_ib_test_wc()
Dgsi.c347 struct ib_qp_init_attr *qp_init_attr) in mlx5_ib_gsi_query_qp() argument
353 ret = ib_query_qp(gsi->rx_qp, qp_attr, qp_attr_mask, qp_init_attr); in mlx5_ib_gsi_query_qp()
354 qp_init_attr->cap = gsi->cap; in mlx5_ib_gsi_query_qp()
Dqp.c4907 struct ib_qp_init_attr *qp_init_attr) in mlx5_ib_dct_query_qp() argument
4971 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr) in mlx5_ib_query_qp() argument
4983 qp_init_attr); in mlx5_ib_query_qp()
4986 memset(qp_init_attr, 0, sizeof(*qp_init_attr)); in mlx5_ib_query_qp()
4991 qp_attr_mask, qp_init_attr); in mlx5_ib_query_qp()
5016 qp_init_attr->qp_context = ibqp->qp_context; in mlx5_ib_query_qp()
5022 qp_init_attr->qp_type = qp->type; in mlx5_ib_query_qp()
5023 qp_init_attr->recv_cq = ibqp->recv_cq; in mlx5_ib_query_qp()
5024 qp_init_attr->send_cq = ibqp->send_cq; in mlx5_ib_query_qp()
5025 qp_init_attr->srq = ibqp->srq; in mlx5_ib_query_qp()
[all …]
Dmlx5_ib.h1227 struct ib_qp_init_attr *qp_init_attr);
1412 struct ib_qp_init_attr *qp_init_attr);
/drivers/infiniband/hw/mlx4/
Dmad.c1802 struct mlx4_ib_qp_tunnel_init_attr qp_init_attr; in create_pv_sqp() local
1812 memset(&qp_init_attr, 0, sizeof qp_init_attr); in create_pv_sqp()
1813 qp_init_attr.init_attr.send_cq = ctx->cq; in create_pv_sqp()
1814 qp_init_attr.init_attr.recv_cq = ctx->cq; in create_pv_sqp()
1815 qp_init_attr.init_attr.sq_sig_type = IB_SIGNAL_ALL_WR; in create_pv_sqp()
1816 qp_init_attr.init_attr.cap.max_send_wr = nmbr_bufs; in create_pv_sqp()
1817 qp_init_attr.init_attr.cap.max_recv_wr = nmbr_bufs; in create_pv_sqp()
1818 qp_init_attr.init_attr.cap.max_send_sge = 1; in create_pv_sqp()
1819 qp_init_attr.init_attr.cap.max_recv_sge = 1; in create_pv_sqp()
1821 qp_init_attr.init_attr.qp_type = IB_QPT_UD; in create_pv_sqp()
[all …]
Dqp.c3976 struct ib_qp_init_attr *qp_init_attr) in mlx4_ib_query_qp() argument
4063 qp_init_attr->cap = qp_attr->cap; in mlx4_ib_query_qp()
4065 qp_init_attr->create_flags = 0; in mlx4_ib_query_qp()
4067 qp_init_attr->create_flags |= IB_QP_CREATE_BLOCK_MULTICAST_LOOPBACK; in mlx4_ib_query_qp()
4070 qp_init_attr->create_flags |= IB_QP_CREATE_IPOIB_UD_LSO; in mlx4_ib_query_qp()
4073 qp_init_attr->create_flags |= IB_QP_CREATE_NETIF_QP; in mlx4_ib_query_qp()
4075 qp_init_attr->sq_sig_type = in mlx4_ib_query_qp()
Dmlx4_ib.h803 struct ib_qp_init_attr *qp_init_attr);
/drivers/infiniband/core/
Dcma_trace.h175 const struct ib_qp_init_attr *qp_init_attr,
179 TP_ARGS(id_priv, pd, qp_init_attr, rc),
198 __entry->send_wr = qp_init_attr->cap.max_send_wr;
199 __entry->recv_wr = qp_init_attr->cap.max_recv_wr;
Dverbs.c1177 struct ib_qp_init_attr *qp_init_attr) in create_xrc_qp_user() argument
1187 qp->xrcd = qp_init_attr->xrcd; in create_xrc_qp_user()
1188 atomic_inc(&qp_init_attr->xrcd->usecnt); in create_xrc_qp_user()
1191 qp = __ib_open_qp(real_qp, qp_init_attr->event_handler, in create_xrc_qp_user()
1192 qp_init_attr->qp_context); in create_xrc_qp_user()
1196 err = xa_err(xa_store(&qp_init_attr->xrcd->tgt_qps, real_qp->qp_num, in create_xrc_qp_user()
1338 struct ib_qp_init_attr *qp_init_attr, in ib_create_qp_kernel() argument
1351 if (qp_init_attr->cap.max_rdma_ctxs) in ib_create_qp_kernel()
1352 rdma_rw_init_qp(device, qp_init_attr); in ib_create_qp_kernel()
1354 qp = create_qp(device, pd, qp_init_attr, NULL, NULL, caller); in ib_create_qp_kernel()
[all …]
Dmad.c2890 struct ib_qp_init_attr qp_init_attr; in create_mad_qp() local
2893 memset(&qp_init_attr, 0, sizeof qp_init_attr); in create_mad_qp()
2894 qp_init_attr.send_cq = qp_info->port_priv->cq; in create_mad_qp()
2895 qp_init_attr.recv_cq = qp_info->port_priv->cq; in create_mad_qp()
2896 qp_init_attr.sq_sig_type = IB_SIGNAL_ALL_WR; in create_mad_qp()
2897 qp_init_attr.cap.max_send_wr = mad_sendq_size; in create_mad_qp()
2898 qp_init_attr.cap.max_recv_wr = mad_recvq_size; in create_mad_qp()
2899 qp_init_attr.cap.max_send_sge = IB_MAD_SEND_REQ_MAX_SG; in create_mad_qp()
2900 qp_init_attr.cap.max_recv_sge = IB_MAD_RECV_REQ_MAX_SG; in create_mad_qp()
2901 qp_init_attr.qp_type = qp_type; in create_mad_qp()
[all …]
Dcma.c948 struct ib_qp_init_attr *qp_init_attr) in rdma_create_qp() argument
960 qp_init_attr->port_num = id->port_num; in rdma_create_qp()
961 qp = ib_create_qp(pd, qp_init_attr); in rdma_create_qp()
977 trace_cm_qp_create(id_priv, pd, qp_init_attr, 0); in rdma_create_qp()
982 trace_cm_qp_create(id_priv, pd, qp_init_attr, ret); in rdma_create_qp()
/drivers/infiniband/hw/bnxt_re/
Dib_verbs.h182 int bnxt_re_create_qp(struct ib_qp *qp, struct ib_qp_init_attr *qp_init_attr,
187 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr);
Dib_verbs.c1414 int bnxt_re_create_qp(struct ib_qp *ib_qp, struct ib_qp_init_attr *qp_init_attr, in bnxt_re_create_qp() argument
1424 rc = bnxt_re_test_qp_limits(rdev, qp_init_attr, dev_attr); in bnxt_re_create_qp()
1431 rc = bnxt_re_init_qp_attr(qp, pd, qp_init_attr, udata); in bnxt_re_create_qp()
1435 if (qp_init_attr->qp_type == IB_QPT_GSI && in bnxt_re_create_qp()
1437 rc = bnxt_re_create_gsi_qp(qp, pd, qp_init_attr); in bnxt_re_create_qp()
1462 if (qp_init_attr->qp_type == IB_QPT_GSI) in bnxt_re_create_qp()
2057 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr) in bnxt_re_query_qp() argument
2099 qp_init_attr->sq_sig_type = qplib_qp->sig_type ? IB_SIGNAL_ALL_WR : in bnxt_re_query_qp()
2108 qp_init_attr->cap = qp_attr->cap; in bnxt_re_query_qp()
/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.h48 struct ib_qp_init_attr *qp_init_attr);
Dusnic_ib_verbs.c387 struct ib_qp_init_attr *qp_init_attr) in usnic_ib_query_qp() argument
396 memset(qp_init_attr, 0, sizeof(*qp_init_attr)); in usnic_ib_query_qp()
/drivers/infiniband/sw/siw/
Dsiw_verbs.c505 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr) in siw_query_qp() argument
510 if (base_qp && qp_attr && qp_init_attr) { in siw_query_qp()
529 qp_init_attr->qp_type = base_qp->qp_type; in siw_query_qp()
530 qp_init_attr->send_cq = base_qp->send_cq; in siw_query_qp()
531 qp_init_attr->recv_cq = base_qp->recv_cq; in siw_query_qp()
532 qp_init_attr->srq = base_qp->srq; in siw_query_qp()
534 qp_init_attr->cap = qp_attr->cap; in siw_query_qp()
Dsiw_verbs.h56 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr);
/drivers/infiniband/hw/efa/
Defa_verbs.c283 struct ib_qp_init_attr *qp_init_attr) in efa_query_qp() argument
303 memset(qp_init_attr, 0, sizeof(*qp_init_attr)); in efa_query_qp()
323 qp_init_attr->qp_type = ibqp->qp_type; in efa_query_qp()
324 qp_init_attr->recv_cq = ibqp->recv_cq; in efa_query_qp()
325 qp_init_attr->send_cq = ibqp->send_cq; in efa_query_qp()
326 qp_init_attr->qp_context = ibqp->qp_context; in efa_query_qp()
327 qp_init_attr->cap = qp_attr->cap; in efa_query_qp()
Defa.h126 struct ib_qp_init_attr *qp_init_attr);
/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_verbs.h398 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr);
/drivers/infiniband/hw/hns/
Dhns_roce_hw_v1.c3388 struct ib_qp_init_attr *qp_init_attr) in hns_roce_v1_q_sqp() argument
3448 qp_init_attr->cap = qp_attr->cap; in hns_roce_v1_q_sqp()
3449 qp_init_attr->create_flags = 0; in hns_roce_v1_q_sqp()
3458 struct ib_qp_init_attr *qp_init_attr) in hns_roce_v1_q_qp() argument
3473 memset(qp_init_attr, 0, sizeof(*qp_init_attr)); in hns_roce_v1_q_qp()
3589 qp_init_attr->cap = qp_attr->cap; in hns_roce_v1_q_qp()
3599 struct ib_qp_init_attr *qp_init_attr) in hns_roce_v1_query_qp() argument
3604 hns_roce_v1_q_sqp(ibqp, qp_attr, qp_attr_mask, qp_init_attr) : in hns_roce_v1_query_qp()
3605 hns_roce_v1_q_qp(ibqp, qp_attr, qp_attr_mask, qp_init_attr); in hns_roce_v1_query_qp()
Dhns_roce_hw_v2.c5108 struct ib_qp_init_attr *qp_init_attr) in hns_roce_v2_query_qp() argument
5119 memset(qp_init_attr, 0, sizeof(*qp_init_attr)); in hns_roce_v2_query_qp()
5196 qp_init_attr->qp_context = ibqp->qp_context; in hns_roce_v2_query_qp()
5197 qp_init_attr->qp_type = ibqp->qp_type; in hns_roce_v2_query_qp()
5198 qp_init_attr->recv_cq = ibqp->recv_cq; in hns_roce_v2_query_qp()
5199 qp_init_attr->send_cq = ibqp->send_cq; in hns_roce_v2_query_qp()
5200 qp_init_attr->srq = ibqp->srq; in hns_roce_v2_query_qp()
5201 qp_init_attr->cap = qp_attr->cap; in hns_roce_v2_query_qp()
5202 qp_init_attr->sq_sig_type = hr_qp->sq_signal_bits; in hns_roce_v2_query_qp()
/drivers/infiniband/hw/mthca/
Dmthca_dev.h520 struct ib_qp_init_attr *qp_init_attr);
Dmthca_qp.c431 struct ib_qp_init_attr *qp_init_attr) in mthca_query_qp() argument
511 qp_init_attr->cap = qp_attr->cap; in mthca_query_qp()
512 qp_init_attr->sq_sig_type = qp->sq_policy; in mthca_query_qp()
/drivers/infiniband/hw/qedr/
Dverbs.c2743 int attr_mask, struct ib_qp_init_attr *qp_init_attr) in qedr_query_qp() argument
2752 memset(qp_init_attr, 0, sizeof(*qp_init_attr)); in qedr_query_qp()
2777 qp_init_attr->cap = qp_attr->cap; in qedr_query_qp()

12