Home
last modified time | relevance | path

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

/dpdk/drivers/common/cnxk/
H A Droc_nix_tm_utils.c518 uint32_t rr_prio, schq; in nix_tm_topology_reg_prep() local
522 schq = node->hw_id; in nix_tm_topology_reg_prep()
653 uint32_t schq = node->hw_id; in nix_tm_sched_reg_prep() local
952 schq[hw_lvl - 1] -= 1; in nix_tm_resource_estimate()
957 schq[nix->tm_root_lvl] = 1; in nix_tm_resource_estimate()
964 if (schq[hw_lvl] <= avail) in nix_tm_resource_estimate()
965 schq[hw_lvl] = 0; in nix_tm_resource_estimate()
967 schq[hw_lvl] -= avail; in nix_tm_resource_estimate()
974 cnt += schq[hw_lvl]; in nix_tm_resource_estimate()
1126 uint32_t schq; in roc_nix_tm_node_stats_get() local
[all …]
H A Droc_nix_debug.c874 schq); in nix_tm_reg_dump_prep()
878 schq); in nix_tm_reg_dump_prep()
886 schq); in nix_tm_reg_dump_prep()
890 schq); in nix_tm_reg_dump_prep()
894 schq); in nix_tm_reg_dump_prep()
898 schq); in nix_tm_reg_dump_prep()
903 schq); in nix_tm_reg_dump_prep()
919 schq); in nix_tm_reg_dump_prep()
923 schq); in nix_tm_reg_dump_prep()
927 schq); in nix_tm_reg_dump_prep()
[all …]
H A Droc_nix_tm.c877 schq += pos; in nix_tm_release_resources()
885 req->schq = schq; in nix_tm_release_resources()
894 schq); in nix_tm_release_resources()
945 req->schq = hw_id; in nix_tm_free_node_resource()
1027 uint16_t schq; in nix_tm_assign_hw_id() local
1057 schq = spare_schq; in nix_tm_assign_hw_id()
1072 schq += pos; in nix_tm_assign_hw_id()
1084 child->hw_id = schq; in nix_tm_assign_hw_id()
1239 memset(schq, 0, sizeof(schq)); in nix_tm_alloc_txschq()
1263 mbox_memcpy(req->schq, schq, sizeof(req->schq)); in nix_tm_alloc_txschq()
[all …]
H A Droc_nix_tm_mark.c45 uint32_t schq = tm_node->hw_id; in prepare_tm_shaper_red_algo() local
49 nix_tm_hwlvl2str(tm_node->hw_lvl), schq, tm_node->lvl, in prepare_tm_shaper_red_algo()
58 reg[k] = NIX_AF_MDQX_SHAPE(schq); in prepare_tm_shaper_red_algo()
62 reg[k] = NIX_AF_TL4X_SHAPE(schq); in prepare_tm_shaper_red_algo()
66 reg[k] = NIX_AF_TL3X_SHAPE(schq); in prepare_tm_shaper_red_algo()
70 reg[k] = NIX_AF_TL2X_SHAPE(schq); in prepare_tm_shaper_red_algo()
H A Droc_nix_tm_ops.c734 req->schq[hw_lvl] = discontig - nix->discontig_rsvd[hw_lvl]; in roc_nix_tm_prealloc_res()
1073 roc_nix_tm_rsrc_count(struct roc_nix *roc_nix, uint16_t schq[ROC_TM_LVL_MAX]) in roc_nix_tm_rsrc_count()
1092 schq[i] = (nix->is_nix1 ? rsp->schq_nix1[hw_lvl] : in roc_nix_tm_rsrc_count()
1093 rsp->schq[hw_lvl]); in roc_nix_tm_rsrc_count()
1100 roc_nix_tm_rsrc_max(bool pf, uint16_t schq[ROC_TM_LVL_MAX]) in roc_nix_tm_rsrc_max()
1131 schq[i] = max; in roc_nix_tm_rsrc_max()
H A Droc_nix_priv.h434 uint16_t *schq, enum roc_nix_tm_tree tree);
435 uint8_t nix_tm_tl1_default_prep(struct nix *nix, uint32_t schq,
H A Droc_mbox.h415 uint16_t __io schq[NIX_TXSCH_LVL_CNT]; member
914 uint16_t __io schq[NIX_TXSCH_LVL_CNT]; /* Non-Contig. queues */ member
921 uint16_t __io schq[NIX_TXSCH_LVL_CNT]; /* Non-Contig. queues */ member
940 uint16_t __io schq; member
H A Droc_nix.h648 void __roc_api roc_nix_tm_rsrc_max(bool pf, uint16_t schq[ROC_TM_LVL_MAX]);
650 uint16_t schq[ROC_TM_LVL_MAX]);
/dpdk/drivers/net/cnxk/
H A Dcnxk_tm.c43 uint16_t schq[ROC_TM_LVL_MAX]; in cnxk_nix_tm_capa_get() local
47 rc = roc_nix_tm_rsrc_count(nix, schq); in cnxk_nix_tm_capa_get()
55 max_nr_nodes += schq[i]; in cnxk_nix_tm_capa_get()
77 cap->sched_n_children_max = schq[n_lvl - 1]; in cnxk_nix_tm_capa_get()
113 uint16_t schq[ROC_TM_LVL_MAX]; in cnxk_nix_tm_level_capa_get() local
118 rc = roc_nix_tm_rsrc_count(nix, schq); in cnxk_nix_tm_level_capa_get()
152 cap->nonleaf.sched_n_children_max = schq[lvl]; in cnxk_nix_tm_level_capa_get()
167 cap->n_nodes_max = schq[lvl]; in cnxk_nix_tm_level_capa_get()
208 uint16_t schq[ROC_TM_LVL_MAX]; in cnxk_nix_tm_node_capa_get() local
229 rc = roc_nix_tm_rsrc_count(nix, schq); in cnxk_nix_tm_node_capa_get()
[all …]