Home
last modified time | relevance | path

Searched refs:schq (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/net/ethernet/marvell/octeontx2/af/
A Drvu_nix.c270 if (schq >= txsch->schq.max) in is_valid_txschq()
1928 set_bit(schq, txsch->schq.bmap); in nix_txsch_alloc()
1956 for (schq = start; schq < end; schq++) { in nix_txsch_alloc()
2010 rsp->schq[lvl] = req->schq[lvl]; in rvu_mbox_handler_nix_txsch_alloc()
2127 for (schq = 0; schq < txsch->schq.max; schq++) { in nix_txschq_free()
2152 for (schq = 0; schq < txsch->schq.max; schq++) { in nix_txschq_free()
2167 for (schq = 0; schq < txsch->schq.max; schq++) { in nix_txschq_free()
2209 schq = req->schq; in nix_txschq_free_one()
2405 for (schq = 0; schq < txsch->schq.max; schq++) { in rvu_nix_tx_tl2_cfg()
3130 for (schq = 0; schq < txsch->schq.max; schq++) in nix_setup_txschq()
[all …]
A Drvu.c1906 rsp->schq[NIX_TXSCH_LVL_SMQ] = 1; in rvu_mbox_handler_free_rsrc_cnt()
1907 rsp->schq[NIX_TXSCH_LVL_TL4] = 1; in rvu_mbox_handler_free_rsrc_cnt()
1908 rsp->schq[NIX_TXSCH_LVL_TL3] = 1; in rvu_mbox_handler_free_rsrc_cnt()
1909 rsp->schq[NIX_TXSCH_LVL_TL2] = 1; in rvu_mbox_handler_free_rsrc_cnt()
1920 rsp->schq[NIX_TXSCH_LVL_SMQ] = in rvu_mbox_handler_free_rsrc_cnt()
1921 rvu_rsrc_free_count(&txsch->schq); in rvu_mbox_handler_free_rsrc_cnt()
1924 rsp->schq[NIX_TXSCH_LVL_TL4] = in rvu_mbox_handler_free_rsrc_cnt()
1925 rvu_rsrc_free_count(&txsch->schq); in rvu_mbox_handler_free_rsrc_cnt()
1928 rsp->schq[NIX_TXSCH_LVL_TL3] = in rvu_mbox_handler_free_rsrc_cnt()
1932 rsp->schq[NIX_TXSCH_LVL_TL2] = in rvu_mbox_handler_free_rsrc_cnt()
[all …]
A Dmbox.h388 u16 schq[NIX_TXSCH_LVL_CNT]; member
875 u16 schq[NIX_TXSCH_LVL_CNT]; /* No of non-contiguous queues */ member
882 u16 schq[NIX_TXSCH_LVL_CNT]; member
898 u16 schq; member
A Drvu_devlink.c1396 if (rvu_rsrc_free_count(&txsch->schq) != txsch->schq.max) { in rvu_af_dl_dwrr_mtu_validate()
A Drvu.h263 struct rsrc_bmap schq; member
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_common.c590 u64 schq, parent; in otx2_txschq_config() local
602 schq = hw->txschq_list[lvl][0]; in otx2_txschq_config()
605 req->reg[0] = NIX_AF_SMQX_CFG(schq); in otx2_txschq_config()
663 req->reg[2] = NIX_AF_TL1X_CIR(schq); in otx2_txschq_config()
682 req->schq[lvl] = 1; in otx2_txsch_alloc()
690 int lvl, schq, err; in otx2_txschq_stop() local
706 for (schq = 0; schq < MAX_TXSCHQ_PER_FUNC; schq++) in otx2_txschq_stop()
1569 int lvl, schq; in mbox_handler_nix_txsch_alloc() local
1573 for (schq = 0; schq < rsp->schq[lvl]; schq++) in mbox_handler_nix_txsch_alloc()
1574 pf->hw.txschq_list[lvl][schq] = in mbox_handler_nix_txsch_alloc()
[all …]

Completed in 38 milliseconds