Searched refs:q2_ctx_mem (Results 1 – 3 of 3) sorted by relevance
206 struct irdma_dma_mem q2_ctx_mem; member
855 iwqp->q2_ctx_mem.size = ALIGN(IRDMA_Q2_BUF_SIZE + IRDMA_QP_CTX_SIZE, in irdma_create_qp()857 iwqp->q2_ctx_mem.va = dma_alloc_coherent(dev->hw->device, in irdma_create_qp()858 iwqp->q2_ctx_mem.size, in irdma_create_qp()859 &iwqp->q2_ctx_mem.pa, in irdma_create_qp()861 if (!iwqp->q2_ctx_mem.va) in irdma_create_qp()864 init_info.q2 = iwqp->q2_ctx_mem.va; in irdma_create_qp()865 init_info.q2_pa = iwqp->q2_ctx_mem.pa; in irdma_create_qp()
1133 dma_free_coherent(rf->sc_dev.hw->device, iwqp->q2_ctx_mem.size, in irdma_free_qp_rsrc()1134 iwqp->q2_ctx_mem.va, iwqp->q2_ctx_mem.pa); in irdma_free_qp_rsrc()1135 iwqp->q2_ctx_mem.va = NULL; in irdma_free_qp_rsrc()