Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/af/
A Drvu_nix.c271 if (schq >= txsch->schq.max) in is_valid_txschq()
1935 set_bit(schq, txsch->schq.bmap); in nix_txsch_alloc()
1963 for (schq = start; schq < end; schq++) { in nix_txsch_alloc()
2017 rsp->schq[lvl] = req->schq[lvl]; in rvu_mbox_handler_nix_txsch_alloc()
2141 for (schq = 0; schq < txsch->schq.max; schq++) { in nix_txschq_free()
2166 for (schq = 0; schq < txsch->schq.max; schq++) { in nix_txschq_free()
2181 for (schq = 0; schq < txsch->schq.max; schq++) { in nix_txschq_free()
2223 schq = req->schq; in nix_txschq_free_one()
2419 for (schq = 0; schq < txsch->schq.max; schq++) { in rvu_nix_tx_tl2_cfg()
3144 for (schq = 0; schq < txsch->schq.max; schq++) in nix_setup_txschq()
[all …]
A Drvu.c1934 rsp->schq[NIX_TXSCH_LVL_SMQ] = 1; in rvu_mbox_handler_free_rsrc_cnt()
1935 rsp->schq[NIX_TXSCH_LVL_TL4] = 1; in rvu_mbox_handler_free_rsrc_cnt()
1936 rsp->schq[NIX_TXSCH_LVL_TL3] = 1; in rvu_mbox_handler_free_rsrc_cnt()
1937 rsp->schq[NIX_TXSCH_LVL_TL2] = 1; in rvu_mbox_handler_free_rsrc_cnt()
1948 rsp->schq[NIX_TXSCH_LVL_SMQ] = in rvu_mbox_handler_free_rsrc_cnt()
1949 rvu_rsrc_free_count(&txsch->schq); in rvu_mbox_handler_free_rsrc_cnt()
1952 rsp->schq[NIX_TXSCH_LVL_TL4] = in rvu_mbox_handler_free_rsrc_cnt()
1953 rvu_rsrc_free_count(&txsch->schq); in rvu_mbox_handler_free_rsrc_cnt()
1956 rsp->schq[NIX_TXSCH_LVL_TL3] = in rvu_mbox_handler_free_rsrc_cnt()
1960 rsp->schq[NIX_TXSCH_LVL_TL2] = in rvu_mbox_handler_free_rsrc_cnt()
[all …]
A Dmbox.h456 u16 schq[NIX_TXSCH_LVL_CNT]; member
971 u16 schq[NIX_TXSCH_LVL_CNT]; /* No of non-contiguous queues */ member
978 u16 schq[NIX_TXSCH_LVL_CNT]; member
994 u16 schq; member
A Drvu_devlink.c1397 if (rvu_rsrc_free_count(&txsch->schq) != txsch->schq.max) { in rvu_af_dl_dwrr_mtu_validate()
A Drvu.h271 struct rsrc_bmap schq; member
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_common.c594 u64 schq, parent; in otx2_txschq_config() local
612 schq = schq_list[lvl][prio]; in otx2_txschq_config()
615 req->reg[0] = NIX_AF_SMQX_CFG(schq); in otx2_txschq_config()
684 req->reg[2] = NIX_AF_TL1X_CIR(schq); in otx2_txschq_config()
728 req->schq[lvl] = 1; in otx2_txsch_alloc()
736 int lvl, schq, err; in otx2_txschq_stop() local
752 for (schq = 0; schq < MAX_TXSCHQ_PER_FUNC; schq++) in otx2_txschq_stop()
1635 int lvl, schq; in mbox_handler_nix_txsch_alloc() local
1639 for (schq = 0; schq < rsp->schq[lvl]; schq++) in mbox_handler_nix_txsch_alloc()
1640 pf->hw.txschq_list[lvl][schq] = in mbox_handler_nix_txsch_alloc()
[all …]
A Dotx2_dcbnl.c74 req->schq[lvl] = 1; in otx2_pfc_txschq_alloc_one()
87 if (!rsp->schq[lvl]) in otx2_pfc_txschq_alloc_one()

Completed in 43 milliseconds