/linux/drivers/infiniband/hw/mlx5/ |
A D | mem.c | 204 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 D | gsi.c | 347 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 D | qp.c | 4859 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 D | mlx5_ib.h | 1260 struct ib_qp_init_attr *qp_init_attr); 1445 struct ib_qp_init_attr *qp_init_attr);
|
/linux/drivers/infiniband/hw/mlx4/ |
A D | mad.c | 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() 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 D | qp.c | 3972 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 D | mlx4_ib.h | 803 struct ib_qp_init_attr *qp_init_attr);
|
/linux/drivers/infiniband/core/ |
A D | cma_trace.h | 175 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 D | verbs.c | 1175 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 D | mad.c | 2895 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 D | ib_verbs.h | 181 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 D | ib_verbs.c | 1408 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 D | usnic_ib_verbs.h | 48 struct ib_qp_init_attr *qp_init_attr);
|
A D | usnic_ib_verbs.c | 387 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 D | siw_verbs.c | 502 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 D | siw_verbs.h | 56 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr);
|
/linux/drivers/infiniband/hw/efa/ |
A D | efa_verbs.c | 289 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 D | efa.h | 141 struct ib_qp_init_attr *qp_init_attr);
|
/linux/include/rdma/ |
A D | rdma_cm.h | 197 struct ib_qp_init_attr *qp_init_attr);
|
A D | ib_verbs.h | 2444 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 D | pvrdma_verbs.h | 398 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr);
|
/linux/drivers/infiniband/hw/hns/ |
A D | hns_roce_hw_v1.c | 3388 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 D | hns_roce_hw_v2.c | 5113 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 D | mthca_dev.h | 520 struct ib_qp_init_attr *qp_init_attr);
|
A D | mthca_qp.c | 431 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()
|