Home
last modified time | relevance | path

Searched refs:txsch (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_nix.c297 struct nix_txsch *txsch; in is_valid_txschq() local
305 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() local
2104 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 …]
H A Drvu_devlink.c1189 struct nix_txsch *txsch; in rvu_af_dl_dwrr_mtu_validate() local
1209 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ]; in rvu_af_dl_dwrr_mtu_validate()
1210 if (rvu_rsrc_free_count(&txsch->schq) != txsch->schq.max) { in rvu_af_dl_dwrr_mtu_validate()
H A Drvu_switch.c19 &nix_hw->txsch[NIX_TXSCH_LVL_TL2], enable); in rvu_switch_enable_lbk_link()