Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_nix.c260 struct nix_txsch *txsch; in is_valid_txschq() local
268 txsch = &nix_hw->txsch[lvl]; in is_valid_txschq()
270 if (schq >= txsch->schq.max) in is_valid_txschq()
274 map_func = TXSCH_MAP_FUNC(txsch->pfvf_map[schq]); in is_valid_txschq()
1835 struct nix_txsch *txsch; in nix_check_txschq_alloc_req() local
1838 txsch = &nix_hw->txsch[lvl]; in nix_check_txschq_alloc_req()
1857 if (end <= txsch->schq.max && schq < end && in nix_check_txschq_alloc_req()
1858 !test_bit(schq, txsch->schq.bmap)) in nix_check_txschq_alloc_req()
1863 free_cnt = rvu_rsrc_free_count(&txsch->schq); in nix_check_txschq_alloc_req()
1871 !rvu_rsrc_check_contig(&txsch->schq, req->schq_contig[lvl])) in nix_check_txschq_alloc_req()
[all …]
Drvu.c1879 struct nix_txsch *txsch; in rvu_mbox_handler_free_rsrc_cnt() local
1922 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ]; in rvu_mbox_handler_free_rsrc_cnt()
1924 rvu_rsrc_free_count(&txsch->schq); in rvu_mbox_handler_free_rsrc_cnt()
1926 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL4]; in rvu_mbox_handler_free_rsrc_cnt()
1928 rvu_rsrc_free_count(&txsch->schq); in rvu_mbox_handler_free_rsrc_cnt()
1930 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL3]; in rvu_mbox_handler_free_rsrc_cnt()
1932 rvu_rsrc_free_count(&txsch->schq); in rvu_mbox_handler_free_rsrc_cnt()
1934 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL2]; in rvu_mbox_handler_free_rsrc_cnt()
1936 rvu_rsrc_free_count(&txsch->schq); in rvu_mbox_handler_free_rsrc_cnt()
1942 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ]; in rvu_mbox_handler_free_rsrc_cnt()
[all …]
Drvu_devlink.c1375 struct nix_txsch *txsch; in rvu_af_dl_dwrr_mtu_validate() local
1395 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()
Drvu.h313 struct nix_txsch txsch[NIX_TXSCH_LVL_CNT]; /* Tx schedulers */ member