| /dpdk/doc/guides/sample_app_ug/ |
| H A D | qos_metering.rst | 23 * srTCM color blind 25 * srTCM color aware 27 * srTCM color blind 29 * srTCM color aware 34 The color blind modes are functionally equivalent with the color-aware modes when 114 Where rows indicate the input color, columns indicate the output color, 119 * GREEN: The packet's color is changed to green. 121 * YELLOW: The packet's color is changed to yellow. 123 * RED: The packet's color is changed to red. 129 * Every packet which input and output color are the same, keeps the same color. [all …]
|
| /dpdk/drivers/net/enic/base/ |
| H A D | cq_desc.h | 48 static inline void cq_color_enc(struct cq_desc *desc, const uint8_t color) in cq_color_enc() argument 50 if (color) in cq_color_enc() 57 const uint8_t type, const uint8_t color, const uint16_t q_number, in cq_desc_enc() argument 61 ((color & CQ_DESC_COLOR_MASK) << CQ_DESC_COLOR_SHIFT); in cq_desc_enc() 68 uint8_t *type, uint8_t *color, uint16_t *q_number, in cq_desc_dec() argument 74 *color = (type_color >> CQ_DESC_COLOR_SHIFT) & CQ_DESC_COLOR_MASK; in cq_desc_dec() 92 static inline void cq_color_dec(const struct cq_desc *desc_arg, uint8_t *color) in cq_color_dec() argument 96 *color = (desc->type_color >> CQ_DESC_COLOR_SHIFT) & CQ_DESC_COLOR_MASK; in cq_color_dec()
|
| H A D | cq_enet_desc.h | 21 uint8_t type, uint8_t color, uint16_t q_number, in cq_enet_wq_desc_enc() argument 25 color, q_number, completed_index); in cq_enet_wq_desc_enc() 29 uint8_t *type, uint8_t *color, uint16_t *q_number, in cq_enet_wq_desc_dec() argument 33 color, q_number, completed_index); in cq_enet_wq_desc_dec() 131 uint8_t type, uint8_t color, uint16_t q_number, in cq_enet_rq_desc_enc() argument 142 color, q_number, completed_index); in cq_enet_rq_desc_enc() 187 uint8_t *type, uint8_t *color, uint16_t *q_number, in cq_enet_rq_desc_dec() argument 202 color, q_number, completed_index); in cq_enet_rq_desc_dec()
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | traffic_metering_and_policing.rst | 21 * Policer actions (per meter output color): recolor, drop 22 * Statistics (per policer output color) 45 Traffic metering determines the color for the current packet (green, yellow, 47 object. The policer can do nothing, override the color the packet or drop the 52 * Traffic metering: The packet is assigned a color (the meter output color) 56 case the input packet already has an initial color (the input color), or in 57 color blind mode, which is equivalent to considering all input packets 61 Any rte_flow action list can be configured per color for each policy. 63 according to the packet color. 67 the number of packets and bytes dropped or passed for each output color. [all …]
|
| H A D | traffic_management.rst | 119 algorithm uses a separate set of RED thresholds for each packet color and uses 120 separate set of RED thresholds for each packet color. 146 All VLAN frames of a given color get their DEI bit set if marking is enabled 147 for this color. In case, when marking for a given color is not enabled, the 150 All IPv4/IPv6 packets of a given color with ECN set to 2’b01 or 2’b10 carrying 152 the current color, otherwise the ECN field is left as is. 154 All IPv4/IPv6 packets have their color marked into DSCP bits 3 and 4 as 156 and red to High (2’b11). Marking needs to be explicitly enabled for each color; 157 when not enabled for a given color, the DSCP field of all packets with that 158 color is left as is.
|
| H A D | qos_framework.rst | 1589 for each packet color (green, yellow, red) in the same traffic class (tc). 1593 ; RED params per traffic class and color (Green / Yellow / Red) 1751 from the buckets and how the packet color is determined. 1756 For both algorithms, the color blind mode is functionally equivalent to the color aware mode with i… 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. 1760 The reason why the color blind mode is still implemented distinctly than the color aware mode is 1761 that color blind mode can be implemented with fewer operations than the color aware mode. 1773 * Identify the output color for the current packet based on the size of the IP packet 1775 the input color of the packet is also considered. [all …]
|
| /dpdk/devtools/ |
| H A D | check-git-log.sh | 61 bad=$(echo "$headlines" | grep --color=always \ 93 bad=$(echo "$headlines" | grep --color=always \ 99 bad=$(echo "$headlines" | grep --color=always \ 109 bad=$(echo "$headlines" | grep --color=always \ 146 echo "$firstbodyline" | grep --color=always -ie '^It '
|
| /dpdk/examples/qos_sched/ |
| H A D | app_thread.c | 33 uint32_t *traffic_class, uint32_t *queue, uint32_t *color) in get_pkt_sched() argument 56 *color = pdata[COLOR_OFFSET] & 0x03; in get_pkt_sched() 73 uint32_t color; in app_rx_thread() local 84 &subport, &pipe, &traffic_class, &queue, &color); in app_rx_thread() 89 (enum rte_color) color); in app_rx_thread()
|
| /dpdk/lib/mbuf/ |
| H A D | rte_mbuf.h | 1891 return m->hash.sched.color; in rte_mbuf_sched_color_get() 1909 uint8_t *color) in rte_mbuf_sched_get() argument 1915 *color = sched.color; in rte_mbuf_sched_get() 1940 rte_mbuf_sched_color_set(struct rte_mbuf *m, uint8_t color) in rte_mbuf_sched_color_set() argument 1942 m->hash.sched.color = color; in rte_mbuf_sched_color_set() 1960 uint8_t color) in rte_mbuf_sched_set() argument 1965 .color = color, in rte_mbuf_sched_set()
|
| /dpdk/app/test/ |
| H A D | test_sched.c | 181 enum rte_color color; in test_sched() local 184 color = rte_sched_port_pkt_read_color(out_mbufs[i]); in test_sched() 185 TEST_ASSERT_EQUAL(color, RTE_COLOR_YELLOW, "Wrong color\n"); in test_sched()
|
| /dpdk/drivers/net/ionic/ |
| H A D | ionic_if.h | 133 u8 color; member 626 u8 color; member 860 u8 color; member 1385 u8 color; member 1426 u8 color; member 1512 u8 color; member 1539 u8 color; member 1628 u8 color; member 1666 u8 color; member 1755 u8 color; member [all …]
|
| /dpdk/lib/ethdev/ |
| H A D | rte_mtr.h | 594 .color = RTE_COLOR_GREEN, \ 605 .color = RTE_COLOR_YELLOW, \ 616 .color = RTE_COLOR_RED, \
|
| /dpdk/drivers/net/enic/ |
| H A D | enic_rxtx.c | 49 uint8_t color; in enic_recv_pkts_common() local 63 color = cq->last_color; in enic_recv_pkts_common() 82 if ((tc & CQ_DESC_COLOR_MASK_NOSHIFT) == color) in enic_recv_pkts_common() 256 uint8_t color; in enic_noscatter_recv_pkts() local 281 color = cq->last_color; in enic_noscatter_recv_pkts() 289 if ((cqd->type_color & CQ_DESC_COLOR_MASK_NOSHIFT) == color) in enic_noscatter_recv_pkts()
|
| H A D | enic_rxtx_vec_avx2.c | 50 uint8_t color; in enic_noscatter_vec_recv_pkts() local 72 color = cq->last_color; in enic_noscatter_vec_recv_pkts() 76 (cqd->type_color & CQ_DESC_COLOR_MASK_NOSHIFT) == color) in enic_noscatter_vec_recv_pkts() 416 CQ_DESC_COLOR_MASK_NOSHIFT) != color)) { in enic_noscatter_vec_recv_pkts() 760 CQ_DESC_COLOR_MASK_NOSHIFT) != color)) { in enic_noscatter_vec_recv_pkts()
|
| /dpdk/app/test-pmd/ |
| H A D | cmdline_tm.c | 1328 enum rte_color color; in cmd_add_port_tm_node_wred_profile_parsed() local 1341 color = RTE_COLOR_GREEN; in cmd_add_port_tm_node_wred_profile_parsed() 1342 wp.red_params[color].min_th = res->min_th_g; in cmd_add_port_tm_node_wred_profile_parsed() 1343 wp.red_params[color].max_th = res->max_th_g; in cmd_add_port_tm_node_wred_profile_parsed() 1345 wp.red_params[color].wq_log2 = res->wq_log2_g; in cmd_add_port_tm_node_wred_profile_parsed() 1349 color = RTE_COLOR_YELLOW; in cmd_add_port_tm_node_wred_profile_parsed() 1350 wp.red_params[color].min_th = res->min_th_y; in cmd_add_port_tm_node_wred_profile_parsed() 1351 wp.red_params[color].max_th = res->max_th_y; in cmd_add_port_tm_node_wred_profile_parsed() 1356 color = RTE_COLOR_RED; in cmd_add_port_tm_node_wred_profile_parsed() 1357 wp.red_params[color].min_th = res->min_th_r; in cmd_add_port_tm_node_wred_profile_parsed() [all …]
|
| /dpdk/lib/pipeline/ |
| H A D | rte_table_action.c | 133 enum rte_color color, in mtr_trtcm_data_policer_action_set() argument 137 data->stats[color] |= 4LLU; in mtr_trtcm_data_policer_action_set() 139 data->stats[color] &= ~7LLU; in mtr_trtcm_data_policer_action_set() 140 data->stats[color] |= color & 3LLU; in mtr_trtcm_data_policer_action_set() 146 enum rte_color color) in mtr_trtcm_data_stats_get() argument 148 return data->stats[color] >> 8; in mtr_trtcm_data_stats_get() 153 enum rte_color color) in mtr_trtcm_data_stats_reset() argument 155 data->stats[color] &= 0xFFLU; in mtr_trtcm_data_stats_reset() 168 enum rte_color color; member 319 color_in = dscp_entry->color; in pkt_work_mtr() [all …]
|
| /dpdk/drivers/net/mvpp2/ |
| H A D | mrvl_qos.c | 381 cfg->port[port].tc[tc].color = PP2_PPIO_COLOR_GREEN; in parse_tc_cfg() 384 cfg->port[port].tc[tc].color = PP2_PPIO_COLOR_YELLOW; in parse_tc_cfg() 387 cfg->port[port].tc[tc].color = PP2_PPIO_COLOR_RED; in parse_tc_cfg() 930 struct pp2_bpool *bpool, enum pp2_ppio_color color) in setup_tc() argument 937 param->default_color = color; in setup_tc() 1112 priv->bpool, port_cfg->tc[i].color); in mrvl_configure_rxqs()
|
| H A D | mrvl_qos.h | 36 enum pp2_ppio_color color; member
|
| /dpdk/doc/guides/prog_guide/img/ |
| H A D | dir_24_8_alg.svg | 1 <svg width="945.881" height="658.889" viewBox="0 0 709.411 494.167" xml:space="preserve" color-inte… 7 <stop offset="0" stop-color="#e8ebf4" stop-opacity="1" id="stop4"/> 8 <stop offset=".24" stop-color="#f4f5f9" stop-opacity="1" id="stop6"/> 9 <stop offset=".54" stop-color="#feffff" stop-opacity="1" id="stop8"/>
|
| /dpdk/drivers/common/cnxk/ |
| H A D | roc_nix_bpf.c | 185 val |= (((uint64_t)tbl->color[i]) << (2 * i)); in nix_precolor_vlan_table_update() 206 val_lo |= (((uint64_t)tbl->color[i]) << (2 * j)); in nix_precolor_inner_dscp_table_update() 209 val_hi |= (((uint64_t)tbl->color[i]) << (2 * j)); in nix_precolor_inner_dscp_table_update() 226 val_lo |= (((uint64_t)tbl->color[i]) << (2 * j)); in nix_precolor_outer_dscp_table_update() 229 val_hi |= (((uint64_t)tbl->color[i]) << (2 * j)); in nix_precolor_outer_dscp_table_update() 248 val |= (((uint64_t)tbl->color[i]) << (2 * i)); in nix_precolor_gen_table_update()
|
| /dpdk/examples/qos_meter/ |
| H A D | main.c | 137 app_set_pkt_color(uint8_t *pkt_data, enum policer_action color) in app_set_pkt_color() argument 139 pkt_data[APP_PKT_COLOR_POS] = (uint8_t)color; in app_set_pkt_color()
|
| /dpdk/drivers/net/softnic/ |
| H A D | rte_eth_softnic_tm.c | 1299 enum rte_color color; in wred_profile_check() local 1335 for (color = RTE_COLOR_GREEN; color < RTE_COLORS; color++) { in wred_profile_check() 1336 uint32_t min_th = profile->red_params[color].min_th; in wred_profile_check() 1337 uint32_t max_th = profile->red_params[color].max_th; in wred_profile_check() 2313 enum rte_color color; in wred_profiles_set() local 2316 for (color = RTE_COLOR_GREEN; color < RTE_COLORS; color++) { in wred_profiles_set() 2318 &pp->cman_params->red_params[tc_id][color]; in wred_profiles_set() 2322 &src_wp->params.red_params[color]; in wred_profiles_set()
|
| /dpdk/lib/sched/ |
| H A D | rte_sched.h | 510 uint32_t queue, enum rte_color color);
|
| /dpdk/doc/guides/rel_notes/ |
| H A D | release_21_05.rst | 61 * Added support for pre-defined meter policy via flow action list per color. 254 * Added commands for action meter color to color the packet to reflect 255 the meter color result: 256 ``color type (green|yellow|red)``.
|
| /dpdk/doc/guides/nics/ |
| H A D | softnic.rst | 282 appropriate color (green, yellow or red), according to the traffic metering 283 algorithm. For the meter output color, policer actions like 284 `keep the packet color same`, `change the packet color` or `drop the packet`
|