Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_debugfs.c2215 struct nix_cq_ctx_s *cq_ctx = &rsp->cq; in print_nix_cq_ctx() local
2224 seq_printf(m, "W0: base \t\t\t%llx\n\n", cq_ctx->base); in print_nix_cq_ctx()
2226 seq_printf(m, "W1: wrptr \t\t\t%llx\n", (u64)cq_ctx->wrptr); in print_nix_cq_ctx()
2228 cq_ctx->avg_con, cq_ctx->cint_idx); in print_nix_cq_ctx()
2230 cq_ctx->cq_err, cq_ctx->qint_idx); in print_nix_cq_ctx()
2232 cq_ctx->bpid, cq_ctx->bp_ena); in print_nix_cq_ctx()
2235 seq_printf(m, "W1: lbpid_high \t\t\t0x%03x\n", cq_ctx->lbpid_high); in print_nix_cq_ctx()
2236 seq_printf(m, "W1: lbpid_med \t\t\t0x%03x\n", cq_ctx->lbpid_med); in print_nix_cq_ctx()
2237 seq_printf(m, "W1: lbpid_low \t\t\t0x%03x\n", cq_ctx->lbpid_low); in print_nix_cq_ctx()
2239 cq_ctx->lbpid_high << 6 | cq_ctx->lbpid_med << 3 | in print_nix_cq_ctx()
[all …]
H A Drvu_nix.c924 if (pfvf->cq_ctx) in nix_ctx_free()
925 qmem_free(rvu->dev, pfvf->cq_ctx); in nix_ctx_free()
938 pfvf->cq_ctx = NULL; in nix_ctx_free()
1099 if (!pfvf->cq_ctx || req->qidx >= pfvf->cq_ctx->qsize) in rvu_nix_blk_aq_enq_inst()
1404 if (!pfvf->cq_ctx || !pfvf->sq_ctx || !pfvf->rq_ctx) in nix_lf_hwctx_disable()
1415 q_cnt = pfvf->cq_ctx->qsize; in nix_lf_hwctx_disable()
1624 rc = qmem_alloc(rvu->dev, &pfvf->cq_ctx, req->cq_cnt, hwctx_size); in rvu_mbox_handler_nix_lf_alloc()
1635 (u64)pfvf->cq_ctx->iova); in rvu_mbox_handler_nix_lf_alloc()
5426 if (pfvf->cq_ctx) { in rvu_nix_lf_teardown()
H A Drvu.h269 struct qmem *cq_ctx; member