Home
last modified time | relevance | path

Searched refs:red (Results 1 – 21 of 21) sorted by relevance

/dpdk/lib/sched/
H A Drte_red.h201 struct rte_red *red, in rte_red_enqueue_empty() argument
209 red->count ++; in rte_red_enqueue_empty()
229 red->avg = 0; in rte_red_enqueue_empty()
318 struct rte_red *red, in rte_red_enqueue_nonempty() argument
338 red->avg += (q << RTE_RED_SCALING) - (red->avg >> red_cfg->wq_log2); in rte_red_enqueue_nonempty()
342 red->count ++; in rte_red_enqueue_nonempty()
349 red->count ++; in rte_red_enqueue_nonempty()
353 red->count = 0; in rte_red_enqueue_nonempty()
358 red->count = 0; in rte_red_enqueue_nonempty()
380 struct rte_red *red, in rte_red_enqueue() argument
[all …]
H A Drte_red.c72 rte_red_rt_data_init(struct rte_red *red) in rte_red_rt_data_init() argument
74 if (red == NULL) in rte_red_rt_data_init()
77 red->avg = 0; in rte_red_rt_data_init()
78 red->count = 0; in rte_red_rt_data_init()
79 red->q_time = 0; in rte_red_rt_data_init()
H A Drte_sched.c87 struct rte_red red; member
1855 struct rte_red *red; in rte_sched_port_cman_drop() local
1864 red = &qe->red; in rte_sched_port_cman_drop()
1866 return rte_red_enqueue(red_cfg, red, qlen, port->time); in rte_sched_port_cman_drop()
1883 struct rte_red *red = &qe->red; in rte_sched_port_red_set_queue_empty_timestamp() local
1885 rte_red_mark_queue_empty(red, port->time); in rte_sched_port_red_set_queue_empty_timestamp()
/dpdk/app/test/
H A Dtest_red.c174 struct rte_red *red) in rte_red_get_avg_int() argument
179 return red->avg >> (RTE_RED_SCALING + red_cfg->wq_log2); in rte_red_get_avg_int()
183 struct rte_red *red) in rte_red_get_avg_float() argument
192 struct rte_red *red, in rte_red_set_avg_int() argument
198 red->avg = avg << (RTE_RED_SCALING + red_cfg->wq_log2); in rte_red_set_avg_int()
303 struct rte_red *red, in increase_actual_qsize() argument
338 struct rte_red *red, in increase_average_qsize() argument
355 avg = rte_red_get_avg_int(red_cfg, red); in increase_average_qsize()
410 struct rte_red *red, in enqueue_dequeue_func() argument
1210 struct rte_red *red, in enqueue_dequeue_perf() argument
[all …]
/dpdk/app/test-pmd/
H A Dcmdline_tm.c2446 uint16_t red; member
2480 red, RTE_UINT16);
2491 int red = res->red; in cmd_port_tm_mark_ip_ecn_parsed() local
2497 ret = rte_tm_mark_ip_ecn(port_id, green, yellow, red, &error); in cmd_port_tm_mark_ip_ecn_parsed()
2533 uint16_t red; member
2567 red, RTE_UINT16);
2578 int red = res->red; in cmd_port_tm_mark_ip_dscp_parsed() local
2584 ret = rte_tm_mark_ip_dscp(port_id, green, yellow, red, &error); in cmd_port_tm_mark_ip_dscp_parsed()
2620 uint16_t red; member
2654 red, RTE_UINT16);
[all …]
/dpdk/doc/guides/sample_app_ug/
H A Dqos_metering.rst14 metering, marking them with the appropriate color (green, yellow or red) and writing them to the TX…
123 * RED: The packet's color is changed to red.
133 * For the rest of the cases, the color is changed to red.
/dpdk/examples/pipeline/examples/
H A Dmeter.spec7 ; and the red ones on port 2.
/dpdk/examples/qos_sched/
H A Dprofile_ov.cfg62 [red]
H A Dprofile.cfg79 ;[red]
/dpdk/drivers/net/dpaa2/mc/
H A Ddpni.c2110 ext_params->red_drop_probability = cfg->red.drop_probability; in dpni_prepare_early_drop()
2111 ext_params->red_max_threshold = cpu_to_le64(cfg->red.max_threshold); in dpni_prepare_early_drop()
2112 ext_params->red_min_threshold = cpu_to_le64(cfg->red.min_threshold); in dpni_prepare_early_drop()
2141 cfg->red.drop_probability = ext_params->red_drop_probability; in dpni_extract_early_drop()
2142 cfg->red.max_threshold = le64_to_cpu(ext_params->red_max_threshold); in dpni_extract_early_drop()
2143 cfg->red.min_threshold = le64_to_cpu(ext_params->red_min_threshold); in dpni_extract_early_drop()
H A Dfsl_dpni.h1185 struct dpni_wred_cfg red; member
/dpdk/doc/guides/prog_guide/
H A Dqos_framework.rst1381 it may be necessary to reduce the parameter s, which is defined in the red header source file (rte_…
1535 is used (red curve).
1575 …s are specified separately for four traffic classes and three packet colors (green, yellow and red)
1589 for each packet color (green, yellow, red) in the same traffic class (tc).
1595 [red]
1663 yellow and red packets in traffic class 0 is shown in :numref:`table_qos_18`.
1713 void rte_red_mark_queue_empty(struct rte_red *red, const uint64_t time)
1724 yellow or red based on the monitored consumption of the flow the packet belongs to.
1757 For color aware mode, a packet with red input color can only get the red output color,
1758 while a packet with yellow input color can only get the yellow or red output colors.
[all …]
H A Dtraffic_metering_and_policing.rst46 red) based on the previous history for this flow as maintained by the MTR
H A Dtraffic_management.rst156 and red to High (2’b11). Marking needs to be explicitly enabled for each color;
H A Defd_lib.rst67 Target destinations (shown in red) are hashed into the same space as the flow
H A Dmember_lib.rst259 shown in red in the above figure) the sub-tables will be searched sequentially
/dpdk/doc/guides/prog_guide/img/
H A Drib_internals.svg3 ….st7,.st8,.st9{stroke:#c7c8c8;stroke-width:.25}.st7{fill:#00b0f0}.st8{fill:red}.st9{fill:#7030a0}.…
/dpdk/doc/guides/testpmd_app_ug/
H A Dtestpmd_funcs.rst2811 * ``action``: action lists for green/yellow/red colors.
3066 * ``color_r``: Packet color (red)
3212 ``yellow`` or ``red`` will have dei bit enabled
3218 * ``red`` enable 1, disable 0 marking for dei bit of VLAN packets marked as red
3225 testpmd> set port tm mark ip_dscp <port_id> <green> <yellow> <red>
3230 ``yellow`` or ``red`` will have IP dscp bits updated
3236 * ``red`` enable 1, disable 0 marking IP dscp to high drop precedence for red packets
3243 testpmd> set port tm mark ip_ecn <port_id> <green> <yellow> <red>
3248 ``yellow`` or ``red`` will have IP ecn bits updated
5469 The meter policy action list: ``green -> green, yellow -> yellow, red -> red``.
[all …]
/dpdk/doc/guides/howto/
H A Dpvp_reference_benchmark.rst29 In this diagram, each red arrow represents one logical core. This use case
/dpdk/doc/guides/nics/
H A Dsoftnic.rst282 appropriate color (green, yellow or red), according to the traffic metering
/dpdk/doc/guides/rel_notes/
H A Drelease_21_05.rst256 ``color type (green|yellow|red)``.