Lines Matching refs:kqp
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()
697 ukinfo->rq_wrid_array = iwqp->kqp.rq_wrid_mem; in irdma_setup_kmode_qp()
706 kfree(iwqp->kqp.sq_wrid_mem); in irdma_setup_kmode_qp()
707 iwqp->kqp.sq_wrid_mem = NULL; in irdma_setup_kmode_qp()
708 kfree(iwqp->kqp.rq_wrid_mem); in irdma_setup_kmode_qp()
709 iwqp->kqp.rq_wrid_mem = NULL; in irdma_setup_kmode_qp()