Home
last modified time | relevance | path

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

12

/drivers/infiniband/core/
Dverbs.c1125 struct ib_qp_init_attr *qp_init_attr, in create_xrc_qp_user() argument
1135 qp->xrcd = qp_init_attr->xrcd; in create_xrc_qp_user()
1136 atomic_inc(&qp_init_attr->xrcd->usecnt); in create_xrc_qp_user()
1139 qp = __ib_open_qp(real_qp, qp_init_attr->event_handler, in create_xrc_qp_user()
1140 qp_init_attr->qp_context); in create_xrc_qp_user()
1144 __ib_insert_xrcd_qp(qp_init_attr->xrcd, real_qp); in create_xrc_qp_user()
1149 struct ib_qp_init_attr *qp_init_attr, in ib_create_qp_user() argument
1152 struct ib_device *device = pd ? pd->device : qp_init_attr->xrcd->device; in ib_create_qp_user()
1156 if (qp_init_attr->rwq_ind_tbl && in ib_create_qp_user()
1157 (qp_init_attr->recv_cq || in ib_create_qp_user()
[all …]
Dmad.c3150 struct ib_qp_init_attr qp_init_attr; in create_mad_qp() local
3153 memset(&qp_init_attr, 0, sizeof qp_init_attr); in create_mad_qp()
3154 qp_init_attr.send_cq = qp_info->port_priv->cq; in create_mad_qp()
3155 qp_init_attr.recv_cq = qp_info->port_priv->cq; in create_mad_qp()
3156 qp_init_attr.sq_sig_type = IB_SIGNAL_ALL_WR; in create_mad_qp()
3157 qp_init_attr.cap.max_send_wr = mad_sendq_size; in create_mad_qp()
3158 qp_init_attr.cap.max_recv_wr = mad_recvq_size; in create_mad_qp()
3159 qp_init_attr.cap.max_send_sge = IB_MAD_SEND_REQ_MAX_SG; in create_mad_qp()
3160 qp_init_attr.cap.max_recv_sge = IB_MAD_RECV_REQ_MAX_SG; in create_mad_qp()
3161 qp_init_attr.qp_type = qp_type; in create_mad_qp()
[all …]
Dnldev.c431 struct ib_qp_init_attr qp_init_attr; in fill_res_qp_entry() local
435 ret = ib_query_qp(qp, &qp_attr, 0, &qp_init_attr); in fill_res_qp_entry()
Dcma.c951 struct ib_qp_init_attr *qp_init_attr) in rdma_create_qp() argument
961 qp_init_attr->port_num = id->port_num; in rdma_create_qp()
962 qp = ib_create_qp(pd, qp_init_attr); in rdma_create_qp()
/drivers/infiniband/hw/mlx4/
Dmad.c1801 struct mlx4_ib_qp_tunnel_init_attr qp_init_attr; in create_pv_sqp() local
1810 memset(&qp_init_attr, 0, sizeof qp_init_attr); in create_pv_sqp()
1811 qp_init_attr.init_attr.send_cq = ctx->cq; in create_pv_sqp()
1812 qp_init_attr.init_attr.recv_cq = ctx->cq; in create_pv_sqp()
1813 qp_init_attr.init_attr.sq_sig_type = IB_SIGNAL_ALL_WR; in create_pv_sqp()
1814 qp_init_attr.init_attr.cap.max_send_wr = MLX4_NUM_TUNNEL_BUFS; in create_pv_sqp()
1815 qp_init_attr.init_attr.cap.max_recv_wr = MLX4_NUM_TUNNEL_BUFS; in create_pv_sqp()
1816 qp_init_attr.init_attr.cap.max_send_sge = 1; in create_pv_sqp()
1817 qp_init_attr.init_attr.cap.max_recv_sge = 1; in create_pv_sqp()
1819 qp_init_attr.init_attr.qp_type = IB_QPT_UD; in create_pv_sqp()
[all …]
Dqp.c4015 struct ib_qp_init_attr *qp_init_attr) in mlx4_ib_query_qp() argument
4100 qp_init_attr->cap = qp_attr->cap; in mlx4_ib_query_qp()
4102 qp_init_attr->create_flags = 0; in mlx4_ib_query_qp()
4104 qp_init_attr->create_flags |= IB_QP_CREATE_BLOCK_MULTICAST_LOOPBACK; in mlx4_ib_query_qp()
4107 qp_init_attr->create_flags |= IB_QP_CREATE_IPOIB_UD_LSO; in mlx4_ib_query_qp()
4110 qp_init_attr->create_flags |= IB_QP_CREATE_NETIF_QP; in mlx4_ib_query_qp()
4112 qp_init_attr->sq_sig_type = in mlx4_ib_query_qp()
Dmlx4_ib.h780 struct ib_qp_init_attr *qp_init_attr);
/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c1002 struct ib_qp_init_attr *qp_init_attr, in bnxt_re_create_qp() argument
1013 if ((qp_init_attr->cap.max_send_wr > dev_attr->max_qp_wqes) || in bnxt_re_create_qp()
1014 (qp_init_attr->cap.max_recv_wr > dev_attr->max_qp_wqes) || in bnxt_re_create_qp()
1015 (qp_init_attr->cap.max_send_sge > dev_attr->max_qp_sges) || in bnxt_re_create_qp()
1016 (qp_init_attr->cap.max_recv_sge > dev_attr->max_qp_sges) || in bnxt_re_create_qp()
1017 (qp_init_attr->cap.max_inline_data > dev_attr->max_inline_data)) in bnxt_re_create_qp()
1028 qp->qplib_qp.type = __from_ib_qp_type(qp_init_attr->qp_type); in bnxt_re_create_qp()
1030 if (qp_init_attr->qp_type == IB_QPT_GSI && in bnxt_re_create_qp()
1040 qp->qplib_qp.max_inline_data = qp_init_attr->cap.max_inline_data; in bnxt_re_create_qp()
1041 qp->qplib_qp.sig_type = ((qp_init_attr->sq_sig_type == in bnxt_re_create_qp()
[all …]
Dib_verbs.h182 struct ib_qp_init_attr *qp_init_attr,
187 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr);
/drivers/infiniband/hw/mlx5/
Dgsi.c400 struct ib_qp_init_attr *qp_init_attr) in mlx5_ib_gsi_query_qp() argument
406 ret = ib_query_qp(gsi->rx_qp, qp_attr, qp_attr_mask, qp_init_attr); in mlx5_ib_gsi_query_qp()
407 qp_init_attr->cap = gsi->cap; in mlx5_ib_gsi_query_qp()
Dqp.c5694 struct ib_qp_init_attr *qp_init_attr) in mlx5_ib_dct_query_qp() argument
5758 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr) in mlx5_ib_query_qp() argument
5770 qp_init_attr); in mlx5_ib_query_qp()
5773 memset(qp_init_attr, 0, sizeof(*qp_init_attr)); in mlx5_ib_query_qp()
5778 qp_attr_mask, qp_init_attr); in mlx5_ib_query_qp()
5803 qp_init_attr->qp_context = ibqp->qp_context; in mlx5_ib_query_qp()
5809 qp_init_attr->qp_type = ibqp->qp_type; in mlx5_ib_query_qp()
5810 qp_init_attr->recv_cq = ibqp->recv_cq; in mlx5_ib_query_qp()
5811 qp_init_attr->send_cq = ibqp->send_cq; in mlx5_ib_query_qp()
5812 qp_init_attr->srq = ibqp->srq; in mlx5_ib_query_qp()
[all …]
Dmlx5_ib.h1125 struct ib_qp_init_attr *qp_init_attr);
1320 struct ib_qp_init_attr *qp_init_attr);
/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.h48 struct ib_qp_init_attr *qp_init_attr);
Dusnic_ib_verbs.c386 struct ib_qp_init_attr *qp_init_attr) in usnic_ib_query_qp() argument
395 memset(qp_init_attr, 0, sizeof(*qp_init_attr)); in usnic_ib_query_qp()
/drivers/infiniband/sw/siw/
Dsiw_verbs.c524 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr) in siw_query_qp() argument
529 if (base_qp && qp_attr && qp_init_attr) { in siw_query_qp()
548 qp_init_attr->qp_type = base_qp->qp_type; in siw_query_qp()
549 qp_init_attr->send_cq = base_qp->send_cq; in siw_query_qp()
550 qp_init_attr->recv_cq = base_qp->recv_cq; in siw_query_qp()
551 qp_init_attr->srq = base_qp->srq; in siw_query_qp()
553 qp_init_attr->cap = qp_attr->cap; in siw_query_qp()
Dsiw_verbs.h58 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr);
/drivers/infiniband/hw/efa/
Defa_verbs.c351 struct ib_qp_init_attr *qp_init_attr) in efa_query_qp() argument
371 memset(qp_init_attr, 0, sizeof(*qp_init_attr)); in efa_query_qp()
390 qp_init_attr->qp_type = ibqp->qp_type; in efa_query_qp()
391 qp_init_attr->recv_cq = ibqp->recv_cq; in efa_query_qp()
392 qp_init_attr->send_cq = ibqp->send_cq; in efa_query_qp()
393 qp_init_attr->qp_context = ibqp->qp_context; in efa_query_qp()
394 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.h434 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr);
/drivers/infiniband/hw/hns/
Dhns_roce_hw_v1.c3386 struct ib_qp_init_attr *qp_init_attr) in hns_roce_v1_q_sqp() argument
3446 qp_init_attr->cap = qp_attr->cap; in hns_roce_v1_q_sqp()
3447 qp_init_attr->create_flags = 0; in hns_roce_v1_q_sqp()
3456 struct ib_qp_init_attr *qp_init_attr) in hns_roce_v1_q_qp() argument
3471 memset(qp_init_attr, 0, sizeof(*qp_init_attr)); in hns_roce_v1_q_qp()
3588 qp_init_attr->cap = qp_attr->cap; in hns_roce_v1_q_qp()
3598 struct ib_qp_init_attr *qp_init_attr) in hns_roce_v1_query_qp() argument
3603 hns_roce_v1_q_sqp(ibqp, qp_attr, qp_attr_mask, qp_init_attr) : in hns_roce_v1_query_qp()
3604 hns_roce_v1_q_qp(ibqp, qp_attr, qp_attr_mask, qp_init_attr); in hns_roce_v1_query_qp()
Dhns_roce_device.h963 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr);
Dhns_roce_hw_v2.c4521 struct ib_qp_init_attr *qp_init_attr) in hns_roce_v2_query_qp() argument
4532 memset(qp_init_attr, 0, sizeof(*qp_init_attr)); in hns_roce_v2_query_qp()
4640 qp_init_attr->cap = qp_attr->cap; in hns_roce_v2_query_qp()
/drivers/infiniband/hw/mthca/
Dmthca_dev.h531 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.c2372 int attr_mask, struct ib_qp_init_attr *qp_init_attr) in qedr_query_qp() argument
2386 memset(qp_init_attr, 0, sizeof(*qp_init_attr)); in qedr_query_qp()
2403 qp_init_attr->cap = qp_attr->cap; in qedr_query_qp()

12