/drivers/infiniband/hw/mlx5/ |
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()
|
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()
|
D | qp.c | 4907 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 …]
|
D | mlx5_ib.h | 1227 struct ib_qp_init_attr *qp_init_attr); 1412 struct ib_qp_init_attr *qp_init_attr);
|
/drivers/infiniband/hw/mlx4/ |
D | mad.c | 1802 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 …]
|
D | qp.c | 3976 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()
|
D | mlx4_ib.h | 803 struct ib_qp_init_attr *qp_init_attr);
|
/drivers/infiniband/core/ |
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;
|
D | verbs.c | 1177 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 …]
|
D | mad.c | 2890 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 …]
|
D | cma.c | 948 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/ |
D | ib_verbs.h | 182 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);
|
D | ib_verbs.c | 1414 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/ |
D | usnic_ib_verbs.h | 48 struct ib_qp_init_attr *qp_init_attr);
|
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()
|
/drivers/infiniband/sw/siw/ |
D | siw_verbs.c | 505 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()
|
D | siw_verbs.h | 56 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr);
|
/drivers/infiniband/hw/efa/ |
D | efa_verbs.c | 283 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()
|
D | efa.h | 126 struct ib_qp_init_attr *qp_init_attr);
|
/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_verbs.h | 398 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr);
|
/drivers/infiniband/hw/hns/ |
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()
|
D | hns_roce_hw_v2.c | 5108 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/ |
D | mthca_dev.h | 520 struct ib_qp_init_attr *qp_init_attr);
|
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()
|
/drivers/infiniband/hw/qedr/ |
D | verbs.c | 2743 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()
|