Home
last modified time | relevance | path

Searched refs:max_send_sge (Results 1 – 23 of 23) sorted by relevance

/drivers/infiniband/hw/ehca/
Dehca_qp.c465 int qp_type, max_send_sge, max_recv_sge, ret; in internal_create_qp() local
571 if (!(init_attr->cap.max_send_sge <= 5 in internal_create_qp()
572 && init_attr->cap.max_send_sge >= 1 in internal_create_qp()
578 init_attr->cap.max_send_sge, in internal_create_qp()
601 if (init_attr->cap.max_send_sge > max_sge in internal_create_qp()
605 init_attr->cap.max_send_sge, in internal_create_qp()
673 max_send_sge = init_attr->cap.max_send_sge; in internal_create_qp()
676 max_send_sge += 2; in internal_create_qp()
690 parms.squeue.max_sge = max_send_sge; in internal_create_qp()
700 &parms.squeue, max_send_sge, is_llqp); in internal_create_qp()
[all …]
Dehca_main.c562 qp_init_attr.cap.max_send_sge = 2; in ehca_create_aqp1()
/drivers/infiniband/core/
Duverbs_marshall.c70 dst->max_send_sge = src->cap.max_send_sge; in ib_copy_qp_attr_to_user()
Duverbs_cmd.c1587 attr.cap.max_send_sge = cmd.max_send_sge; in ib_uverbs_create_qp()
1634 resp.max_send_sge = attr.cap.max_send_sge; in ib_uverbs_create_qp()
1864 resp.max_send_sge = init_attr->cap.max_send_sge; in ib_uverbs_query_qp()
Dmad.c2776 qp_init_attr.cap.max_send_sge = IB_MAD_SEND_REQ_MAX_SG; in create_mad_qp()
/drivers/infiniband/ulp/ipoib/
Dipoib_verbs.c138 .max_send_sge = 1, in ipoib_transport_dev_init()
196 init_attr.cap.max_send_sge = MAX_SKB_FRAGS + 1; in ipoib_transport_dev_init()
Dipoib_cm.c257 .cap.max_send_sge = 1, /* FIXME: 0 Seems not to work */ in ipoib_cm_create_rx_qp()
1028 .cap.max_send_sge = 1, in ipoib_cm_create_tx_qp()
/drivers/infiniband/hw/ipath/
Dipath_qp.c637 attr->cap.max_send_sge = qp->s_max_sge; in ipath_query_qp()
758 if (init_attr->cap.max_send_sge > ib_ipath_max_sges || in ipath_create_qp()
771 if (init_attr->cap.max_send_sge + in ipath_create_qp()
787 init_attr->cap.max_send_sge + in ipath_create_qp()
855 qp->s_max_sge = init_attr->cap.max_send_sge; in ipath_create_qp()
/drivers/infiniband/hw/amso1100/
Dc2_qp.c469 wr.send_sgl_depth = cpu_to_be32(qp_attrs->cap.max_send_sge); in c2_alloc_qp()
471 wr.rdma_write_sgl_depth = cpu_to_be32(qp_attrs->cap.max_send_sge); in c2_alloc_qp()
509 qp->send_sgl_depth = qp_attrs->cap.max_send_sge; in c2_alloc_qp()
510 qp->rdma_write_sgl_depth = qp_attrs->cap.max_send_sge; in c2_alloc_qp()
/drivers/infiniband/hw/qib/
Dqib_qp.c866 attr->cap.max_send_sge = qp->s_max_sge; in qib_query_qp()
983 if (init_attr->cap.max_send_sge > ib_qib_max_sges || in qib_create_qp()
996 if (init_attr->cap.max_send_sge + in qib_create_qp()
1017 init_attr->cap.max_send_sge + in qib_create_qp()
1082 qp->s_max_sge = init_attr->cap.max_send_sge; in qib_create_qp()
/drivers/infiniband/hw/ocrdma/
Docrdma.h62 int max_send_sge; member
Docrdma_verbs.c86 attr->max_sge = min(dev->attr.max_send_sge, dev->attr.max_srq_sge); in ocrdma_query_device()
866 if (attrs->cap.max_send_sge > dev->attr.max_send_sge) { in ocrdma_check_qp_params()
868 __func__, dev->id, attrs->cap.max_send_sge); in ocrdma_check_qp_params()
870 __func__, dev->id, dev->attr.max_send_sge); in ocrdma_check_qp_params()
1021 qp->sq.max_sges = attrs->cap.max_send_sge; in ocrdma_set_qp_init_params()
1240 qp_attr->cap.max_send_sge = qp->sq.max_sges; in ocrdma_query_qp()
Docrdma_hw.c999 attr->max_send_sge = ((rsp->max_write_send_sge & in ocrdma_get_attr()
1834 u32 max_sges = attrs->cap.max_send_sge; in ocrdma_set_create_qp_sq_cmd()
/drivers/infiniband/hw/mlx4/
Dqp.c412 cap->max_send_sge > min(dev->dev->caps.max_sq_sg, dev->dev->caps.max_rq_sg) || in set_kernel_sq_size()
423 cap->max_send_sge + 2 > dev->dev->caps.max_sq_sg) in set_kernel_sq_size()
426 s = max(cap->max_send_sge * sizeof (struct mlx4_wqe_data_seg), in set_kernel_sq_size()
511 cap->max_send_sge = min(qp->sq.max_gs, in set_kernel_sq_size()
2744 qp_attr->cap.max_send_sge = qp->sq.max_gs; in mlx4_ib_query_qp()
2747 qp_attr->cap.max_send_sge = 0; in mlx4_ib_query_qp()
Dmad.c1485 qp_init_attr.init_attr.cap.max_send_sge = 1; in create_pv_sqp()
/drivers/infiniband/hw/mthca/
Dmthca_qp.c500 qp_attr->cap.max_send_sge = qp->sq.max_gs; in mthca_query_qp()
1237 cap->max_send_sge > dev->limits.max_sg || in mthca_set_qp_size()
1246 if (qp->transport == MLX && cap->max_send_sge + 2 > dev->limits.max_sg) in mthca_set_qp_size()
1260 qp->sq.max_gs = max_t(int, cap->max_send_sge, in mthca_set_qp_size()
Dmthca_provider.c620 init_attr->cap.max_send_sge = qp->sq.max_gs; in mthca_create_qp()
/drivers/infiniband/hw/cxgb3/
Diwch_provider.c970 qhp->attr.sq_max_sges = attrs->cap.max_send_sge; in iwch_create_qp()
971 qhp->attr.sq_max_sges_rdma_write = attrs->cap.max_send_sge; in iwch_create_qp()
/drivers/infiniband/ulp/iser/
Diser_verbs.c275 init_attr.cap.max_send_sge = 2; in iser_create_ib_conn_res()
/drivers/infiniband/ulp/isert/
Dib_isert.c111 attr.cap.max_send_sge = devattr.max_sge - 2; in isert_conn_setup_qp()
112 isert_conn->max_sge = attr.cap.max_send_sge; in isert_conn_setup_qp()
/drivers/infiniband/hw/cxgb4/
Dqp.c1587 qhp->attr.sq_max_sges = attrs->cap.max_send_sge; in c4iw_create_qp()
1588 qhp->attr.sq_max_sges_rdma_write = attrs->cap.max_send_sge; in c4iw_create_qp()
/drivers/infiniband/ulp/srpt/
Dib_srpt.c2120 qp_init->cap.max_send_sge = SRPT_DEF_SG_PER_WQE; in srpt_create_ch_ib()
2132 __func__, ch->cq->cqe, qp_init->cap.max_send_sge, in srpt_create_ch_ib()
/drivers/infiniband/ulp/srp/
Dib_srp.c253 init_attr->cap.max_send_sge = 1; in srp_create_target_ib()