Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/infiniband/core/
Dverbs.c1164 struct ib_qp_init_attr *qp_init_attr) in create_xrc_qp_user() argument
1174 qp->xrcd = qp_init_attr->xrcd; in create_xrc_qp_user()
1175 atomic_inc(&qp_init_attr->xrcd->usecnt); in create_xrc_qp_user()
1178 qp = __ib_open_qp(real_qp, qp_init_attr->event_handler, in create_xrc_qp_user()
1179 qp_init_attr->qp_context); in create_xrc_qp_user()
1183 err = xa_err(xa_store(&qp_init_attr->xrcd->tgt_qps, real_qp->qp_num, in create_xrc_qp_user()
1203 struct ib_qp_init_attr *qp_init_attr) in ib_create_qp() argument
1205 struct ib_device *device = pd ? pd->device : qp_init_attr->xrcd->device; in ib_create_qp()
1209 if (qp_init_attr->rwq_ind_tbl && in ib_create_qp()
1210 (qp_init_attr->recv_cq || in ib_create_qp()
[all …]
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;
Dmad.c2905 struct ib_qp_init_attr qp_init_attr; in create_mad_qp() local
2908 memset(&qp_init_attr, 0, sizeof qp_init_attr); in create_mad_qp()
2909 qp_init_attr.send_cq = qp_info->port_priv->cq; in create_mad_qp()
2910 qp_init_attr.recv_cq = qp_info->port_priv->cq; in create_mad_qp()
2911 qp_init_attr.sq_sig_type = IB_SIGNAL_ALL_WR; in create_mad_qp()
2912 qp_init_attr.cap.max_send_wr = mad_sendq_size; in create_mad_qp()
2913 qp_init_attr.cap.max_recv_wr = mad_recvq_size; in create_mad_qp()
2914 qp_init_attr.cap.max_send_sge = IB_MAD_SEND_REQ_MAX_SG; in create_mad_qp()
2915 qp_init_attr.cap.max_recv_sge = IB_MAD_RECV_REQ_MAX_SG; in create_mad_qp()
2916 qp_init_attr.qp_type = qp_type; in create_mad_qp()
[all …]
Dcma.c956 struct ib_qp_init_attr *qp_init_attr) in rdma_create_qp() argument
968 qp_init_attr->port_num = id->port_num; in rdma_create_qp()
969 qp = ib_create_qp(pd, qp_init_attr); in rdma_create_qp()
985 trace_cm_qp_create(id_priv, pd, qp_init_attr, 0); in rdma_create_qp()
990 trace_cm_qp_create(id_priv, pd, qp_init_attr, ret); in rdma_create_qp()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dmem.c300 struct ib_qp_init_attr qp_init_attr = { in mlx5_ib_test_wc() local
342 qp_init_attr.recv_cq = cq; in mlx5_ib_test_wc()
343 qp_init_attr.send_cq = cq; in mlx5_ib_test_wc()
344 qp = ib_create_qp(pd, &qp_init_attr); in mlx5_ib_test_wc()
Dgsi.c376 struct ib_qp_init_attr *qp_init_attr) in mlx5_ib_gsi_query_qp() argument
382 ret = ib_query_qp(gsi->rx_qp, qp_attr, qp_attr_mask, qp_init_attr); in mlx5_ib_gsi_query_qp()
383 qp_init_attr->cap = gsi->cap; in mlx5_ib_gsi_query_qp()
Dqp.c4645 struct ib_qp_init_attr *qp_init_attr) in mlx5_ib_dct_query_qp() argument
4709 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr) in mlx5_ib_query_qp() argument
4721 qp_init_attr); in mlx5_ib_query_qp()
4724 memset(qp_init_attr, 0, sizeof(*qp_init_attr)); in mlx5_ib_query_qp()
4729 qp_attr_mask, qp_init_attr); in mlx5_ib_query_qp()
4754 qp_init_attr->qp_context = ibqp->qp_context; in mlx5_ib_query_qp()
4760 qp_init_attr->qp_type = ibqp->qp_type; in mlx5_ib_query_qp()
4761 qp_init_attr->recv_cq = ibqp->recv_cq; in mlx5_ib_query_qp()
4762 qp_init_attr->send_cq = ibqp->send_cq; in mlx5_ib_query_qp()
4763 qp_init_attr->srq = ibqp->srq; in mlx5_ib_query_qp()
[all …]
Dmlx5_ib.h1156 struct ib_qp_init_attr *qp_init_attr);
1349 struct ib_qp_init_attr *qp_init_attr);
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dmad.c1799 struct mlx4_ib_qp_tunnel_init_attr qp_init_attr; in create_pv_sqp() local
1809 memset(&qp_init_attr, 0, sizeof qp_init_attr); in create_pv_sqp()
1810 qp_init_attr.init_attr.send_cq = ctx->cq; in create_pv_sqp()
1811 qp_init_attr.init_attr.recv_cq = ctx->cq; in create_pv_sqp()
1812 qp_init_attr.init_attr.sq_sig_type = IB_SIGNAL_ALL_WR; in create_pv_sqp()
1813 qp_init_attr.init_attr.cap.max_send_wr = nmbr_bufs; in create_pv_sqp()
1814 qp_init_attr.init_attr.cap.max_recv_wr = nmbr_bufs; in create_pv_sqp()
1815 qp_init_attr.init_attr.cap.max_send_sge = 1; in create_pv_sqp()
1816 qp_init_attr.init_attr.cap.max_recv_sge = 1; in create_pv_sqp()
1818 qp_init_attr.init_attr.qp_type = IB_QPT_UD; in create_pv_sqp()
[all …]
Dqp.c3978 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.h804 struct ib_qp_init_attr *qp_init_attr);
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
Dib_verbs.h183 struct ib_qp_init_attr *qp_init_attr,
188 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr);
Dib_verbs.c1414 struct ib_qp_init_attr *qp_init_attr, in bnxt_re_create_qp() argument
1423 rc = bnxt_re_test_qp_limits(rdev, qp_init_attr, dev_attr); in bnxt_re_create_qp()
1435 rc = bnxt_re_init_qp_attr(qp, pd, qp_init_attr, udata); in bnxt_re_create_qp()
1439 if (qp_init_attr->qp_type == IB_QPT_GSI && in bnxt_re_create_qp()
1441 rc = bnxt_re_create_gsi_qp(qp, pd, qp_init_attr); in bnxt_re_create_qp()
1466 if (qp_init_attr->qp_type == IB_QPT_GSI) in bnxt_re_create_qp()
2060 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr) in bnxt_re_query_qp() argument
2102 qp_init_attr->sq_sig_type = qplib_qp->sig_type ? IB_SIGNAL_ALL_WR : in bnxt_re_query_qp()
2111 qp_init_attr->cap = qp_attr->cap; in bnxt_re_query_qp()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/
Dsiw_verbs.c507 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr) in siw_query_qp() argument
512 if (base_qp && qp_attr && qp_init_attr) { in siw_query_qp()
531 qp_init_attr->qp_type = base_qp->qp_type; in siw_query_qp()
532 qp_init_attr->send_cq = base_qp->send_cq; in siw_query_qp()
533 qp_init_attr->recv_cq = base_qp->recv_cq; in siw_query_qp()
534 qp_init_attr->srq = base_qp->srq; in siw_query_qp()
536 qp_init_attr->cap = qp_attr->cap; in siw_query_qp()
Dsiw_verbs.h57 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr);
/kernel/linux/linux-5.10/drivers/infiniband/hw/efa/
Defa_verbs.c273 struct ib_qp_init_attr *qp_init_attr) in efa_query_qp() argument
293 memset(qp_init_attr, 0, sizeof(*qp_init_attr)); in efa_query_qp()
313 qp_init_attr->qp_type = ibqp->qp_type; in efa_query_qp()
314 qp_init_attr->recv_cq = ibqp->recv_cq; in efa_query_qp()
315 qp_init_attr->send_cq = ibqp->send_cq; in efa_query_qp()
316 qp_init_attr->qp_context = ibqp->qp_context; in efa_query_qp()
317 qp_init_attr->cap = qp_attr->cap; in efa_query_qp()
Defa.h127 struct ib_qp_init_attr *qp_init_attr);
/kernel/linux/linux-5.10/include/rdma/
Drdma_cm.h197 struct ib_qp_init_attr *qp_init_attr);
Dib_verbs.h2416 struct ib_qp_init_attr *qp_init_attr,
2421 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr);
3659 struct ib_qp_init_attr *qp_init_attr);
3704 struct ib_qp_init_attr *qp_init_attr);
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_verbs.h434 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr);
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_hw_v1.c3389 struct ib_qp_init_attr *qp_init_attr) in hns_roce_v1_q_sqp() argument
3449 qp_init_attr->cap = qp_attr->cap; in hns_roce_v1_q_sqp()
3450 qp_init_attr->create_flags = 0; in hns_roce_v1_q_sqp()
3459 struct ib_qp_init_attr *qp_init_attr) in hns_roce_v1_q_qp() argument
3474 memset(qp_init_attr, 0, sizeof(*qp_init_attr)); in hns_roce_v1_q_qp()
3591 qp_init_attr->cap = qp_attr->cap; in hns_roce_v1_q_qp()
3601 struct ib_qp_init_attr *qp_init_attr) in hns_roce_v1_query_qp() argument
3606 hns_roce_v1_q_sqp(ibqp, qp_attr, qp_attr_mask, qp_init_attr) : in hns_roce_v1_query_qp()
3607 hns_roce_v1_q_qp(ibqp, qp_attr, qp_attr_mask, qp_init_attr); in hns_roce_v1_query_qp()
/kernel/linux/linux-5.10/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()

12