• Home
  • Raw
  • Download

Lines Matching refs:qset

65 	struct otx2_rcv_queue *rq = &pfvf->qset.rq[qidx];  in otx2_update_rq_stats()
67 if (!pfvf->qset.rq) in otx2_update_rq_stats()
76 struct otx2_snd_queue *sq = &pfvf->qset.sq[qidx]; in otx2_update_sq_stats()
78 if (!pfvf->qset.sq) in otx2_update_sq_stats()
706 struct otx2_qset *qset = &pfvf->qset; in otx2_rq_init() local
724 aq->rq.xqe_pass = RQ_PASS_LVL_CQ(pfvf->hw.rq_skid, qset->rqe_cnt); in otx2_rq_init()
725 aq->rq.xqe_drop = RQ_DROP_LVL_CQ(pfvf->hw.rq_skid, qset->rqe_cnt); in otx2_rq_init()
739 struct otx2_qset *qset = &pfvf->qset; in otx2_sq_init() local
745 pool = &pfvf->qset.pool[sqb_aura]; in otx2_sq_init()
746 sq = &qset->sq[qidx]; in otx2_sq_init()
748 sq->sqe_cnt = qset->sqe_cnt; in otx2_sq_init()
754 err = qmem_alloc(pfvf->dev, &sq->tso_hdrs, qset->sqe_cnt, in otx2_sq_init()
760 sq->sg = kcalloc(qset->sqe_cnt, sizeof(struct sg_list), GFP_KERNEL); in otx2_sq_init()
765 err = qmem_alloc(pfvf->dev, &sq->timestamps, qset->sqe_cnt, in otx2_sq_init()
773 sq->num_sqbs = (qset->sqe_cnt + sq->sqe_per_sqb) / sq->sqe_per_sqb; in otx2_sq_init()
816 struct otx2_qset *qset = &pfvf->qset; in otx2_cq_init() local
821 cq = &qset->cq[qidx]; in otx2_cq_init()
826 cq->cqe_cnt = qset->rqe_cnt; in otx2_cq_init()
830 cq->cqe_cnt = qset->sqe_cnt; in otx2_cq_init()
832 cq->cqe_size = pfvf->qset.xqe_size; in otx2_cq_init()
846 cq->rbpool = &qset->pool[pool_id]; in otx2_cq_init()
872 aq->cq.bp = RQ_PASS_LVL_CQ(pfvf->hw.rq_skid, qset->rqe_cnt); in otx2_cq_init()
895 cq = &pfvf->qset.cq[qidx]; in otx2_pool_refill_task()
945 for (qidx = 0; qidx < pfvf->qset.cq_cnt; qidx++) { in otx2_config_nix_queues()
952 pfvf->refill_wrk = devm_kcalloc(pfvf->dev, pfvf->qset.cq_cnt, in otx2_config_nix_queues()
957 for (qidx = 0; qidx < pfvf->qset.cq_cnt; qidx++) { in otx2_config_nix_queues()
971 pfvf->qset.xqe_size = NIX_XQESZ_W16 ? 128 : 512; in otx2_config_nix()
981 nixlf->cq_cnt = pfvf->qset.cq_cnt; in otx2_config_nix()
1012 struct otx2_qset *qset = &pfvf->qset; in otx2_sq_free_sqbs() local
1019 sq = &qset->sq[qidx]; in otx2_sq_free_sqbs()
1074 if (!pfvf->qset.pool) in otx2_aura_pool_free()
1078 pool = &pfvf->qset.pool[pool_id]; in otx2_aura_pool_free()
1082 devm_kfree(pfvf->dev, pfvf->qset.pool); in otx2_aura_pool_free()
1083 pfvf->qset.pool = NULL; in otx2_aura_pool_free()
1093 pool = &pfvf->qset.pool[pool_id]; in otx2_aura_init()
1166 pool = &pfvf->qset.pool[pool_id]; in otx2_pool_init()
1211 struct otx2_qset *qset = &pfvf->qset; in otx2_sq_aura_pool_init() local
1224 num_sqbs = (qset->sqe_cnt + num_sqbs) / num_sqbs; in otx2_sq_aura_pool_init()
1252 pool = &pfvf->qset.pool[pool_id]; in otx2_sq_aura_pool_init()
1254 sq = &qset->sq[qidx]; in otx2_sq_aura_pool_init()
1284 num_ptrs = pfvf->qset.rqe_cnt; in otx2_rq_aura_pool_init()
1310 pool = &pfvf->qset.pool[pool_id]; in otx2_rq_aura_pool_init()
1329 struct otx2_qset *qset = &pfvf->qset; in otx2_config_npa() local
1341 qset->pool = devm_kcalloc(pfvf->dev, hw->pool_cnt, in otx2_config_npa()
1343 if (!qset->pool) in otx2_config_npa()
1547 struct otx2_qset *qset = &pfvf->qset; in otx2_free_cints() local
1558 free_irq(vector, &qset->napi[qidx]); in otx2_free_cints()