Home
last modified time | relevance | path

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

12

/linux/drivers/infiniband/hw/mlx5/
A 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()
A 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()
A Dqp.c4859 struct ib_qp_init_attr *qp_init_attr) in mlx5_ib_dct_query_qp() argument
4935 qp_init_attr); in mlx5_ib_query_qp()
4938 memset(qp_init_attr, 0, sizeof(*qp_init_attr)); in mlx5_ib_query_qp()
4943 qp_attr_mask, qp_init_attr); in mlx5_ib_query_qp()
4968 qp_init_attr->qp_context = ibqp->qp_context; in mlx5_ib_query_qp()
4974 qp_init_attr->qp_type = qp->type; in mlx5_ib_query_qp()
4975 qp_init_attr->recv_cq = ibqp->recv_cq; in mlx5_ib_query_qp()
4976 qp_init_attr->send_cq = ibqp->send_cq; in mlx5_ib_query_qp()
4977 qp_init_attr->srq = ibqp->srq; in mlx5_ib_query_qp()
4980 qp_init_attr->cap = qp_attr->cap; in mlx5_ib_query_qp()
[all …]
A Dmlx5_ib.h1260 struct ib_qp_init_attr *qp_init_attr);
1445 struct ib_qp_init_attr *qp_init_attr);
/linux/drivers/infiniband/hw/mlx4/
A Dmad.c1812 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()
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()
1823 qp_init_attr.port = ctx->port; in create_pv_sqp()
1824 qp_init_attr.slave = ctx->slave; in create_pv_sqp()
1825 qp_init_attr.proxy_qp_type = qp_type; in create_pv_sqp()
1829 qp_init_attr.init_attr.qp_type = qp_type; in create_pv_sqp()
[all …]
A Dqp.c3972 struct ib_qp_init_attr *qp_init_attr) in mlx4_ib_query_qp() argument
4059 qp_init_attr->cap = qp_attr->cap; in mlx4_ib_query_qp()
4061 qp_init_attr->create_flags = 0; in mlx4_ib_query_qp()
4063 qp_init_attr->create_flags |= IB_QP_CREATE_BLOCK_MULTICAST_LOOPBACK; in mlx4_ib_query_qp()
4066 qp_init_attr->create_flags |= IB_QP_CREATE_IPOIB_UD_LSO; in mlx4_ib_query_qp()
4069 qp_init_attr->create_flags |= IB_QP_CREATE_NETIF_QP; in mlx4_ib_query_qp()
4071 qp_init_attr->sq_sig_type = in mlx4_ib_query_qp()
A Dmlx4_ib.h803 struct ib_qp_init_attr *qp_init_attr);
/linux/drivers/infiniband/core/
A 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;
A Dverbs.c1175 struct ib_qp_init_attr *qp_init_attr) in create_xrc_qp_user() argument
1185 qp->xrcd = qp_init_attr->xrcd; in create_xrc_qp_user()
1186 atomic_inc(&qp_init_attr->xrcd->usecnt); in create_xrc_qp_user()
1190 qp_init_attr->qp_context); in create_xrc_qp_user()
1336 struct ib_qp_init_attr *qp_init_attr, in ib_create_qp_kernel() argument
1349 if (qp_init_attr->cap.max_rdma_ctxs) in ib_create_qp_kernel()
1350 rdma_rw_init_qp(device, qp_init_attr); in ib_create_qp_kernel()
1358 if (qp_init_attr->cap.max_rdma_ctxs) { in ib_create_qp_kernel()
1359 ret = rdma_rw_init_mrs(qp, qp_init_attr); in ib_create_qp_kernel()
1952 struct ib_qp_init_attr *qp_init_attr) in ib_query_qp() argument
[all …]
A Dmad.c2895 struct ib_qp_init_attr qp_init_attr; in create_mad_qp() local
2898 memset(&qp_init_attr, 0, sizeof qp_init_attr); in create_mad_qp()
2899 qp_init_attr.send_cq = qp_info->port_priv->cq; in create_mad_qp()
2900 qp_init_attr.recv_cq = qp_info->port_priv->cq; in create_mad_qp()
2901 qp_init_attr.sq_sig_type = IB_SIGNAL_ALL_WR; in create_mad_qp()
2902 qp_init_attr.cap.max_send_wr = mad_sendq_size; in create_mad_qp()
2903 qp_init_attr.cap.max_recv_wr = mad_recvq_size; in create_mad_qp()
2906 qp_init_attr.qp_type = qp_type; in create_mad_qp()
2907 qp_init_attr.port_num = qp_info->port_priv->port_num; in create_mad_qp()
2908 qp_init_attr.qp_context = qp_info; in create_mad_qp()
[all …]
/linux/drivers/infiniband/hw/bnxt_re/
A Dib_verbs.h181 int bnxt_re_create_qp(struct ib_qp *qp, struct ib_qp_init_attr *qp_init_attr,
186 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr);
A Dib_verbs.c1408 int bnxt_re_create_qp(struct ib_qp *ib_qp, struct ib_qp_init_attr *qp_init_attr, in bnxt_re_create_qp() argument
1418 rc = bnxt_re_test_qp_limits(rdev, qp_init_attr, dev_attr); in bnxt_re_create_qp()
1425 rc = bnxt_re_init_qp_attr(qp, pd, qp_init_attr, udata); in bnxt_re_create_qp()
1429 if (qp_init_attr->qp_type == IB_QPT_GSI && in bnxt_re_create_qp()
1431 rc = bnxt_re_create_gsi_qp(qp, pd, qp_init_attr); in bnxt_re_create_qp()
1456 if (qp_init_attr->qp_type == IB_QPT_GSI) in bnxt_re_create_qp()
2051 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr) in bnxt_re_query_qp() argument
2093 qp_init_attr->sq_sig_type = qplib_qp->sig_type ? IB_SIGNAL_ALL_WR : in bnxt_re_query_qp()
2102 qp_init_attr->cap = qp_attr->cap; in bnxt_re_query_qp()
/linux/drivers/infiniband/hw/usnic/
A Dusnic_ib_verbs.h48 struct ib_qp_init_attr *qp_init_attr);
A 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()
/linux/drivers/infiniband/sw/siw/
A Dsiw_verbs.c502 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr) in siw_query_qp() argument
507 if (base_qp && qp_attr && qp_init_attr) { in siw_query_qp()
526 qp_init_attr->qp_type = base_qp->qp_type; in siw_query_qp()
527 qp_init_attr->send_cq = base_qp->send_cq; in siw_query_qp()
528 qp_init_attr->recv_cq = base_qp->recv_cq; in siw_query_qp()
529 qp_init_attr->srq = base_qp->srq; in siw_query_qp()
531 qp_init_attr->cap = qp_attr->cap; in siw_query_qp()
A Dsiw_verbs.h56 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr);
/linux/drivers/infiniband/hw/efa/
A Defa_verbs.c289 struct ib_qp_init_attr *qp_init_attr) in efa_query_qp() argument
309 memset(qp_init_attr, 0, sizeof(*qp_init_attr)); in efa_query_qp()
329 qp_init_attr->qp_type = ibqp->qp_type; in efa_query_qp()
330 qp_init_attr->recv_cq = ibqp->recv_cq; in efa_query_qp()
331 qp_init_attr->send_cq = ibqp->send_cq; in efa_query_qp()
332 qp_init_attr->qp_context = ibqp->qp_context; in efa_query_qp()
333 qp_init_attr->cap = qp_attr->cap; in efa_query_qp()
A Defa.h141 struct ib_qp_init_attr *qp_init_attr);
/linux/include/rdma/
A Drdma_cm.h197 struct ib_qp_init_attr *qp_init_attr);
A Dib_verbs.h2444 int (*create_qp)(struct ib_qp *qp, struct ib_qp_init_attr *qp_init_attr,
2449 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr);
3709 struct ib_qp_init_attr *qp_init_attr,
3768 struct ib_qp_init_attr *qp_init_attr);
/linux/drivers/infiniband/hw/vmw_pvrdma/
A Dpvrdma_verbs.h398 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr);
/linux/drivers/infiniband/hw/hns/
A 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()
A Dhns_roce_hw_v2.c5113 struct ib_qp_init_attr *qp_init_attr) in hns_roce_v2_query_qp() argument
5124 memset(qp_init_attr, 0, sizeof(*qp_init_attr)); in hns_roce_v2_query_qp()
5199 qp_init_attr->qp_context = ibqp->qp_context; in hns_roce_v2_query_qp()
5200 qp_init_attr->qp_type = ibqp->qp_type; in hns_roce_v2_query_qp()
5201 qp_init_attr->recv_cq = ibqp->recv_cq; in hns_roce_v2_query_qp()
5202 qp_init_attr->send_cq = ibqp->send_cq; in hns_roce_v2_query_qp()
5203 qp_init_attr->srq = ibqp->srq; in hns_roce_v2_query_qp()
5204 qp_init_attr->cap = qp_attr->cap; in hns_roce_v2_query_qp()
5205 qp_init_attr->sq_sig_type = hr_qp->sq_signal_bits; in hns_roce_v2_query_qp()
/linux/drivers/infiniband/hw/mthca/
A Dmthca_dev.h520 struct ib_qp_init_attr *qp_init_attr);
A 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()

Completed in 122 milliseconds

12