| /dpdk/app/test/ |
| H A D | test_meter.c | 229 != RTE_COLOR_YELLOW) in tm_test_srtcm_color_blind_check() 288 != RTE_COLOR_YELLOW) in tm_test_trtcm_color_blind_check() 298 != RTE_COLOR_YELLOW) in tm_test_trtcm_color_blind_check() 347 != RTE_COLOR_YELLOW) in tm_test_trtcm_rfc4115_color_blind_check() 357 != RTE_COLOR_YELLOW) in tm_test_trtcm_rfc4115_color_blind_check() 450 out[1] = RTE_COLOR_YELLOW; in tm_test_srtcm_color_aware_check() 451 out[2] = RTE_COLOR_YELLOW; in tm_test_srtcm_color_aware_check() 461 out[0] = RTE_COLOR_YELLOW; in tm_test_srtcm_color_aware_check() 462 out[1] = RTE_COLOR_YELLOW; in tm_test_srtcm_color_aware_check() 463 out[2] = RTE_COLOR_YELLOW; in tm_test_srtcm_color_aware_check() [all …]
|
| H A D | test_sched.c | 127 RTE_COLOR_YELLOW); in prepare_pkt() 185 TEST_ASSERT_EQUAL(color, RTE_COLOR_YELLOW, "Wrong color\n"); in test_sched()
|
| /dpdk/lib/meter/ |
| H A D | rte_meter.h | 38 RTE_COLOR_YELLOW, /**< Yellow */ enumerator 446 return RTE_COLOR_YELLOW; in rte_meter_srtcm_color_blind_check() 488 return RTE_COLOR_YELLOW; in rte_meter_srtcm_color_aware_check() 530 return RTE_COLOR_YELLOW; in rte_meter_trtcm_color_blind_check() 570 if ((pkt_color == RTE_COLOR_YELLOW) || (tc < pkt_len)) { in rte_meter_trtcm_color_aware_check() 573 return RTE_COLOR_YELLOW; in rte_meter_trtcm_color_aware_check() 615 return RTE_COLOR_YELLOW; in rte_meter_trtcm_rfc4115_color_blind_check() 660 return RTE_COLOR_YELLOW; in rte_meter_trtcm_rfc4115_color_aware_check()
|
| /dpdk/lib/ethdev/ |
| H A D | rte_mtr.h | 601 .actions[RTE_COLOR_YELLOW] = (struct rte_flow_action[]) { \ 605 .color = RTE_COLOR_YELLOW, \ 633 .actions[RTE_COLOR_YELLOW] = NULL, \
|
| /dpdk/examples/qos_meter/ |
| H A D | rte_policer.h | 13 e_RTE_PHB_ACTION_YELLOW = RTE_COLOR_YELLOW,
|
| H A D | main.h | 10 YELLOW = RTE_COLOR_YELLOW,
|
| /dpdk/app/proc-info/ |
| H A D | main.c | 1031 cap.mark_vlan_dei_supported[RTE_COLOR_YELLOW], in show_tm() 1035 cap.mark_ip_ecn_tcp_supported[RTE_COLOR_YELLOW], in show_tm() 1039 cap.mark_ip_ecn_sctp_supported[RTE_COLOR_YELLOW], in show_tm() 1043 cap.mark_ip_dscp_supported[RTE_COLOR_YELLOW], in show_tm() 1163 stats.leaf.n_pkts_dropped[RTE_COLOR_YELLOW], in show_tm() 1164 stats.leaf.n_bytes_dropped[RTE_COLOR_YELLOW], in show_tm()
|
| /dpdk/drivers/net/cnxk/ |
| H A D | cnxk_ethdev_mtr.c | 302 case RTE_COLOR_YELLOW: in update_mtr_err() 819 stats->n_pkts[RTE_COLOR_YELLOW] = bpf_stats[yellow_pkt_pass]; in cnxk_nix_mtr_stats_read() 828 stats->n_bytes[RTE_COLOR_YELLOW] = bpf_stats[yellow_octs_pass]; in cnxk_nix_mtr_stats_read() 1083 if (policy->actions[RTE_COLOR_YELLOW].action_fate == in nix_mtr_config_map() 1279 policy->actions[RTE_COLOR_YELLOW].action_fate; in nix_mtr_color_action_validate() 1289 next_mtr_id = policy->actions[RTE_COLOR_YELLOW].mtr_id; in nix_mtr_color_action_validate()
|
| H A D | cnxk_tm.c | 96 for (i = RTE_COLOR_YELLOW; i < RTE_COLORS; i++) { in cnxk_nix_tm_capa_get()
|
| /dpdk/drivers/net/softnic/ |
| H A D | rte_eth_softnic_meter.c | 306 case RTE_COLOR_YELLOW: in pmd_mtr_meter_policy_add() 812 out->n_pkts[RTE_COLOR_YELLOW] += in->n_packets[i]; in mtr_stats_convert() 836 out->n_bytes[RTE_COLOR_YELLOW] += in->n_bytes[i]; in mtr_stats_convert()
|
| H A D | rte_eth_softnic_flow.c | 1633 rule_action->mtr.mtr[0].policer[RTE_COLOR_YELLOW] = in flow_rule_action_get() 1634 policy->policer[RTE_COLOR_YELLOW]; in flow_rule_action_get()
|
| H A D | rte_eth_softnic_cli.c | 3947 parse_policer_action(tokens[6], &mtr->policer[RTE_COLOR_YELLOW]) || in parse_table_action_meter_tc() 5844 color = RTE_COLOR_YELLOW; in load_dscp_table()
|
| /dpdk/app/test-pmd/ |
| H A D | cmdline_mtr.c | 107 (*dscp_table)[i++] = RTE_COLOR_YELLOW; in parse_dscp_table_entries() 1383 stats.n_pkts[RTE_COLOR_YELLOW]); in cmd_show_port_meter_stats_parsed() 1386 stats.n_bytes[RTE_COLOR_YELLOW]); in cmd_show_port_meter_stats_parsed()
|
| H A D | cmdline_tm.c | 699 stats.leaf.n_pkts_dropped[RTE_COLOR_YELLOW]); in cmd_show_port_tm_node_stats_parsed() 708 stats.leaf.n_bytes_dropped[RTE_COLOR_YELLOW]); in cmd_show_port_tm_node_stats_parsed() 1349 color = RTE_COLOR_YELLOW; in cmd_add_port_tm_node_wred_profile_parsed()
|
| H A D | cmdline_flow.c | 7150 color = RTE_COLOR_YELLOW; in parse_vc_action_meter_color_type()
|
| /dpdk/lib/pipeline/ |
| H A D | rte_table_action.c | 293 RTE_COLOR_YELLOW, in mtr_apply() 294 p_tc->policer[RTE_COLOR_YELLOW]); in mtr_apply() 2743 dst->n_packets[RTE_COLOR_YELLOW] = in rte_table_action_meter_read() 2744 mtr_trtcm_data_stats_get(src, RTE_COLOR_YELLOW); in rte_table_action_meter_read() 2765 mtr_trtcm_data_stats_reset(src, RTE_COLOR_YELLOW); in rte_table_action_meter_read()
|
| /dpdk/app/test-flow-perf/ |
| H A D | main.c | 1089 policy.actions[RTE_COLOR_YELLOW] = actions[RTE_COLOR_YELLOW]; in create_meter_policy()
|
| /dpdk/drivers/net/mlx5/ |
| H A D | mlx5_flow_dv.c | 229 case RTE_COLOR_YELLOW: in rte_col_2_mlx5_col() 5275 acy = &fp->act_cnt[RTE_COLOR_YELLOW]; in mlx5_flow_validate_action_meter() 15700 if ((i == RTE_COLOR_YELLOW && mtr_policy->skip_y) || in __flow_dv_create_domain_policy_acts() 16850 def_policy->sub_policy.jump_tbl[RTE_COLOR_YELLOW] = jump_tbl; in __flow_dv_create_domain_def_policy() 16853 def_policy->dr_jump_action[RTE_COLOR_YELLOW] = in __flow_dv_create_domain_def_policy() 16856 acts[RTE_COLOR_YELLOW].actions_n = 1; in __flow_dv_create_domain_def_policy() 17392 if (i >= RTE_COLOR_YELLOW) in flow_dv_meter_hierarchy_rule_create() 18056 if (!actions[RTE_COLOR_YELLOW] || in flow_dv_validate_mtr_policy_acts() 18284 (def_yellow && i == RTE_COLOR_YELLOW)) in flow_dv_validate_mtr_policy_acts() 18335 rss_color[RTE_COLOR_YELLOW])) in flow_dv_validate_mtr_policy_acts() [all …]
|
| H A D | mlx5.h | 663 #define MLX5_MTR_RTE_COLORS (RTE_COLOR_YELLOW + 1)
|
| H A D | mlx5_flow.c | 4071 &policy->act_cnt[RTE_COLOR_YELLOW]; in flow_get_rss_action()
|
| /dpdk/examples/pipeline/ |
| H A D | cli.c | 2500 stats.n_pkts[RTE_COLOR_YELLOW], in cmd_pipeline_meter_stats() 2503 stats.n_bytes[RTE_COLOR_YELLOW], in cmd_pipeline_meter_stats()
|
| /dpdk/examples/ip_pipeline/ |
| H A D | cli.c | 3243 parse_policer_action(tokens[6], &mtr->policer[RTE_COLOR_YELLOW]) || in parse_table_action_meter_tc() 4942 p->policer[RTE_COLOR_YELLOW]; in table_rule_show() 5675 color = RTE_COLOR_YELLOW; in load_dscp_table()
|