Home
last modified time | relevance | path

Searched refs:qp_wqinfo (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_qp.c376 qp->qp_wqinfo.qa_size = sq_size + rq_size; in tavor_qp_alloc()
377 qp->qp_wqinfo.qa_alloc_align = max(sq_wqe_size, rq_wqe_size); in tavor_qp_alloc()
378 qp->qp_wqinfo.qa_bind_align = max(sq_wqe_size, rq_wqe_size); in tavor_qp_alloc()
380 qp->qp_wqinfo.qa_location = TAVOR_QUEUE_LOCATION_USERLAND; in tavor_qp_alloc()
382 qp->qp_wqinfo.qa_location = wq_location; in tavor_qp_alloc()
384 status = tavor_queue_alloc(state, &qp->qp_wqinfo, sleepflag); in tavor_qp_alloc()
389 sq_buf = qp->qp_wqinfo.qa_buf_aligned; in tavor_qp_alloc()
399 rq_buf = qp->qp_wqinfo.qa_buf_aligned; in tavor_qp_alloc()
421 mr_attr.mr_vaddr = (uint64_t)(uintptr_t)qp->qp_wqinfo.qa_buf_aligned; in tavor_qp_alloc()
422 mr_attr.mr_len = qp->qp_wqinfo.qa_size; in tavor_qp_alloc()
[all …]
H A Dtavor_umap.c296 offset = (offset_t)((uintptr_t)qp->qp_wqinfo.qa_buf_aligned - in tavor_umap_qpmem()
297 (uintptr_t)qp->qp_wqinfo.qa_buf_real); in tavor_umap_qpmem()
300 size = ptob(btopr(qp->qp_wqinfo.qa_size)); in tavor_umap_qpmem()
305 &tavor_devmap_umem_cbops, qp->qp_wqinfo.qa_umemcookie, offset, in tavor_umap_qpmem()
452 dvm_track->tdt_size = qp->qp_wqinfo.qa_size; in tavor_devmap_umem_map()
1140 data->mqp_maplen = qp->qp_wqinfo.qa_size; in tavor_umap_qp_data_out()
1149 data->mqp_rq_off = (uint32_t)qp->qp_wqinfo.qa_size; in tavor_umap_qp_data_out()
1150 data->mqp_rq_desc_addr = (uint32_t)qp->qp_wqinfo.qa_size; in tavor_umap_qp_data_out()
1155 (uintptr_t)qp->qp_wqinfo.qa_buf_aligned; in tavor_umap_qp_data_out()
1162 (uintptr_t)qp->qp_wqinfo.qa_buf_aligned; in tavor_umap_qp_data_out()
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_qp.c472 qp->qp_wqinfo.qa_size = sq_size + rq_size; in hermon_qp_alloc()
474 qp->qp_wqinfo.qa_alloc_align = PAGESIZE; in hermon_qp_alloc()
475 qp->qp_wqinfo.qa_bind_align = PAGESIZE; in hermon_qp_alloc()
478 qp->qp_wqinfo.qa_location = HERMON_QUEUE_LOCATION_USERLAND; in hermon_qp_alloc()
480 qp->qp_wqinfo.qa_location = HERMON_QUEUE_LOCATION_NORMAL; in hermon_qp_alloc()
482 status = hermon_queue_alloc(state, &qp->qp_wqinfo, sleepflag); in hermon_qp_alloc()
495 sq_buf = qp->qp_wqinfo.qa_buf_aligned; in hermon_qp_alloc()
505 rq_buf = qp->qp_wqinfo.qa_buf_aligned; in hermon_qp_alloc()
550 mr_attr.mr_vaddr = (uint64_t)(uintptr_t)qp->qp_wqinfo.qa_buf_aligned; in hermon_qp_alloc()
551 mr_attr.mr_len = qp->qp_wqinfo.qa_size; in hermon_qp_alloc()
[all …]
H A Dhermon_umap.c343 offset = (offset_t)((uintptr_t)qp->qp_wqinfo.qa_buf_aligned - in hermon_umap_qpmem()
344 (uintptr_t)qp->qp_wqinfo.qa_buf_real); in hermon_umap_qpmem()
347 size = ptob(btopr(qp->qp_wqinfo.qa_size)); in hermon_umap_qpmem()
352 &hermon_devmap_umem_cbops, qp->qp_wqinfo.qa_umemcookie, offset, in hermon_umap_qpmem()
547 dvm_track->hdt_size = qp->qp_wqinfo.qa_size; in hermon_devmap_umem_map()
946 dvm_track->hdt_size = qp->qp_wqinfo.qa_size; in hermon_devmap_dbrecmem_map()
1650 data->mqp_maplen = qp->qp_wqinfo.qa_size; in hermon_umap_qp_data_out()
1659 data->mqp_rq_off = (uint32_t)qp->qp_wqinfo.qa_size; in hermon_umap_qp_data_out()
1660 data->mqp_rq_desc_addr = (uint32_t)qp->qp_wqinfo.qa_size; in hermon_umap_qp_data_out()
1668 (uintptr_t)qp->qp_wqinfo.qa_buf_aligned; in hermon_umap_qp_data_out()
[all …]
H A Dhermon_wr.c2089 invalue = ddi_get32(qp->qp_wqinfo.qa_acchdl, in hermon_wqe_headroom()
2095 ddi_put32(qp->qp_wqinfo.qa_acchdl, wqe_start, invalue); in hermon_wqe_headroom()
H A Dhermon_qpmod.c878 qpc->page_offs = qp->qp_wqinfo.qa_pgoffs >> 6; in hermon_qp_reset2init()
3221 qpc->page_offs = qp->qp_wqinfo.qa_pgoffs >> 6; in hermon_qp_reset2err()
/illumos-gate/usr/src/uts/common/sys/ib/adapters/tavor/
H A Dtavor_hw.h2391 ddi_put64((qp)->qp_wqinfo.qa_acchdl, &tmp[0], \
2393 ddi_put64((qp)->qp_wqinfo.qa_acchdl, &tmp[1], \
2396 ddi_put64((qp)->qp_wqinfo.qa_acchdl, &tmp[2], 0x0); \
2397 ddi_put64((qp)->qp_wqinfo.qa_acchdl, &tmp[3], 0x0); \
2398 ddi_put64((qp)->qp_wqinfo.qa_acchdl, &tmp[4], \
2409 ddi_put64((qp)->qp_wqinfo.qa_acchdl, &tmp[0], \
2411 ddi_put64((qp)->qp_wqinfo.qa_acchdl, &tmp[1], \
2420 ddi_put64((qp)->qp_wqinfo.qa_acchdl, &tmp[0], \
2422 ddi_put64((qp)->qp_wqinfo.qa_acchdl, &tmp[1], \
2431 ddi_put64((qp)->qp_wqinfo.qa_acchdl, &tmp[0], \
[all …]
H A Dtavor_qp.h326 struct tavor_qalloc_info_s qp_wqinfo; member
342 tavor_sw_qp_s::qp_wqinfo
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon_qp.h316 struct hermon_qalloc_info_s qp_wqinfo; member
337 hermon_sw_qp_s::qp_wqinfo