Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_nix.c261 struct nix_txsch *txsch; in is_valid_txschq() local
269 txsch = &nix_hw->txsch[lvl]; in is_valid_txschq()
271 if (schq >= txsch->schq.max) in is_valid_txschq()
275 map_func = TXSCH_MAP_FUNC(txsch->pfvf_map[schq]); in is_valid_txschq()
1836 struct nix_txsch *txsch; in nix_check_txschq_alloc_req() local
1839 txsch = &nix_hw->txsch[lvl]; in nix_check_txschq_alloc_req()
1858 if (end <= txsch->schq.max && schq < end && in nix_check_txschq_alloc_req()
1859 !test_bit(schq, txsch->schq.bmap)) in nix_check_txschq_alloc_req()
1864 free_cnt = rvu_rsrc_free_count(&txsch->schq); in nix_check_txschq_alloc_req()
1872 !rvu_rsrc_check_contig(&txsch->schq, req->schq_contig[lvl])) in nix_check_txschq_alloc_req()
[all …]
Drvu.c1896 struct nix_txsch *txsch; in rvu_mbox_handler_free_rsrc_cnt() local
1939 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ]; in rvu_mbox_handler_free_rsrc_cnt()
1941 rvu_rsrc_free_count(&txsch->schq); in rvu_mbox_handler_free_rsrc_cnt()
1943 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL4]; in rvu_mbox_handler_free_rsrc_cnt()
1945 rvu_rsrc_free_count(&txsch->schq); in rvu_mbox_handler_free_rsrc_cnt()
1947 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL3]; 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_TL2]; in rvu_mbox_handler_free_rsrc_cnt()
1953 rvu_rsrc_free_count(&txsch->schq); in rvu_mbox_handler_free_rsrc_cnt()
1959 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ]; in rvu_mbox_handler_free_rsrc_cnt()
[all …]
Drvu_devlink.c1376 struct nix_txsch *txsch; in rvu_af_dl_dwrr_mtu_validate() local
1396 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()
Drvu.h319 struct nix_txsch txsch[NIX_TXSCH_LVL_CNT]; /* Tx schedulers */ member