Searched refs:kqp (Results 1 – 4 of 4) sorted by relevance
505 struct erdma_kqp *kqp = &qp->kern_qp; in init_kernel_qp() local509 kqp->sig_all = 1; in init_kernel_qp()511 kqp->sq_pi = 0; in init_kernel_qp()512 kqp->sq_ci = 0; in init_kernel_qp()513 kqp->rq_pi = 0; in init_kernel_qp()514 kqp->rq_ci = 0; in init_kernel_qp()515 kqp->hw_sq_db = in init_kernel_qp()517 kqp->hw_rq_db = dev->func_bar + ERDMA_BAR_RQDB_SPACE_OFFSET; in init_kernel_qp()519 kqp->swr_tbl = vmalloc_array(qp->attrs.sq_size, sizeof(u64)); in init_kernel_qp()520 kqp->rwr_tbl = vmalloc_array(qp->attrs.rq_size, sizeof(u64)); in init_kernel_qp()[all …]
667 struct irdma_dma_mem *mem = &iwqp->kqp.dma_mem; in irdma_setup_kmode_qp()682 iwqp->kqp.sq_wrid_mem = in irdma_setup_kmode_qp()683 kcalloc(ukinfo->sq_depth, sizeof(*iwqp->kqp.sq_wrid_mem), GFP_KERNEL); in irdma_setup_kmode_qp()684 if (!iwqp->kqp.sq_wrid_mem) in irdma_setup_kmode_qp()687 iwqp->kqp.rq_wrid_mem = in irdma_setup_kmode_qp()688 kcalloc(ukinfo->rq_depth, sizeof(*iwqp->kqp.rq_wrid_mem), GFP_KERNEL); in irdma_setup_kmode_qp()690 if (!iwqp->kqp.rq_wrid_mem) { in irdma_setup_kmode_qp()691 kfree(iwqp->kqp.sq_wrid_mem); in irdma_setup_kmode_qp()692 iwqp->kqp.sq_wrid_mem = NULL; in irdma_setup_kmode_qp()696 ukinfo->sq_wrtrk_array = iwqp->kqp.sq_wrid_mem; in irdma_setup_kmode_qp()[all …]
208 struct irdma_qp_kmode kqp; member
1162 dma_free_coherent(rf->sc_dev.hw->device, iwqp->kqp.dma_mem.size, in irdma_free_qp_rsrc()1163 iwqp->kqp.dma_mem.va, iwqp->kqp.dma_mem.pa); in irdma_free_qp_rsrc()1164 iwqp->kqp.dma_mem.va = NULL; in irdma_free_qp_rsrc()1165 kfree(iwqp->kqp.sq_wrid_mem); in irdma_free_qp_rsrc()1166 kfree(iwqp->kqp.rq_wrid_mem); in irdma_free_qp_rsrc()