Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_nix.c156 struct nix_txsch *txsch; in is_valid_txschq() local
164 txsch = &nix_hw->txsch[lvl]; in is_valid_txschq()
166 if (schq >= txsch->schq.max) in is_valid_txschq()
170 map_func = TXSCH_MAP_FUNC(txsch->pfvf_map[schq]); in is_valid_txschq()
1357 struct nix_txsch *txsch; in nix_check_txschq_alloc_req() local
1360 txsch = &nix_hw->txsch[lvl]; in nix_check_txschq_alloc_req()
1379 if (end <= txsch->schq.max && schq < end && in nix_check_txschq_alloc_req()
1380 !test_bit(schq, txsch->schq.bmap)) in nix_check_txschq_alloc_req()
1385 free_cnt = rvu_rsrc_free_count(&txsch->schq); in nix_check_txschq_alloc_req()
1393 !rvu_rsrc_check_contig(&txsch->schq, req->schq_contig[lvl])) in nix_check_txschq_alloc_req()
[all …]
Drvu.h225 struct nix_txsch txsch[NIX_TXSCH_LVL_CNT]; /* Tx schedulers */ member