Searched refs:txsch (Results 1 – 5 of 5) sorted by relevance
273 struct nix_txsch *txsch; in is_valid_txschq() local281 txsch = &nix_hw->txsch[lvl]; in is_valid_txschq()283 if (schq >= txsch->schq.max) in is_valid_txschq()287 map_func = TXSCH_MAP_FUNC(txsch->pfvf_map[schq]); in is_valid_txschq()1915 struct nix_txsch *txsch; in nix_check_txschq_alloc_req() local1918 txsch = &nix_hw->txsch[lvl]; in nix_check_txschq_alloc_req()1937 if (end <= txsch->schq.max && schq < end && in nix_check_txschq_alloc_req()1938 !test_bit(schq, txsch->schq.bmap)) in nix_check_txschq_alloc_req()1943 free_cnt = rvu_rsrc_free_count(&txsch->schq); in nix_check_txschq_alloc_req()1952 !rvu_rsrc_check_contig(&txsch->schq, req->schq_contig[lvl])) in nix_check_txschq_alloc_req()[all …]
1904 struct nix_txsch *txsch; in rvu_mbox_handler_free_rsrc_cnt() local1947 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ]; in rvu_mbox_handler_free_rsrc_cnt()1949 rvu_rsrc_free_count(&txsch->schq); in rvu_mbox_handler_free_rsrc_cnt()1951 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL4]; in rvu_mbox_handler_free_rsrc_cnt()1953 rvu_rsrc_free_count(&txsch->schq); in rvu_mbox_handler_free_rsrc_cnt()1955 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL3]; in rvu_mbox_handler_free_rsrc_cnt()1957 rvu_rsrc_free_count(&txsch->schq); in rvu_mbox_handler_free_rsrc_cnt()1959 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL2]; in rvu_mbox_handler_free_rsrc_cnt()1961 rvu_rsrc_free_count(&txsch->schq); in rvu_mbox_handler_free_rsrc_cnt()1967 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ]; in rvu_mbox_handler_free_rsrc_cnt()[all …]
1376 struct nix_txsch *txsch; in rvu_af_dl_dwrr_mtu_validate() local1396 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ]; in rvu_af_dl_dwrr_mtu_validate()1397 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()
340 struct nix_txsch txsch[NIX_TXSCH_LVL_CNT]; /* Tx schedulers */ member849 struct nix_txsch *txsch, bool enable);