Home
last modified time | relevance | path

Searched refs:qp_sizes (Results 1 – 10 of 10) sorted by relevance

/titanic_50/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_qp.c342 if ((attr_p->qp_sizes.cs_sq_sgl > max_sgl) || in hermon_qp_alloc()
343 (!qp_srq_en && (attr_p->qp_sizes.cs_rq_sgl > max_recv_sgl))) { in hermon_qp_alloc()
360 hermon_qp_sgl_to_logwqesz(state, attr_p->qp_sizes.cs_rq_sgl, in hermon_qp_alloc()
364 hermon_qp_sgl_to_logwqesz(state, attr_p->qp_sizes.cs_sq_sgl, in hermon_qp_alloc()
397 attr_p->qp_sizes.cs_sq = max(attr_p->qp_sizes.cs_sq, in hermon_qp_alloc()
399 attr_p->qp_sizes.cs_rq = max(attr_p->qp_sizes.cs_rq, in hermon_qp_alloc()
405 log_qp_sq_size = highbit(attr_p->qp_sizes.cs_sq + qp->qp_sq_hdrmwqes); in hermon_qp_alloc()
407 if (ISP2(attr_p->qp_sizes.cs_sq + qp->qp_sq_hdrmwqes)) { in hermon_qp_alloc()
411 log_qp_rq_size = highbit(attr_p->qp_sizes.cs_rq); in hermon_qp_alloc()
412 if (ISP2(attr_p->qp_sizes.cs_rq)) { in hermon_qp_alloc()
[all …]
H A Dhermon_ioctl.c2864 comm->hlc_qp_attr.qp_sizes.cs_sq_sgl = 3; in hermon_loopback_init_qp_info()
2865 comm->hlc_qp_attr.qp_sizes.cs_rq_sgl = 3; in hermon_loopback_init_qp_info()
2866 comm->hlc_qp_attr.qp_sizes.cs_sq = 16; in hermon_loopback_init_qp_info()
2867 comm->hlc_qp_attr.qp_sizes.cs_rq = 16; in hermon_loopback_init_qp_info()
/titanic_50/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_qp.c317 attr_p->qp_sizes.cs_sq = max(attr_p->qp_sizes.cs_sq, TAVOR_QP_MIN_SIZE); in tavor_qp_alloc()
318 attr_p->qp_sizes.cs_rq = max(attr_p->qp_sizes.cs_rq, TAVOR_QP_MIN_SIZE); in tavor_qp_alloc()
319 log_qp_sq_size = highbit(attr_p->qp_sizes.cs_sq); in tavor_qp_alloc()
320 if (ISP2(attr_p->qp_sizes.cs_sq)) { in tavor_qp_alloc()
323 log_qp_rq_size = highbit(attr_p->qp_sizes.cs_rq); in tavor_qp_alloc()
324 if (ISP2(attr_p->qp_sizes.cs_rq)) { in tavor_qp_alloc()
347 if ((attr_p->qp_sizes.cs_sq_sgl > max_sgl) || in tavor_qp_alloc()
348 (!qp_srq_en && (attr_p->qp_sizes.cs_rq_sgl > max_sgl))) { in tavor_qp_alloc()
366 tavor_qp_sgl_to_logwqesz(state, attr_p->qp_sizes.cs_rq_sgl, in tavor_qp_alloc()
370 tavor_qp_sgl_to_logwqesz(state, attr_p->qp_sizes.cs_sq_sgl, in tavor_qp_alloc()
[all …]
H A Dtavor_ioctl.c2427 comm->tlc_qp_attr.qp_sizes.cs_sq_sgl = 3; in tavor_loopback_init_qp_info()
2428 comm->tlc_qp_attr.qp_sizes.cs_rq_sgl = 3; in tavor_loopback_init_qp_info()
2429 comm->tlc_qp_attr.qp_sizes.cs_sq = 16; in tavor_loopback_init_qp_info()
2430 comm->tlc_qp_attr.qp_sizes.cs_rq = 16; in tavor_loopback_init_qp_info()
/titanic_50/usr/src/uts/common/io/ib/clients/of/sol_uverbs/
H A Dsol_uverbs_qp.c364 ibt_chan_sizes_t qp_sizes; in sol_uverbs_create_qp() local
374 (void) memset(&qp_sizes, 0, sizeof (qp_sizes)); in sol_uverbs_create_qp()
456 qp_attr.qp_sizes.cs_sq = cmd.max_send_wr; in sol_uverbs_create_qp()
457 qp_attr.qp_sizes.cs_rq = cmd.max_recv_wr; in sol_uverbs_create_qp()
458 qp_attr.qp_sizes.cs_sq_sgl = cmd.max_send_sge; in sol_uverbs_create_qp()
459 qp_attr.qp_sizes.cs_rq_sgl = cmd.max_recv_sge; in sol_uverbs_create_qp()
468 rc = ibt_alloc_qp(uctxt->hca->hdl, qp_type, &qp_attr, &qp_sizes, in sol_uverbs_create_qp()
490 qp_attr.qp_sizes.cs_sq, qp_sizes.cs_sq); in sol_uverbs_create_qp()
493 qp_attr.qp_sizes.cs_sq_sgl, qp_sizes.cs_sq_sgl); in sol_uverbs_create_qp()
496 qp_attr.qp_sizes.cs_rq, qp_sizes.cs_rq); in sol_uverbs_create_qp()
[all …]
/titanic_50/usr/src/uts/common/io/ib/mgt/ibmf/
H A Dibmf_recv.c1469 ibt_chan_sizes_t qp_sizes; in ibmf_send_busy() local
1483 qp_attrs.qp_sizes.cs_sq_sgl = IBMF_MAX_SQ_WR_SGL_ELEMENTS; in ibmf_send_busy()
1484 qp_attrs.qp_sizes.cs_rq_sgl = IBMF_MAX_RQ_WR_SGL_ELEMENTS; in ibmf_send_busy()
1485 qp_attrs.qp_sizes.cs_sq = ibmf_send_wqes_posted_per_qp; in ibmf_send_busy()
1486 qp_attrs.qp_sizes.cs_rq = ibmf_recv_wqes_posted_per_qp; in ibmf_send_busy()
1492 &qp_attrs, &qp_sizes, &qp_num, &ibt_qp_handle); in ibmf_send_busy()
H A Dibmf_impl.c1797 qp_attrs.qp_sizes.cs_sq_sgl = 1; in ibmf_i_init_qp()
1798 qp_attrs.qp_sizes.cs_rq_sgl = IBMF_MAX_RQ_WR_SGL_ELEMENTS; in ibmf_i_init_qp()
1799 qp_attrs.qp_sizes.cs_sq = ibmf_send_wqes_posted_per_qp; in ibmf_i_init_qp()
1800 qp_attrs.qp_sizes.cs_rq = ibmf_recv_wqes_posted_per_qp; in ibmf_i_init_qp()
2428 qp_attrs.qp_sizes.cs_sq_sgl = IBMF_MAX_SQ_WR_SGL_ELEMENTS; in ibmf_i_alloc_qp()
2429 qp_attrs.qp_sizes.cs_rq_sgl = IBMF_MAX_RQ_WR_SGL_ELEMENTS; in ibmf_i_alloc_qp()
2430 qp_attrs.qp_sizes.cs_sq = ibmf_send_wqes_posted_per_qp; in ibmf_i_alloc_qp()
2431 qp_attrs.qp_sizes.cs_rq = ibmf_recv_wqes_posted_per_qp; in ibmf_i_alloc_qp()
/titanic_50/usr/src/uts/common/io/ib/ibtl/
H A Dibtl_chan.c130 bcopy(&chan_attrs.rc_chan_sizes, &qp_attr.qp_sizes, in ibt_alloc_rc_channel()
148 bcopy(&args->rc_sizes, &qp_attr.qp_sizes, in ibt_alloc_rc_channel()
502 bcopy(&chan_attrs.ud_chan_sizes, &qp_attr.qp_sizes, in ibt_alloc_ud_channel()
520 bcopy(&args->ud_sizes, &qp_attr.qp_sizes, in ibt_alloc_ud_channel()
667 bcopy(&args->ud_sizes, &qp_attr.qp_sizes, in ibt_alloc_ud_channel_range()
/titanic_50/usr/src/uts/common/sys/ib/ibtl/
H A Dibtl_ci_types.h249 ibt_chan_sizes_t qp_sizes; /* Queue and SGL */ member
/titanic_50/usr/src/uts/common/io/ib/clients/of/sol_ofs/
H A Dsol_kverbs.c1140 attrs.qp_sizes.cs_sq = qp_init_attr->cap.max_send_wr; in ib_create_qp()
1141 attrs.qp_sizes.cs_rq = qp_init_attr->cap.max_recv_wr; in ib_create_qp()
1142 attrs.qp_sizes.cs_sq_sgl = qp_init_attr->cap.max_send_sge; in ib_create_qp()
1143 attrs.qp_sizes.cs_rq_sgl = qp_init_attr->cap.max_recv_sge; in ib_create_qp()
1144 attrs.qp_sizes.cs_inline = qp_init_attr->cap.max_inline_data; in ib_create_qp()