Home
last modified time | relevance | path

Searched refs:qpmem (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/infiniband/hw/irdma/
Dpuda.c648 rsrc->qpmem.size = ALIGN((sq_size + rq_size + (IRDMA_SHADOW_AREA_SIZE << 3) + IRDMA_QP_CTX_SIZE), in irdma_puda_qp_create()
650 rsrc->qpmem.va = dma_alloc_coherent(rsrc->dev->hw->device, in irdma_puda_qp_create()
651 rsrc->qpmem.size, &rsrc->qpmem.pa, in irdma_puda_qp_create()
653 if (!rsrc->qpmem.va) in irdma_puda_qp_create()
656 mem = &rsrc->qpmem; in irdma_puda_qp_create()
657 memset(mem->va, 0, rsrc->qpmem.size); in irdma_puda_qp_create()
688 dma_free_coherent(rsrc->dev->hw->device, rsrc->qpmem.size, in irdma_puda_qp_create()
689 rsrc->qpmem.va, rsrc->qpmem.pa); in irdma_puda_qp_create()
690 rsrc->qpmem.va = NULL; in irdma_puda_qp_create()
704 dma_free_coherent(rsrc->dev->hw->device, rsrc->qpmem.size, in irdma_puda_qp_create()
[all …]
Dpuda.h106 struct irdma_dma_mem qpmem; member