Home
last modified time | relevance | path

Searched refs:cqhdl (Results 1 – 13 of 13) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon_cq.h268 ibt_cq_attr_t *attr_p, uint_t *actual_size, hermon_cqhdl_t *cqhdl,
270 int hermon_cq_free(hermon_state_t *state, hermon_cqhdl_t *cqhdl,
272 int hermon_cq_resize(hermon_state_t *state, hermon_cqhdl_t cqhdl,
274 int hermon_cq_modify(hermon_state_t *state, hermon_cqhdl_t cqhdl,
276 int hermon_cq_notify(hermon_state_t *state, hermon_cqhdl_t cqhdl,
278 int hermon_cq_poll(hermon_state_t *state, hermon_cqhdl_t cqhdl, ibt_wc_t *wc_p,
H A Dhermon_wr.h186 ibt_wrid_t hermon_wrid_get_entry(hermon_cqhdl_t cqhdl, hermon_hw_cqe_t *cqe);
/illumos-gate/usr/src/uts/common/sys/ib/adapters/tavor/
H A Dtavor_cq.h259 ibt_cq_attr_t *attr_p, uint_t *actual_size, tavor_cqhdl_t *cqhdl,
261 int tavor_cq_free(tavor_state_t *state, tavor_cqhdl_t *cqhdl,
263 int tavor_cq_resize(tavor_state_t *state, tavor_cqhdl_t cqhdl,
265 int tavor_cq_notify(tavor_state_t *state, tavor_cqhdl_t cqhdl,
267 int tavor_cq_poll(tavor_state_t *state, tavor_cqhdl_t cqhdl, ibt_wc_t *wc_p,
H A Dtavor_wr.h303 uint64_t tavor_wrid_get_entry(tavor_cqhdl_t cqhdl, tavor_hw_cqe_t *cqe,
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_ci.c854 hermon_cqhdl_t cqhdl; in hermon_ci_alloc_cq() local
861 &cqhdl, HERMON_NOSLEEP); in hermon_ci_alloc_cq()
867 *cq_p = (ibc_cq_hdl_t)cqhdl; in hermon_ci_alloc_cq()
882 hermon_cqhdl_t cqhdl; in hermon_ci_free_cq() local
887 cqhdl = (hermon_cqhdl_t)cq; in hermon_ci_free_cq()
891 status = hermon_cq_free(state, &cqhdl, HERMON_NOSLEEP); in hermon_ci_free_cq()
906 hermon_cqhdl_t cqhdl; in hermon_ci_query_cq() local
910 cqhdl = (hermon_cqhdl_t)cq; in hermon_ci_query_cq()
913 *entries_p = cqhdl->cq_bufsz; in hermon_ci_query_cq()
914 *count_p = cqhdl->cq_intmod_count; in hermon_ci_query_cq()
[all …]
H A Dhermon_cq.c69 ibt_cq_attr_t *cq_attr, uint_t *actual_size, hermon_cqhdl_t *cqhdl, in hermon_cq_alloc() argument
376 *cqhdl = cq; in hermon_cq_alloc()
413 hermon_cq_free(hermon_state_t *state, hermon_cqhdl_t *cqhdl, uint_t sleepflag) in hermon_cq_free() argument
431 cq = *cqhdl; in hermon_cq_free()
565 *cqhdl = NULL; in hermon_cq_free()
H A Dhermon_rsrc.c2443 hermon_cqhdl_t cqhdl; in hermon_rsrc_cqhdl_constructor() local
2446 cqhdl = (hermon_cqhdl_t)cq; in hermon_rsrc_cqhdl_constructor()
2449 mutex_init(&cqhdl->cq_lock, NULL, MUTEX_DRIVER, in hermon_rsrc_cqhdl_constructor()
2464 hermon_cqhdl_t cqhdl; in hermon_rsrc_cqhdl_destructor() local
2466 cqhdl = (hermon_cqhdl_t)cq; in hermon_rsrc_cqhdl_destructor()
2468 mutex_destroy(&cqhdl->cq_lock); in hermon_rsrc_cqhdl_destructor()
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_ci.c976 tavor_cqhdl_t cqhdl; in tavor_ci_alloc_cq() local
989 &cqhdl, TAVOR_NOSLEEP); in tavor_ci_alloc_cq()
995 *cq_p = (ibc_cq_hdl_t)cqhdl; in tavor_ci_alloc_cq()
1010 tavor_cqhdl_t cqhdl; in tavor_ci_free_cq() local
1025 cqhdl = (tavor_cqhdl_t)cq; in tavor_ci_free_cq()
1028 status = tavor_cq_free(state, &cqhdl, TAVOR_NOSLEEP); in tavor_ci_free_cq()
1046 tavor_cqhdl_t cqhdl; in tavor_ci_query_cq() local
1059 cqhdl = (tavor_cqhdl_t)cq; in tavor_ci_query_cq()
1062 *entries_p = cqhdl->cq_bufsz; in tavor_ci_query_cq()
1083 tavor_cqhdl_t cqhdl; in tavor_ci_resize_cq() local
[all …]
H A Dtavor_cq.c64 ibt_cq_attr_t *cq_attr, uint_t *actual_size, tavor_cqhdl_t *cqhdl, in tavor_cq_alloc() argument
336 *cqhdl = cq; in tavor_cq_alloc()
371 tavor_cq_free(tavor_state_t *state, tavor_cqhdl_t *cqhdl, uint_t sleepflag) in tavor_cq_free() argument
389 cq = *cqhdl; in tavor_cq_free()
498 *cqhdl = NULL; in tavor_cq_free()
H A Dtavor_rsrc.c2403 tavor_cqhdl_t cqhdl; in tavor_rsrc_cqhdl_constructor() local
2406 cqhdl = (tavor_cqhdl_t)cq; in tavor_rsrc_cqhdl_constructor()
2409 mutex_init(&cqhdl->cq_lock, NULL, MUTEX_DRIVER, in tavor_rsrc_cqhdl_constructor()
2411 mutex_init(&cqhdl->cq_wrid_wqhdr_lock, NULL, MUTEX_DRIVER, in tavor_rsrc_cqhdl_constructor()
2426 tavor_cqhdl_t cqhdl; in tavor_rsrc_cqhdl_destructor() local
2428 cqhdl = (tavor_cqhdl_t)cq; in tavor_rsrc_cqhdl_destructor()
2430 mutex_destroy(&cqhdl->cq_wrid_wqhdr_lock); in tavor_rsrc_cqhdl_destructor()
2431 mutex_destroy(&cqhdl->cq_lock); in tavor_rsrc_cqhdl_destructor()
/illumos-gate/usr/src/lib/udapl/udapl_tavor/tavor/
H A Ddapl_arbel_hw.c752 dapli_arbel_cq_cqe_consume(ib_cq_handle_t cqhdl, tavor_hw_cqe_t *cqe, in dapli_arbel_cq_cqe_consume() argument
773 status = dapli_arbel_cq_errcqe_consume(cqhdl, cqe, wc); in dapli_arbel_cq_cqe_consume()
781 wc->wc_id = dapls_tavor_wrid_get_entry(cqhdl, cqe, in dapli_arbel_cq_cqe_consume()
861 dapli_arbel_cq_errcqe_consume(ib_cq_handle_t cqhdl, tavor_hw_cqe_t *cqe, in dapli_arbel_cq_errcqe_consume() argument
877 wc->wc_id = dapls_tavor_wrid_get_entry(cqhdl, cqe, in dapli_arbel_cq_errcqe_consume()
H A Ddapl_hermon_hw.c759 dapli_hermon_cq_cqe_consume(ib_cq_handle_t cqhdl, uint32_t *cqe, in dapli_hermon_cq_cqe_consume() argument
775 status = dapli_hermon_cq_errcqe_consume(cqhdl, cqe, wc); in dapli_hermon_cq_cqe_consume()
785 wc->wc_id = dapls_tavor_wrid_get_entry(cqhdl, (tavor_hw_cqe_t *)cqe, in dapli_hermon_cq_cqe_consume()
862 dapli_hermon_cq_errcqe_consume(ib_cq_handle_t cqhdl, uint32_t *cqe, in dapli_hermon_cq_errcqe_consume() argument
886 wc->wc_id = dapls_tavor_wrid_get_entry(cqhdl, (tavor_hw_cqe_t *)cqe, in dapli_hermon_cq_errcqe_consume()
H A Ddapl_tavor_hw.c991 dapli_tavor_cq_cqe_consume(ib_cq_handle_t cqhdl, tavor_hw_cqe_t *cqe, in dapli_tavor_cq_cqe_consume() argument
1008 status = dapli_tavor_cq_errcqe_consume(cqhdl, cqe, wc); in dapli_tavor_cq_cqe_consume()
1016 wc->wc_id = dapls_tavor_wrid_get_entry(cqhdl, cqe, in dapli_tavor_cq_cqe_consume()
1096 dapli_tavor_cq_errcqe_consume(ib_cq_handle_t cqhdl, tavor_hw_cqe_t *cqe, in dapli_tavor_cq_errcqe_consume() argument
1114 wc->wc_id = dapls_tavor_wrid_get_entry(cqhdl, cqe, in dapli_tavor_cq_errcqe_consume()