Home
last modified time | relevance | path

Searched refs:max_sgl (Results 1 – 6 of 6) sorted by relevance

/titanic_44/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_cfg.c423 uint_t max_sgl, real_max_sgl; in hermon_cfg_wqe_sizes() local
429 max_sgl = hermon_wqe_max_sgl; in hermon_cfg_wqe_sizes()
439 max_size = (HERMON_QP_WQE_MLX_QP1_HDRS + (max_sgl << 4)); in hermon_cfg_wqe_sizes()
456 cp->cp_wqe_max_sgl = max_sgl; in hermon_cfg_wqe_sizes()
H A Dhermon_qp.c54 uint_t *logwqesz, uint_t *max_sgl);
89 uint32_t max_sgl, max_recv_sgl, uarpg; in hermon_qp_alloc() local
335 max_sgl = state->hs_ibtfinfo.hca_attr->hca_ud_send_sgl_sz; in hermon_qp_alloc()
338 max_sgl = state->hs_ibtfinfo.hca_attr->hca_conn_send_sgl_sz; in hermon_qp_alloc()
342 if ((attr_p->qp_sizes.cs_sq_sgl > max_sgl) || in hermon_qp_alloc()
365 max_sgl, swq_type, &qp->qp_sq_log_wqesz, &qp->qp_sq_sgl); in hermon_qp_alloc()
786 uint32_t sq_size, rq_size, max_sgl; in hermon_special_qp_alloc() local
947 max_sgl = state->hs_cfg_profile->cp_wqe_real_max_sgl; in hermon_special_qp_alloc()
948 if ((attr_p->qp_sizes.cs_sq_sgl > max_sgl) || in hermon_special_qp_alloc()
949 (attr_p->qp_sizes.cs_rq_sgl > max_sgl)) { in hermon_special_qp_alloc()
[all …]
H A Dhermon_srq.c45 hermon_qp_wq_type_t wq_type, uint_t *logwqesz, uint_t *max_sgl);
74 uint_t max_sgl; in hermon_srq_alloc() local
197 max_sgl = state->hs_ibtfinfo.hca_attr->hca_max_srq_sgl; in hermon_srq_alloc()
198 if (sizes->srq_sgl_sz > max_sgl) { in hermon_srq_alloc()
965 hermon_qp_wq_type_t wq_type, uint_t *logwqesz, uint_t *max_sgl) in hermon_srq_sgl_to_logwqesz() argument
996 *max_sgl = min(state->hs_cfg_profile->cp_srq_max_sgl, actual_sgl); in hermon_srq_sgl_to_logwqesz()
/titanic_44/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_srq.c46 tavor_qp_wq_type_t wq_type, uint_t *logwqesz, uint_t *max_sgl);
78 uint_t max_sgl; in tavor_srq_alloc() local
196 max_sgl = state->ts_cfg_profile->cp_srq_max_sgl; in tavor_srq_alloc()
197 if (sizes->srq_sgl_sz > max_sgl) { in tavor_srq_alloc()
1088 tavor_qp_wq_type_t wq_type, uint_t *logwqesz, uint_t *max_sgl) in tavor_srq_sgl_to_logwqesz() argument
1123 *max_sgl = min(state->ts_cfg_profile->cp_srq_max_sgl, actual_sgl); in tavor_srq_sgl_to_logwqesz()
H A Dtavor_qp.c54 tavor_qp_wq_type_t wq_type, uint_t *logwqesz, uint_t *max_sgl);
85 uint32_t max_rdb, max_sgl, uarpg; in tavor_qp_alloc() local
346 max_sgl = state->ts_cfg_profile->cp_wqe_real_max_sgl; 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()
666 uint32_t sq_size, rq_size, max_sgl; in tavor_special_qp_alloc() local
831 max_sgl = state->ts_cfg_profile->cp_wqe_real_max_sgl; in tavor_special_qp_alloc()
832 if ((attr_p->qp_sizes.cs_sq_sgl > max_sgl) || in tavor_special_qp_alloc()
833 (attr_p->qp_sizes.cs_rq_sgl > max_sgl)) { in tavor_special_qp_alloc()
1979 tavor_qp_wq_type_t wq_type, uint_t *logwqesz, uint_t *max_sgl) in tavor_qp_sgl_to_logwqesz() argument
[all …]
H A Dtavor_cfg.c643 uint_t max_sgl, real_max_sgl; in tavor_cfg_wqe_sizes() local
649 max_sgl = tavor_wqe_max_sgl; in tavor_cfg_wqe_sizes()
659 max_size = (TAVOR_QP_WQE_MLX_QP1_HDRS + (max_sgl << 4)); in tavor_cfg_wqe_sizes()
679 cp->cp_wqe_max_sgl = max_sgl; in tavor_cfg_wqe_sizes()