| /linux-6.15/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | qos.c | 336 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 …]
|
| H A D | otx2_common.c | 629 u64 schq, parent; in otx2_txschq_config() local 647 schq = schq_list[lvl][prio]; in otx2_txschq_config() 650 req->reg[0] = NIX_AF_SMQX_CFG(schq); in otx2_txschq_config() 772 int lvl, schq, rc; in otx2_txsch_alloc() local 781 req->schq[lvl] = 1; in otx2_txsch_alloc() 800 for (schq = 0; schq < rsp->schq[lvl]; schq++) in otx2_txsch_alloc() 801 pfvf->hw.txschq_list[lvl][schq] = in otx2_txsch_alloc() 802 rsp->schq_list[lvl][schq]; in otx2_txsch_alloc() 827 free_req->schq = schq; in otx2_txschq_free_one() 841 int lvl, schq, idx; in otx2_txschq_stop() local [all …]
|
| H A D | qos.h | 32 u16 schq[NIX_TXSCH_LVL_CNT]; member 65 u16 schq; member
|
| H A D | otx2_dcbnl.c | 75 req->schq[lvl] = 1; in otx2_pfc_txschq_alloc_one() 88 if (!rsp->schq[lvl]) in otx2_pfc_txschq_alloc_one()
|
| H A D | otx2_common.h | 1011 void otx2_txschq_free_one(struct otx2_nic *pfvf, u16 lvl, u16 schq);
|
| /linux-6.15/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_nix.c | 307 if (schq >= txsch->schq.max) in is_valid_txschq() 2179 set_bit(schq, txsch->schq.bmap); in nix_txsch_alloc() 2207 for (schq = start; schq < end; schq++) { in nix_txsch_alloc() 2261 rsp->schq[lvl] = req->schq[lvl]; in rvu_mbox_handler_nix_txsch_alloc() 2326 smq_tree_ctx->schq = schq; in nix_smq_flush_fill_ctx() 2548 for (schq = 0; schq < txsch->schq.max; schq++) { in nix_txschq_free() 2574 for (schq = 0; schq < txsch->schq.max; schq++) { in nix_txschq_free() 2589 for (schq = 0; schq < txsch->schq.max; schq++) { in nix_txschq_free() 2630 schq = req->schq; in nix_txschq_free_one() 2833 for (schq = 0; schq < txsch->schq.max; schq++) { in rvu_nix_tx_tl2_cfg() [all …]
|
| H A D | rvu_debugfs.c | 1585 u16 p1, p2, p3, p4, schq; in print_tm_tree() local 1590 schq = sq_ctx->smq; in print_tm_tree() 1605 sq, schq, p1, p2, p3, p4); in print_tm_tree() 1774 schq, rvu_read64(rvu, blkaddr, in print_tm_topo() 1779 schq, link, in print_tm_topo() 1812 schq, rvu_read64(rvu, blkaddr, in print_tm_topo() 1825 schq, in print_tm_topo() 1850 schq, in print_tm_topo() 1885 int nixlf, lvl, schq; in rvu_dbg_nix_tm_topo_display() local 1901 for (schq = 0; schq < txsch->schq.max; schq++) { in rvu_dbg_nix_tm_topo_display() [all …]
|
| H A D | rvu.c | 1940 rsp->schq[NIX_TXSCH_LVL_SMQ] = 1; in rvu_mbox_handler_free_rsrc_cnt() 1941 rsp->schq[NIX_TXSCH_LVL_TL4] = 1; in rvu_mbox_handler_free_rsrc_cnt() 1942 rsp->schq[NIX_TXSCH_LVL_TL3] = 1; in rvu_mbox_handler_free_rsrc_cnt() 1943 rsp->schq[NIX_TXSCH_LVL_TL2] = 1; in rvu_mbox_handler_free_rsrc_cnt() 1954 rsp->schq[NIX_TXSCH_LVL_SMQ] = in rvu_mbox_handler_free_rsrc_cnt() 1955 rvu_rsrc_free_count(&txsch->schq); in rvu_mbox_handler_free_rsrc_cnt() 1958 rsp->schq[NIX_TXSCH_LVL_TL4] = in rvu_mbox_handler_free_rsrc_cnt() 1959 rvu_rsrc_free_count(&txsch->schq); in rvu_mbox_handler_free_rsrc_cnt() 1962 rsp->schq[NIX_TXSCH_LVL_TL3] = in rvu_mbox_handler_free_rsrc_cnt() 1966 rsp->schq[NIX_TXSCH_LVL_TL2] = in rvu_mbox_handler_free_rsrc_cnt() [all …]
|
| H A D | mbox.h | 485 u16 schq[NIX_TXSCH_LVL_CNT]; member 1005 u16 schq[NIX_TXSCH_LVL_CNT]; /* No of non-contiguous queues */ member 1012 u16 schq[NIX_TXSCH_LVL_CNT]; member 1028 u16 schq; member
|
| H A D | rvu.h | 305 struct rsrc_bmap schq; member 324 u16 schq; member
|
| H A D | rvu_devlink.c | 1193 if (rvu_rsrc_free_count(&txsch->schq) != txsch->schq.max) { in rvu_af_dl_dwrr_mtu_validate()
|