Home
last modified time | relevance | path

Searched refs:qp_ctx (Results 1 – 4 of 4) sorted by relevance

/titanic_44/usr/src/uts/common/io/ib/mgt/ibmf/
H A Dibmf_wqe.c301 ibmf_alt_qp_t *qp_ctx = (ibmf_alt_qp_t *)cdrarg; in ibmf_altqp_send_wqe_cache_constructor() local
313 qp_ctx->isq_wqe_ib_vmem, IBMF_MEM_PER_WQE, in ibmf_altqp_send_wqe_cache_constructor()
327 mutex_enter(&qp_ctx->isq_wqe_mutex); in ibmf_altqp_send_wqe_cache_constructor()
328 wqe_mgt = qp_ctx->isq_wqe_mgt_list; in ibmf_altqp_send_wqe_cache_constructor()
344 mutex_exit(&qp_ctx->isq_wqe_mutex); in ibmf_altqp_send_wqe_cache_constructor()
345 vmem_free(qp_ctx->isq_wqe_ib_vmem, in ibmf_altqp_send_wqe_cache_constructor()
368 mutex_exit(&qp_ctx->isq_wqe_mutex); in ibmf_altqp_send_wqe_cache_constructor()
386 ibmf_alt_qp_t *qp_ctx = (ibmf_alt_qp_t *)cdrarg; in ibmf_altqp_send_wqe_cache_destructor() local
396 vmem_free(qp_ctx->isq_wqe_ib_vmem, in ibmf_altqp_send_wqe_cache_destructor()
414 ibmf_alt_qp_t *qp_ctx = (ibmf_alt_qp_t *)cdrarg; in ibmf_altqp_recv_wqe_cache_constructor() local
[all …]
H A Dibmf_impl.c2386 ibmf_alt_qp_t *qp_ctx; in ibmf_i_alloc_qp() local
2413 qp_ctx = (ibmf_alt_qp_t *)kmem_zalloc(sizeof (ibmf_alt_qp_t), in ibmf_i_alloc_qp()
2415 if (qp_ctx == NULL) { in ibmf_i_alloc_qp()
2422 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*qp_ctx)); in ibmf_i_alloc_qp()
2437 &qp_attrs, &qp_ctx->isq_qp_sizes, &qp_ctx->isq_qpn, in ibmf_i_alloc_qp()
2438 &qp_ctx->isq_qp_handle); in ibmf_i_alloc_qp()
2440 kmem_free(qp_ctx, sizeof (ibmf_alt_qp_t)); in ibmf_i_alloc_qp()
2457 qp_ctx->isq_client_hdl = clientp; in ibmf_i_alloc_qp()
2460 ibt_status = ibt_initialize_qp(qp_ctx->isq_qp_handle, &qp_modify_attr); in ibmf_i_alloc_qp()
2462 (void) ibt_free_qp(qp_ctx->isq_qp_handle); in ibmf_i_alloc_qp()
[all …]
H A Dibmf.c1082 ibmf_alt_qp_t *qp_ctx; in ibmf_alloc_qp() local
1150 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*qp_ctx)) in ibmf_alloc_qp()
1152 qp_ctx = (ibmf_alt_qp_t *)*ibmf_qp_handlep; in ibmf_alloc_qp()
1156 qp_ctx->isq_flags |= IBMF_MAD_ONLY; in ibmf_alloc_qp()
1159 qp_ctx->isq_flags |= IBMF_RAW_ONLY; in ibmf_alloc_qp()
1162 qp_ctx->isq_supports_rmpp = B_TRUE; in ibmf_alloc_qp()
1164 qp_ctx->isq_supports_rmpp = B_FALSE; in ibmf_alloc_qp()
1177 _NOTE(NOW_VISIBLE_TO_OTHER_THREADS(*qp_ctx)) in ibmf_alloc_qp()
1190 ibmf_alt_qp_t *qp_ctx = (ibmf_alt_qp_t *)ibmf_qp_handle; in ibmf_query_qp() local
1247 if (qp_ctx->isq_client_hdl != clientp) { in ibmf_query_qp()
[all …]
/titanic_44/usr/src/uts/common/sys/ib/mgt/ibmf/
H A Dibmf_impl.h749 int ibmf_i_init_altqp_wqes(ibmf_alt_qp_t *qp_ctx);
750 void ibmf_i_fini_altqp_wqes(ibmf_alt_qp_t *qp_ctx);