Home
last modified time | relevance | path

Searched refs:wqhdr (Results 1 – 8 of 8) sorted by relevance

/titanic_41/usr/src/lib/udapl/udapl_tavor/tavor/
H A Ddapl_tavor_wr.c608 dapls_tavor_workq_hdr_t *wqhdr, *consume_wqhdr = NULL; in dapli_tavor_wrid_list_reap() local
612 wqhdr = wridlist->wl_wqhdr; in dapli_tavor_wrid_list_reap()
613 dapl_os_lock(&wqhdr->wq_wrid_lock->wrl_lock); in dapli_tavor_wrid_list_reap()
630 if ((wqhdr->wq_wrid_poll == wridlist) && in dapli_tavor_wrid_list_reap()
631 (wqhdr->wq_wrid_post == wridlist)) { in dapli_tavor_wrid_list_reap()
632 consume_wqhdr = wqhdr; in dapli_tavor_wrid_list_reap()
636 if (wqhdr->wq_wrid_poll == wridlist) { in dapli_tavor_wrid_list_reap()
637 wqhdr->wq_wrid_poll = next; in dapli_tavor_wrid_list_reap()
639 if (wqhdr->wq_wrid_post == wridlist) { in dapli_tavor_wrid_list_reap()
640 wqhdr->wq_wrid_post = NULL; in dapli_tavor_wrid_list_reap()
[all …]
H A Ddapl_arbel_hw.c1387 dapls_tavor_workq_hdr_t *wqhdr; in dapli_arbel_cq_srq_entries_flush() local
1399 wqhdr = qp->qp_rq_wqhdr; in dapli_arbel_cq_srq_entries_flush()
1401 dapl_os_assert(wqhdr->wq_wrid_post != NULL); in dapli_arbel_cq_srq_entries_flush()
1402 dapl_os_assert(wqhdr->wq_wrid_post->wl_srq_en != 0); in dapli_arbel_cq_srq_entries_flush()
1462 wqhdr->wq_wrid_post, cqe); in dapli_arbel_cq_srq_entries_flush()
H A Ddapl_hermon_hw.c1442 dapls_tavor_workq_hdr_t *wqhdr; in dapli_hermon_cq_srq_entries_flush() local
1454 wqhdr = qp->qp_rq_wqhdr; in dapli_hermon_cq_srq_entries_flush()
1456 dapl_os_assert(wqhdr->wq_wrid_post != NULL); in dapli_hermon_cq_srq_entries_flush()
1457 dapl_os_assert(wqhdr->wq_wrid_post->wl_srq_en != 0); in dapli_hermon_cq_srq_entries_flush()
1511 wqhdr->wq_wrid_post, cqe); in dapli_hermon_cq_srq_entries_flush()
H A Ddapl_tavor_hw.c1720 dapls_tavor_workq_hdr_t *wqhdr; in dapli_tavor_cq_srq_entries_flush() local
1733 wqhdr = qp->qp_rq_wqhdr; in dapli_tavor_cq_srq_entries_flush()
1735 dapl_os_assert(wqhdr->wq_wrid_post != NULL); in dapli_tavor_cq_srq_entries_flush()
1736 dapl_os_assert(wqhdr->wq_wrid_post->wl_srq_en != 0); in dapli_tavor_cq_srq_entries_flush()
1796 wqhdr->wq_wrid_post, cqe); in dapli_tavor_cq_srq_entries_flush()
/titanic_41/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_wr.c81 static void tavor_wrid_wqhdr_add(tavor_workq_hdr_t *wqhdr,
83 static void tavor_wrid_wqhdr_remove(tavor_workq_hdr_t *wqhdr,
88 static void tavor_cq_wqhdr_add(tavor_cqhdl_t cq, tavor_workq_hdr_t *wqhdr);
89 static void tavor_cq_wqhdr_remove(tavor_cqhdl_t cq, tavor_workq_hdr_t *wqhdr);
3464 tavor_wrid_wqhdr_add(tavor_workq_hdr_t *wqhdr, in tavor_wrid_wqhdr_add() argument
3467 ASSERT(MUTEX_HELD(&wqhdr->wq_wrid_wql->wql_lock)); in tavor_wrid_wqhdr_add()
3470 if ((wqhdr->wq_wrid_post == NULL) && in tavor_wrid_wqhdr_add()
3471 (wqhdr->wq_wrid_poll == NULL)) { in tavor_wrid_wqhdr_add()
3472 wqhdr->wq_wrid_poll = wridlist; in tavor_wrid_wqhdr_add()
3473 wqhdr->wq_wrid_post = wridlist; in tavor_wrid_wqhdr_add()
[all …]
H A Dtavor_cq.c1735 tavor_workq_hdr_t *wqhdr; in tavor_cq_srq_entries_flush() local
1748 wqhdr = qp->qp_rq_wqhdr; in tavor_cq_srq_entries_flush()
1750 ASSERT(wqhdr->wq_wrid_post != NULL); in tavor_cq_srq_entries_flush()
1751 ASSERT(wqhdr->wq_wrid_post->wl_srq_en != 0); in tavor_cq_srq_entries_flush()
1827 (void) tavor_wrid_find_match_srq(wqhdr->wq_wrid_post, in tavor_cq_srq_entries_flush()
/titanic_41/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_wr.c2466 hermon_workq_hdr_t *wqhdr; in hermon_wrid_wqhdr_create() local
2471 wqhdr = (hermon_workq_hdr_t *)kmem_zalloc(sizeof (*wqhdr), KM_NOSLEEP); in hermon_wrid_wqhdr_create()
2472 if (wqhdr == NULL) { in hermon_wrid_wqhdr_create()
2475 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*wqhdr)) in hermon_wrid_wqhdr_create()
2476 wqhdr->wq_wrid = kmem_zalloc(bufsz * sizeof (uint64_t), KM_NOSLEEP); in hermon_wrid_wqhdr_create()
2477 if (wqhdr->wq_wrid == NULL) { in hermon_wrid_wqhdr_create()
2478 kmem_free(wqhdr, sizeof (*wqhdr)); in hermon_wrid_wqhdr_create()
2481 wqhdr->wq_size = bufsz; in hermon_wrid_wqhdr_create()
2482 wqhdr->wq_mask = bufsz - 1; in hermon_wrid_wqhdr_create()
2484 return (wqhdr); in hermon_wrid_wqhdr_create()
[all …]
/titanic_41/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon_wr.h188 void hermon_wrid_wqhdr_destroy(hermon_workq_hdr_t *wqhdr);