Searched refs:txsch (Results 1 – 4 of 4) sorted by relevance
259 struct nix_txsch *txsch; in is_valid_txschq() local267 txsch = &nix_hw->txsch[lvl]; in is_valid_txschq()269 if (schq >= txsch->schq.max) in is_valid_txschq()273 map_func = TXSCH_MAP_FUNC(txsch->pfvf_map[schq]); in is_valid_txschq()1767 struct nix_txsch *txsch; in nix_check_txschq_alloc_req() local1770 txsch = &nix_hw->txsch[lvl]; in nix_check_txschq_alloc_req()1789 if (end <= txsch->schq.max && schq < end && in nix_check_txschq_alloc_req()1790 !test_bit(schq, txsch->schq.bmap)) in nix_check_txschq_alloc_req()1795 free_cnt = rvu_rsrc_free_count(&txsch->schq); in nix_check_txschq_alloc_req()1803 !rvu_rsrc_check_contig(&txsch->schq, req->schq_contig[lvl])) in nix_check_txschq_alloc_req()[all …]
1816 struct nix_txsch *txsch; in rvu_mbox_handler_free_rsrc_cnt() local1859 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ]; in rvu_mbox_handler_free_rsrc_cnt()1861 rvu_rsrc_free_count(&txsch->schq); in rvu_mbox_handler_free_rsrc_cnt()1863 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL4]; in rvu_mbox_handler_free_rsrc_cnt()1865 rvu_rsrc_free_count(&txsch->schq); in rvu_mbox_handler_free_rsrc_cnt()1867 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL3]; in rvu_mbox_handler_free_rsrc_cnt()1869 rvu_rsrc_free_count(&txsch->schq); in rvu_mbox_handler_free_rsrc_cnt()1871 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL2]; in rvu_mbox_handler_free_rsrc_cnt()1873 rvu_rsrc_free_count(&txsch->schq); in rvu_mbox_handler_free_rsrc_cnt()1879 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ]; in rvu_mbox_handler_free_rsrc_cnt()[all …]
1375 struct nix_txsch *txsch; in rvu_af_dl_dwrr_mtu_validate() local1395 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ]; in rvu_af_dl_dwrr_mtu_validate()1396 if (rvu_rsrc_free_count(&txsch->schq) != txsch->schq.max) { in rvu_af_dl_dwrr_mtu_validate()
310 struct nix_txsch txsch[NIX_TXSCH_LVL_CNT]; /* Tx schedulers */ member