Searched refs:txsch (Results 1 – 6 of 6) sorted by relevance
297 struct nix_txsch *txsch; in is_valid_txschq() local305 txsch = &nix_hw->txsch[lvl]; in is_valid_txschq()307 if (schq >= txsch->schq.max) in is_valid_txschq()311 map_func = TXSCH_MAP_FUNC(txsch->pfvf_map[schq]); in is_valid_txschq()2101 struct nix_txsch *txsch; in nix_check_txschq_alloc_req() local2104 txsch = &nix_hw->txsch[lvl]; in nix_check_txschq_alloc_req()2123 if (end <= txsch->schq.max && schq < end && in nix_check_txschq_alloc_req()2124 !test_bit(schq, txsch->schq.bmap)) in nix_check_txschq_alloc_req()2129 free_cnt = rvu_rsrc_free_count(&txsch->schq); in nix_check_txschq_alloc_req()2138 !rvu_rsrc_check_contig(&txsch->schq, req->schq_contig[lvl])) in nix_check_txschq_alloc_req()[all …]
1957 struct nix_txsch *txsch; in rvu_mbox_handler_free_rsrc_cnt() local2000 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ]; in rvu_mbox_handler_free_rsrc_cnt()2002 rvu_rsrc_free_count(&txsch->schq); in rvu_mbox_handler_free_rsrc_cnt()2004 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL4]; in rvu_mbox_handler_free_rsrc_cnt()2006 rvu_rsrc_free_count(&txsch->schq); in rvu_mbox_handler_free_rsrc_cnt()2008 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL3]; in rvu_mbox_handler_free_rsrc_cnt()2010 rvu_rsrc_free_count(&txsch->schq); in rvu_mbox_handler_free_rsrc_cnt()2012 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL2]; in rvu_mbox_handler_free_rsrc_cnt()2014 rvu_rsrc_free_count(&txsch->schq); in rvu_mbox_handler_free_rsrc_cnt()2020 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ]; in rvu_mbox_handler_free_rsrc_cnt()[all …]
1188 struct nix_txsch *txsch; in rvu_af_dl_dwrr_mtu_validate() local1208 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ]; in rvu_af_dl_dwrr_mtu_validate()1209 if (rvu_rsrc_free_count(&txsch->schq) != txsch->schq.max) { in rvu_af_dl_dwrr_mtu_validate()
19 &nix_hw->txsch[NIX_TXSCH_LVL_TL2], enable); in rvu_switch_enable_lbk_link()
398 struct nix_txsch txsch[NIX_TXSCH_LVL_CNT]; /* Tx schedulers */ member1035 struct nix_txsch *txsch, bool enable);
1964 struct nix_txsch *txsch; in rvu_dbg_nix_tm_topo_display() local1980 txsch = &nix_hw->txsch[lvl]; in rvu_dbg_nix_tm_topo_display()1981 for (schq = 0; schq < txsch->schq.max; schq++) { in rvu_dbg_nix_tm_topo_display()1982 if (TXSCH_MAP_FUNC(txsch->pfvf_map[schq]) == pcifunc) in rvu_dbg_nix_tm_topo_display()