Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_nix.c274 struct nix_txsch *txsch; in is_valid_txschq() local
282 txsch = &nix_hw->txsch[lvl]; in is_valid_txschq()
284 if (schq >= txsch->schq.max) in is_valid_txschq()
288 map_func = TXSCH_MAP_FUNC(txsch->pfvf_map[schq]); in is_valid_txschq()
1916 struct nix_txsch *txsch; in nix_check_txschq_alloc_req() local
1919 txsch = &nix_hw->txsch[lvl]; in nix_check_txschq_alloc_req()
1938 if (end <= txsch->schq.max && schq < end && in nix_check_txschq_alloc_req()
1939 !test_bit(schq, txsch->schq.bmap)) in nix_check_txschq_alloc_req()
1944 free_cnt = rvu_rsrc_free_count(&txsch->schq); in nix_check_txschq_alloc_req()
1953 !rvu_rsrc_check_contig(&txsch->schq, req->schq_contig[lvl])) in nix_check_txschq_alloc_req()
[all …]
H A Drvu.c1905 struct nix_txsch *txsch; in rvu_mbox_handler_free_rsrc_cnt() local
1948 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ]; in rvu_mbox_handler_free_rsrc_cnt()
1950 rvu_rsrc_free_count(&txsch->schq); in rvu_mbox_handler_free_rsrc_cnt()
1952 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL4]; in rvu_mbox_handler_free_rsrc_cnt()
1954 rvu_rsrc_free_count(&txsch->schq); in rvu_mbox_handler_free_rsrc_cnt()
1956 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL3]; in rvu_mbox_handler_free_rsrc_cnt()
1958 rvu_rsrc_free_count(&txsch->schq); in rvu_mbox_handler_free_rsrc_cnt()
1960 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL2]; in rvu_mbox_handler_free_rsrc_cnt()
1962 rvu_rsrc_free_count(&txsch->schq); in rvu_mbox_handler_free_rsrc_cnt()
1968 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ]; in rvu_mbox_handler_free_rsrc_cnt()
[all …]
H A Drvu_devlink.c1370 struct nix_txsch *txsch; in rvu_af_dl_dwrr_mtu_validate() local
1390 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ]; in rvu_af_dl_dwrr_mtu_validate()
1391 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()
H A Drvu.h339 struct nix_txsch txsch[NIX_TXSCH_LVL_CNT]; /* Tx schedulers */ member
851 struct nix_txsch *txsch, bool enable);