Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/infiniband/hw/irdma/
Dverbs.h212 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.c914 iwqp->q2_ctx_mem.size = ALIGN(IRDMA_Q2_BUF_SIZE + IRDMA_QP_CTX_SIZE, in irdma_create_qp()
916 iwqp->q2_ctx_mem.va = dma_alloc_coherent(dev->hw->device, in irdma_create_qp()
917 iwqp->q2_ctx_mem.size, in irdma_create_qp()
918 &iwqp->q2_ctx_mem.pa, in irdma_create_qp()
920 if (!iwqp->q2_ctx_mem.va) in irdma_create_qp()
923 init_info.q2 = iwqp->q2_ctx_mem.va; in irdma_create_qp()
924 init_info.q2_pa = iwqp->q2_ctx_mem.pa; in irdma_create_qp()