Home
last modified time | relevance | path

Searched refs:schq (Results 1 – 11 of 11) sorted by relevance

/drivers/net/ethernet/marvell/octeontx2/nic/
A Dqos.c336 cfg->schq[node->level]++; in otx2_qos_fill_cfg_schq()
374 cfg->schq[node->level]++; in otx2_qos_read_txschq_cfg_schq()
644 int lvl, rc, schq; in otx2_qos_txschq_alloc() local
654 req->schq[lvl] = cfg->schq[lvl]; in otx2_qos_txschq_alloc()
673 for (schq = 0; schq < rsp->schq_contig[lvl]; schq++) { in otx2_qos_txschq_alloc()
680 for (schq = 0; schq < rsp->schq[lvl]; schq++) { in otx2_qos_txschq_alloc()
681 cfg->schq_list[lvl][schq] = in otx2_qos_txschq_alloc()
682 rsp->schq_list[lvl][schq]; in otx2_qos_txschq_alloc()
697 int lvl, idx, schq; in otx2_qos_free_unused_txschq() local
911 int lvl, idx, schq; in otx2_qos_free_cfg() local
[all …]
A Dotx2_common.c620 u64 schq, parent; in otx2_txschq_config() local
638 schq = schq_list[lvl][prio]; in otx2_txschq_config()
641 req->reg[0] = NIX_AF_SMQX_CFG(schq); in otx2_txschq_config()
763 int lvl, schq, rc; in otx2_txsch_alloc() local
772 req->schq[lvl] = 1; in otx2_txsch_alloc()
791 for (schq = 0; schq < rsp->schq[lvl]; schq++) in otx2_txsch_alloc()
792 pfvf->hw.txschq_list[lvl][schq] = in otx2_txsch_alloc()
793 rsp->schq_list[lvl][schq]; in otx2_txsch_alloc()
818 free_req->schq = schq; in otx2_txschq_free_one()
832 int lvl, schq, idx; in otx2_txschq_stop() local
[all …]
A Dqos.h32 u16 schq[NIX_TXSCH_LVL_CNT]; member
65 u16 schq; member
A Dotx2_dcbnl.c75 req->schq[lvl] = 1; in otx2_pfc_txschq_alloc_one()
88 if (!rsp->schq[lvl]) in otx2_pfc_txschq_alloc_one()
A Dotx2_common.h1024 void otx2_txschq_free_one(struct otx2_nic *pfvf, u16 lvl, u16 schq);
/drivers/net/ethernet/marvell/octeontx2/af/
A Drvu_nix.c307 if (schq >= txsch->schq.max) in is_valid_txschq()
2181 set_bit(schq, txsch->schq.bmap); in nix_txsch_alloc()
2209 for (schq = start; schq < end; schq++) { in nix_txsch_alloc()
2263 rsp->schq[lvl] = req->schq[lvl]; in rvu_mbox_handler_nix_txsch_alloc()
2328 smq_tree_ctx->schq = schq; in nix_smq_flush_fill_ctx()
2550 for (schq = 0; schq < txsch->schq.max; schq++) { in nix_txschq_free()
2576 for (schq = 0; schq < txsch->schq.max; schq++) { in nix_txschq_free()
2591 for (schq = 0; schq < txsch->schq.max; schq++) { in nix_txschq_free()
2632 schq = req->schq; in nix_txschq_free_one()
2835 for (schq = 0; schq < txsch->schq.max; schq++) { in rvu_nix_tx_tl2_cfg()
[all …]
A Drvu_debugfs.c1650 u16 p1, p2, p3, p4, schq; in print_tm_tree() local
1655 schq = sq_ctx->smq; in print_tm_tree()
1670 sq, schq, p1, p2, p3, p4); in print_tm_tree()
1839 schq, rvu_read64(rvu, blkaddr, in print_tm_topo()
1844 schq, link, in print_tm_topo()
1877 schq, rvu_read64(rvu, blkaddr, in print_tm_topo()
1890 schq, in print_tm_topo()
1915 schq, in print_tm_topo()
1950 int nixlf, lvl, schq; in rvu_dbg_nix_tm_topo_display() local
1966 for (schq = 0; schq < txsch->schq.max; schq++) { in rvu_dbg_nix_tm_topo_display()
[all …]
A Drvu.c1942 rsp->schq[NIX_TXSCH_LVL_SMQ] = 1; in rvu_mbox_handler_free_rsrc_cnt()
1943 rsp->schq[NIX_TXSCH_LVL_TL4] = 1; in rvu_mbox_handler_free_rsrc_cnt()
1944 rsp->schq[NIX_TXSCH_LVL_TL3] = 1; in rvu_mbox_handler_free_rsrc_cnt()
1945 rsp->schq[NIX_TXSCH_LVL_TL2] = 1; in rvu_mbox_handler_free_rsrc_cnt()
1956 rsp->schq[NIX_TXSCH_LVL_SMQ] = in rvu_mbox_handler_free_rsrc_cnt()
1957 rvu_rsrc_free_count(&txsch->schq); in rvu_mbox_handler_free_rsrc_cnt()
1960 rsp->schq[NIX_TXSCH_LVL_TL4] = in rvu_mbox_handler_free_rsrc_cnt()
1961 rvu_rsrc_free_count(&txsch->schq); in rvu_mbox_handler_free_rsrc_cnt()
1964 rsp->schq[NIX_TXSCH_LVL_TL3] = in rvu_mbox_handler_free_rsrc_cnt()
1968 rsp->schq[NIX_TXSCH_LVL_TL2] = in rvu_mbox_handler_free_rsrc_cnt()
[all …]
A Dmbox.h494 u16 schq[NIX_TXSCH_LVL_CNT]; member
1023 u16 schq[NIX_TXSCH_LVL_CNT]; /* No of non-contiguous queues */ member
1030 u16 schq[NIX_TXSCH_LVL_CNT]; member
1046 u16 schq; member
A Drvu.h333 struct rsrc_bmap schq; member
352 u16 schq; member
A Drvu_devlink.c1193 if (rvu_rsrc_free_count(&txsch->schq) != txsch->schq.max) { in rvu_af_dl_dwrr_mtu_validate()

Completed in 642 milliseconds