| /dpdk/drivers/common/cnxk/ |
| H A D | roc_nix_tm.c | 204 lvl = node->lvl; in nix_tm_node_add() 1213 uint8_t lvl; in nix_tm_copy_rsp_to_nix() local 1216 for (lvl = 0; lvl < NIX_TXSCH_LVL_CNT; lvl++) { in nix_tm_copy_rsp_to_nix() 1323 for (lvl = ROC_TM_LVL_ROOT; lvl <= lvl_end; lvl++) { in nix_tm_prepare_default_tree() 1334 node->lvl = lvl; in nix_tm_prepare_default_tree() 1391 for (lvl = ROC_TM_LVL_ROOT; lvl <= lvl_end; lvl++) { in roc_nix_tm_prepare_rate_limited_tree() 1402 node->lvl = lvl; in roc_nix_tm_prepare_rate_limited_tree() 1428 node->lvl = lvl; in roc_nix_tm_prepare_rate_limited_tree() 1528 for (lvl = ROC_TM_LVL_SCH2; lvl <= lvl_end; lvl++) { in roc_nix_tm_pfc_prepare_tree() 1540 node->lvl = lvl; in roc_nix_tm_pfc_prepare_tree() [all …]
|
| H A D | roc_nix_tm_utils.c | 31 nix_tm_lvl2nix_tl1_root(uint32_t lvl) in nix_tm_lvl2nix_tl1_root() argument 33 switch (lvl) { in nix_tm_lvl2nix_tl1_root() 50 nix_tm_lvl2nix_tl2_root(uint32_t lvl) in nix_tm_lvl2nix_tl2_root() argument 52 switch (lvl) { in nix_tm_lvl2nix_tl2_root() 67 nix_tm_lvl2nix(struct nix *nix, uint32_t lvl) in nix_tm_lvl2nix() argument 70 return nix_tm_lvl2nix_tl1_root(lvl); in nix_tm_lvl2nix() 72 return nix_tm_lvl2nix_tl2_root(lvl); in nix_tm_lvl2nix() 1013 return node->lvl; in roc_nix_tm_node_lvl() 1149 req->lvl = NIX_TXSCH_LVL_TL1; in roc_nix_tm_node_stats_get() 1182 req->lvl = NIX_TXSCH_LVL_TL1; in roc_nix_tm_node_stats_get() [all …]
|
| H A D | roc_nix_tm_ops.c | 288 node->lvl = roc_node->lvl; in roc_nix_tm_node_add() 691 req->lvl = node->hw_lvl; in roc_nix_tm_node_suspend_resume() 711 hw_lvl = nix_tm_lvl2nix(nix, lvl); in roc_nix_tm_prealloc_res() 805 req->lvl = node->hw_lvl; in roc_nix_tm_node_shaper_update() 815 req->lvl = node->hw_lvl; in roc_nix_tm_node_shaper_update() 878 req->lvl = node->parent->hw_lvl; in roc_nix_tm_node_parent_update() 887 req->lvl = node->hw_lvl; in roc_nix_tm_node_parent_update() 903 req->lvl = node->hw_lvl; in roc_nix_tm_node_parent_update() 912 req->lvl = node->hw_lvl; in roc_nix_tm_node_parent_update() 928 req->lvl = node->parent->hw_lvl; in roc_nix_tm_node_parent_update() [all …]
|
| H A D | roc_nix_priv.h | 72 uint16_t lvl; member 319 nix_tm_is_leaf(struct nix *nix, int lvl) in nix_tm_is_leaf() argument 322 return (lvl == ROC_TM_LVL_QUEUE); in nix_tm_is_leaf() 323 return (lvl == ROC_TM_LVL_SCH4); in nix_tm_is_leaf() 410 uint16_t nix_tm_lvl2nix(struct nix *nix, uint32_t lvl); 411 uint16_t nix_tm_lvl2nix_tl1_root(uint32_t lvl); 412 uint16_t nix_tm_lvl2nix_tl2_root(uint32_t lvl); 414 int nix_tm_validate_prio(struct nix *nix, uint32_t lvl, uint32_t parent_id,
|
| H A D | roc_nix_tm_mark.c | 49 nix_tm_hwlvl2str(tm_node->hw_lvl), schq, tm_node->lvl, in prepare_tm_shaper_red_algo() 94 if (nix_tm_is_leaf(nix, tm_node->lvl)) in nix_tm_update_red_algo() 116 req->lvl = tm_node->hw_lvl; in nix_tm_update_red_algo()
|
| H A D | roc_nix.h | 535 uint16_t lvl; member 614 int __roc_api roc_nix_tm_prealloc_res(struct roc_nix *roc_nix, uint8_t lvl, 655 int __roc_api roc_nix_tm_max_prio(struct roc_nix *roc_nix, int lvl); 656 int __roc_api roc_nix_tm_lvl_is_leaf(struct roc_nix *roc_nix, int lvl); 661 int __roc_api roc_nix_tm_lvl_have_link_access(struct roc_nix *roc_nix, int lvl);
|
| H A D | roc_nix_debug.c | 1090 req->lvl = node->hw_lvl; in nix_tm_dump_lvl() 1115 req->lvl = NIX_TXSCH_LVL_TL1; in nix_tm_dump_lvl()
|
| H A D | roc_mbox.h | 945 uint8_t __io lvl; /* SMQ/MDQ/TL4/TL3/TL2/TL1 */ member
|
| /dpdk/drivers/net/cnxk/ |
| H A D | cnxk_tm.c | 135 } else if (lvl == ROC_TM_LVL_ROOT) { in cnxk_nix_tm_level_capa_get() 165 } else if (lvl < ROC_TM_LVL_MAX) { in cnxk_nix_tm_level_capa_get() 167 cap->n_nodes_max = schq[lvl]; in cnxk_nix_tm_level_capa_get() 181 if ((int)lvl == (n_lvl - 1)) in cnxk_nix_tm_level_capa_get() 209 int rc, n_lvl, lvl; in cnxk_nix_tm_node_capa_get() local 220 lvl = tm_node->nix_node.lvl; in cnxk_nix_tm_node_capa_get() 244 if (lvl == (n_lvl - 1)) in cnxk_nix_tm_node_capa_get() 250 roc_nix_tm_max_prio(nix, lvl) + 1; in cnxk_nix_tm_node_capa_get() 360 lvl = ROC_TM_LVL_ROOT; in cnxk_nix_tm_node_add() 362 lvl = parent_node->lvl + 1; in cnxk_nix_tm_node_add() [all …]
|
| /dpdk/lib/timer/ |
| H A D | rte_timer.c | 354 while(lvl != 0) { in timer_get_prev_entries() 355 lvl--; in timer_get_prev_entries() 356 prev[lvl] = prev[lvl+1]; in timer_get_prev_entries() 357 while (prev[lvl]->sl_next[lvl] && in timer_get_prev_entries() 358 prev[lvl]->sl_next[lvl]->expire <= time_val) in timer_get_prev_entries() 359 prev[lvl] = prev[lvl]->sl_next[lvl]; in timer_get_prev_entries() 395 unsigned lvl; in timer_add() local 408 lvl = tim_level; in timer_add() 410 tim->sl_next[lvl] = prev[lvl]->sl_next[lvl]; in timer_add() 411 prev[lvl]->sl_next[lvl] = tim; in timer_add() [all …]
|
| /dpdk/lib/bpf/ |
| H A D | bpf_impl.h | 29 #define RTE_BPF_LOG(lvl, fmt, args...) \ argument 30 rte_log(RTE_LOG_## lvl, rte_bpf_logtype, fmt, ##args)
|
| /dpdk/drivers/net/bnxt/tf_ulp/ |
| H A D | bnxt_tf_common.h | 14 #define BNXT_TF_DBG(lvl, fmt, args...) PMD_DRV_LOG(lvl, fmt, ## args) argument
|
| /dpdk/lib/ip_frag/ |
| H A D | ip_frag_common.h | 13 #define IP_FRAG_LOG(lvl, fmt, args...) RTE_LOG(lvl, USER1, fmt, ##args) argument 15 #define IP_FRAG_LOG(lvl, fmt, args...) do {} while(0) argument
|
| /dpdk/drivers/net/enic/ |
| H A D | enic_fm_flow.c | 413 const uint8_t lvl = arg->header_level; in enic_fm_copy_item_eth() local 423 fm_data = &entry->ftm_data.fk_hdrset[lvl]; in enic_fm_copy_item_eth() 438 const uint8_t lvl = arg->header_level; in enic_fm_copy_item_vlan() local 450 if (lvl > 0) in enic_fm_copy_item_vlan() 493 const uint8_t lvl = arg->header_level; in enic_fm_copy_item_ipv4() local 521 const uint8_t lvl = arg->header_level; in enic_fm_copy_item_ipv6() local 549 const uint8_t lvl = arg->header_level; in enic_fm_copy_item_udp() local 577 const uint8_t lvl = arg->header_level; in enic_fm_copy_item_tcp() local 605 const uint8_t lvl = arg->header_level; in enic_fm_copy_item_sctp() local 955 const uint8_t lvl = arg->header_level; in enic_fm_copy_item_raw() local [all …]
|
| /dpdk/drivers/net/bonding/ |
| H A D | eth_bond_private.h | 38 #define RTE_BOND_LOG(lvl, msg, ...) \ argument 39 rte_log(RTE_LOG_ ## lvl, bond_logtype, \
|
| /dpdk/drivers/net/bnxt/ |
| H A D | bnxt_vnic.c | 248 int bnxt_rte_to_hwrm_hash_level(struct bnxt *bp, uint64_t hash_f, uint32_t lvl) in bnxt_rte_to_hwrm_hash_level() argument 267 switch (lvl) { in bnxt_rte_to_hwrm_hash_level()
|
| H A D | bnxt_vnic.h | 70 int bnxt_rte_to_hwrm_hash_level(struct bnxt *bp, uint64_t hash_f, uint32_t lvl);
|
| H A D | bnxt_rxq.c | 178 uint32_t lvl = RTE_ETH_RSS_LEVEL(rss->rss_hf); in bnxt_mq_rx_configure() local 182 vnic->hash_mode = bnxt_rte_to_hwrm_hash_level(bp, rss->rss_hf, lvl); in bnxt_mq_rx_configure()
|
| /dpdk/drivers/net/bnxt/tf_core/ |
| H A D | tf_em_common.c | 379 int lvl = TF_PT_LVL_0; in tf_em_size_page_tbl_lvl() local 386 lvl++; in tf_em_size_page_tbl_lvl() 388 if (lvl == TF_PT_LVL_1) in tf_em_size_page_tbl_lvl() 391 else if (lvl == TF_PT_LVL_2) in tf_em_size_page_tbl_lvl() 400 return lvl; in tf_em_size_page_tbl_lvl()
|
| /dpdk/app/test-acl/ |
| H A D | main.c | 346 #define dump_verbose(lvl, fh, fmt, args...) do { \ argument 347 if ((lvl) <= (int32_t)config.verbose) \
|