Home
last modified time | relevance | path

Searched refs:q2_ctx_mem (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/infiniband/hw/irdma/
Dverbs.h210 struct irdma_dma_mem q2_ctx_mem; member
Dutils.c1159 dma_free_coherent(rf->sc_dev.hw->device, iwqp->q2_ctx_mem.size, in irdma_free_qp_rsrc()
1160 iwqp->q2_ctx_mem.va, iwqp->q2_ctx_mem.pa); in irdma_free_qp_rsrc()
1161 iwqp->q2_ctx_mem.va = NULL; in irdma_free_qp_rsrc()
Dverbs.c915 iwqp->q2_ctx_mem.size = ALIGN(IRDMA_Q2_BUF_SIZE + IRDMA_QP_CTX_SIZE, in irdma_create_qp()
917 iwqp->q2_ctx_mem.va = dma_alloc_coherent(dev->hw->device, in irdma_create_qp()
918 iwqp->q2_ctx_mem.size, in irdma_create_qp()
919 &iwqp->q2_ctx_mem.pa, in irdma_create_qp()
921 if (!iwqp->q2_ctx_mem.va) in irdma_create_qp()
924 init_info.q2 = iwqp->q2_ctx_mem.va; in irdma_create_qp()
925 init_info.q2_pa = iwqp->q2_ctx_mem.pa; in irdma_create_qp()