DPDK 23.11.0
Loading...
Searching...
No Matches
rte_tm.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2017 Intel Corporation.
3 * Copyright(c) 2017 Cavium.
4 * Copyright(c) 2017 NXP.
5 */
6
7#ifndef __INCLUDE_RTE_TM_H__
8#define __INCLUDE_RTE_TM_H__
9
19#include <stdint.h>
20
21#include <rte_common.h>
22#include <rte_meter.h>
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
41#define RTE_TM_ETH_FRAMING_OVERHEAD 20
42
53#define RTE_TM_ETH_FRAMING_OVERHEAD_FCS 24
54
62#define RTE_TM_WRED_PROFILE_ID_NONE UINT32_MAX
63
71#define RTE_TM_SHAPER_PROFILE_ID_NONE UINT32_MAX
72
78#define RTE_TM_NODE_ID_NULL UINT32_MAX
79
85#define RTE_TM_NODE_LEVEL_ID_ANY UINT32_MAX
86
125
131 uint64_t n_pkts;
132
134 uint64_t n_bytes;
135
137 struct {
142
147
152
158};
159
194
200 uint32_t n_nodes_max;
201
205 uint32_t n_levels_max;
206
211
216
223 uint32_t shaper_n_max;
224
230
239
244
249
257
265
266
271
276
284
290
295
300
307
314
315
320
325
332
342
352
365
370
378
386
394
402
408
417
424
429
434
443
446
449
452
455
460
464 uint64_t stats_mask;
465};
466
472 uint32_t n_nodes_max;
473
479
485
491
497
498 union {
500 struct {
507
517
524
531
540
549
559
566
573
581
594
606
625
632
642
651
659 uint64_t stats_mask;
661
663 struct {
670
679
686
693
702
711
720 uint32_t shaper_shared_n_max;
721
728
735
744
753
761
768
779
787 uint64_t stats_mask;
789 };
790};
791
937
959
965 uint64_t min_th;
966
968 uint64_t max_th;
969
973 uint16_t maxp_inv;
974
976 uint16_t wq_log2;
977};
978
1003
1009 uint64_t rate;
1010
1012 uint64_t size;
1013};
1014
1063
1097
1100
1103
1104 union {
1106 struct {
1116
1120
1122 struct {
1125
1129 struct {
1136
1143
1152 };
1153
1160 uint64_t stats_mask;
1161};
1162
1172 RTE_TM_ERROR_TYPE_CAPABILITIES,
1173 RTE_TM_ERROR_TYPE_LEVEL_ID,
1174 RTE_TM_ERROR_TYPE_WRED_PROFILE,
1175 RTE_TM_ERROR_TYPE_WRED_PROFILE_GREEN,
1176 RTE_TM_ERROR_TYPE_WRED_PROFILE_YELLOW,
1177 RTE_TM_ERROR_TYPE_WRED_PROFILE_RED,
1178 RTE_TM_ERROR_TYPE_WRED_PROFILE_ID,
1179 RTE_TM_ERROR_TYPE_SHARED_WRED_CONTEXT_ID,
1180 RTE_TM_ERROR_TYPE_SHAPER_PROFILE,
1181 RTE_TM_ERROR_TYPE_SHAPER_PROFILE_COMMITTED_RATE,
1182 RTE_TM_ERROR_TYPE_SHAPER_PROFILE_COMMITTED_SIZE,
1183 RTE_TM_ERROR_TYPE_SHAPER_PROFILE_PEAK_RATE,
1184 RTE_TM_ERROR_TYPE_SHAPER_PROFILE_PEAK_SIZE,
1185 RTE_TM_ERROR_TYPE_SHAPER_PROFILE_PKT_ADJUST_LEN,
1186 RTE_TM_ERROR_TYPE_SHAPER_PROFILE_PACKET_MODE,
1187 RTE_TM_ERROR_TYPE_SHAPER_PROFILE_ID,
1188 RTE_TM_ERROR_TYPE_SHARED_SHAPER_ID,
1189 RTE_TM_ERROR_TYPE_NODE_PARENT_NODE_ID,
1190 RTE_TM_ERROR_TYPE_NODE_PRIORITY,
1191 RTE_TM_ERROR_TYPE_NODE_WEIGHT,
1192 RTE_TM_ERROR_TYPE_NODE_PARAMS,
1193 RTE_TM_ERROR_TYPE_NODE_PARAMS_SHAPER_PROFILE_ID,
1194 RTE_TM_ERROR_TYPE_NODE_PARAMS_SHARED_SHAPER_ID,
1195 RTE_TM_ERROR_TYPE_NODE_PARAMS_N_SHARED_SHAPERS,
1196 RTE_TM_ERROR_TYPE_NODE_PARAMS_WFQ_WEIGHT_MODE,
1197 RTE_TM_ERROR_TYPE_NODE_PARAMS_N_SP_PRIORITIES,
1198 RTE_TM_ERROR_TYPE_NODE_PARAMS_CMAN,
1199 RTE_TM_ERROR_TYPE_NODE_PARAMS_WRED_PROFILE_ID,
1200 RTE_TM_ERROR_TYPE_NODE_PARAMS_SHARED_WRED_CONTEXT_ID,
1201 RTE_TM_ERROR_TYPE_NODE_PARAMS_N_SHARED_WRED_CONTEXTS,
1202 RTE_TM_ERROR_TYPE_NODE_PARAMS_STATS,
1203 RTE_TM_ERROR_TYPE_NODE_ID,
1204};
1205
1219 const void *cause;
1220 const char *message;
1221};
1222
1240int
1242 uint32_t *n_leaf_nodes,
1243 struct rte_tm_error *error);
1244
1264int
1265rte_tm_node_type_get(uint16_t port_id,
1266 uint32_t node_id,
1267 int *is_leaf,
1268 struct rte_tm_error *error);
1269
1282int
1284 struct rte_tm_capabilities *cap,
1285 struct rte_tm_error *error);
1286
1302int
1304 uint32_t level_id,
1305 struct rte_tm_level_capabilities *cap,
1306 struct rte_tm_error *error);
1307
1322int
1324 uint32_t node_id,
1325 struct rte_tm_node_capabilities *cap,
1326 struct rte_tm_error *error);
1327
1347int
1349 uint32_t wred_profile_id,
1350 struct rte_tm_wred_params *profile,
1351 struct rte_tm_error *error);
1352
1370int
1372 uint32_t wred_profile_id,
1373 struct rte_tm_error *error);
1374
1401int
1403 uint32_t shared_wred_context_id,
1404 uint32_t wred_profile_id,
1405 struct rte_tm_error *error);
1406
1425int
1427 uint32_t shared_wred_context_id,
1428 struct rte_tm_error *error);
1429
1449int
1451 uint32_t shaper_profile_id,
1452 struct rte_tm_shaper_params *profile,
1453 struct rte_tm_error *error);
1454
1472int
1474 uint32_t shaper_profile_id,
1475 struct rte_tm_error *error);
1476
1501int
1503 uint32_t shared_shaper_id,
1504 uint32_t shaper_profile_id,
1505 struct rte_tm_error *error);
1506
1524int
1526 uint32_t shared_shaper_id,
1527 struct rte_tm_error *error);
1528
1592int
1593rte_tm_node_add(uint16_t port_id,
1594 uint32_t node_id,
1595 uint32_t parent_node_id,
1596 uint32_t priority,
1597 uint32_t weight,
1598 uint32_t level_id,
1599 struct rte_tm_node_params *params,
1600 struct rte_tm_error *error);
1601
1625int
1626rte_tm_node_delete(uint16_t port_id,
1627 uint32_t node_id,
1628 struct rte_tm_error *error);
1629
1649int
1650rte_tm_node_suspend(uint16_t port_id,
1651 uint32_t node_id,
1652 struct rte_tm_error *error);
1653
1672int
1673rte_tm_node_resume(uint16_t port_id,
1674 uint32_t node_id,
1675 struct rte_tm_error *error);
1676
1713int
1715 int clear_on_fail,
1716 struct rte_tm_error *error);
1717
1753int
1755 uint32_t node_id,
1756 uint32_t parent_node_id,
1757 uint32_t priority,
1758 uint32_t weight,
1759 struct rte_tm_error *error);
1760
1782int
1784 uint32_t node_id,
1785 uint32_t shaper_profile_id,
1786 struct rte_tm_error *error);
1787
1809int
1811 uint32_t node_id,
1812 uint32_t shared_shaper_id,
1813 int add,
1814 struct rte_tm_error *error);
1815
1836int
1838 uint32_t node_id,
1839 uint64_t stats_mask,
1840 struct rte_tm_error *error);
1841
1864int
1866 uint32_t node_id,
1867 int *wfq_weight_mode,
1868 uint32_t n_sp_priorities,
1869 struct rte_tm_error *error);
1870
1887int
1889 uint32_t node_id,
1890 enum rte_tm_cman_mode cman,
1891 struct rte_tm_error *error);
1892
1911int
1913 uint32_t node_id,
1914 uint32_t wred_profile_id,
1915 struct rte_tm_error *error);
1916
1936int
1938 uint32_t node_id,
1939 uint32_t shared_wred_context_id,
1940 int add,
1941 struct rte_tm_error *error);
1942
1968int
1969rte_tm_node_stats_read(uint16_t port_id,
1970 uint32_t node_id,
1971 struct rte_tm_node_stats *stats,
1972 uint64_t *stats_mask,
1973 int clear,
1974 struct rte_tm_error *error);
1975
2005int
2006rte_tm_mark_vlan_dei(uint16_t port_id,
2007 int mark_green,
2008 int mark_yellow,
2009 int mark_red,
2010 struct rte_tm_error *error);
2011
2055int
2056rte_tm_mark_ip_ecn(uint16_t port_id,
2057 int mark_green,
2058 int mark_yellow,
2059 int mark_red,
2060 struct rte_tm_error *error);
2061
2103int
2104rte_tm_mark_ip_dscp(uint16_t port_id,
2105 int mark_green,
2106 int mark_yellow,
2107 int mark_red,
2108 struct rte_tm_error *error);
2109
2110#ifdef __cplusplus
2111}
2112#endif
2113
2114#endif /* __INCLUDE_RTE_TM_H__ */
@ RTE_COLORS
Definition rte_meter.h:36
int rte_tm_wred_profile_delete(uint16_t port_id, uint32_t wred_profile_id, struct rte_tm_error *error)
rte_tm_error_type
Definition rte_tm.h:1169
@ RTE_TM_ERROR_TYPE_UNSPECIFIED
Definition rte_tm.h:1171
@ RTE_TM_ERROR_TYPE_NONE
Definition rte_tm.h:1170
int rte_tm_node_suspend(uint16_t port_id, uint32_t node_id, struct rte_tm_error *error)
int rte_tm_node_capabilities_get(uint16_t port_id, uint32_t node_id, struct rte_tm_node_capabilities *cap, struct rte_tm_error *error)
int rte_tm_node_resume(uint16_t port_id, uint32_t node_id, struct rte_tm_error *error)
int rte_tm_level_capabilities_get(uint16_t port_id, uint32_t level_id, struct rte_tm_level_capabilities *cap, struct rte_tm_error *error)
int rte_tm_shared_wred_context_delete(uint16_t port_id, uint32_t shared_wred_context_id, struct rte_tm_error *error)
int rte_tm_node_wred_context_update(uint16_t port_id, uint32_t node_id, uint32_t wred_profile_id, struct rte_tm_error *error)
int rte_tm_node_delete(uint16_t port_id, uint32_t node_id, struct rte_tm_error *error)
int rte_tm_node_shared_wred_context_update(uint16_t port_id, uint32_t node_id, uint32_t shared_wred_context_id, int add, struct rte_tm_error *error)
int rte_tm_wred_profile_add(uint16_t port_id, uint32_t wred_profile_id, struct rte_tm_wred_params *profile, struct rte_tm_error *error)
int rte_tm_shared_shaper_add_update(uint16_t port_id, uint32_t shared_shaper_id, uint32_t shaper_profile_id, struct rte_tm_error *error)
int rte_tm_mark_ip_dscp(uint16_t port_id, int mark_green, int mark_yellow, int mark_red, struct rte_tm_error *error)
int rte_tm_mark_vlan_dei(uint16_t port_id, int mark_green, int mark_yellow, int mark_red, struct rte_tm_error *error)
int rte_tm_node_add(uint16_t port_id, uint32_t node_id, uint32_t parent_node_id, uint32_t priority, uint32_t weight, uint32_t level_id, struct rte_tm_node_params *params, struct rte_tm_error *error)
int rte_tm_shared_shaper_delete(uint16_t port_id, uint32_t shared_shaper_id, struct rte_tm_error *error)
int rte_tm_node_shared_shaper_update(uint16_t port_id, uint32_t node_id, uint32_t shared_shaper_id, int add, struct rte_tm_error *error)
int rte_tm_mark_ip_ecn(uint16_t port_id, int mark_green, int mark_yellow, int mark_red, struct rte_tm_error *error)
rte_tm_cman_mode
Definition rte_tm.h:954
@ RTE_TM_CMAN_TAIL_DROP
Definition rte_tm.h:955
@ RTE_TM_CMAN_WRED
Definition rte_tm.h:957
@ RTE_TM_CMAN_HEAD_DROP
Definition rte_tm.h:956
int rte_tm_capabilities_get(uint16_t port_id, struct rte_tm_capabilities *cap, struct rte_tm_error *error)
rte_tm_stats_type
Definition rte_tm.h:90
@ RTE_TM_STATS_N_PKTS_YELLOW_DROPPED
Definition rte_tm.h:101
@ RTE_TM_STATS_N_BYTES
Definition rte_tm.h:95
@ RTE_TM_STATS_N_BYTES_GREEN_DROPPED
Definition rte_tm.h:107
@ RTE_TM_STATS_N_PKTS
Definition rte_tm.h:92
@ RTE_TM_STATS_N_BYTES_RED_DROPPED
Definition rte_tm.h:113
@ RTE_TM_STATS_N_PKTS_RED_DROPPED
Definition rte_tm.h:104
@ RTE_TM_STATS_N_PKTS_QUEUED
Definition rte_tm.h:118
@ RTE_TM_STATS_N_BYTES_QUEUED
Definition rte_tm.h:123
@ RTE_TM_STATS_N_BYTES_YELLOW_DROPPED
Definition rte_tm.h:110
@ RTE_TM_STATS_N_PKTS_GREEN_DROPPED
Definition rte_tm.h:98
int rte_tm_node_cman_update(uint16_t port_id, uint32_t node_id, enum rte_tm_cman_mode cman, struct rte_tm_error *error)
int rte_tm_shaper_profile_delete(uint16_t port_id, uint32_t shaper_profile_id, struct rte_tm_error *error)
int rte_tm_node_wfq_weight_mode_update(uint16_t port_id, uint32_t node_id, int *wfq_weight_mode, uint32_t n_sp_priorities, struct rte_tm_error *error)
int rte_tm_node_shaper_update(uint16_t port_id, uint32_t node_id, uint32_t shaper_profile_id, struct rte_tm_error *error)
int rte_tm_node_type_get(uint16_t port_id, uint32_t node_id, int *is_leaf, struct rte_tm_error *error)
int rte_tm_get_number_of_leaf_nodes(uint16_t port_id, uint32_t *n_leaf_nodes, struct rte_tm_error *error)
int rte_tm_node_stats_read(uint16_t port_id, uint32_t node_id, struct rte_tm_node_stats *stats, uint64_t *stats_mask, int clear, struct rte_tm_error *error)
int rte_tm_shared_wred_context_add_update(uint16_t port_id, uint32_t shared_wred_context_id, uint32_t wred_profile_id, struct rte_tm_error *error)
int rte_tm_hierarchy_commit(uint16_t port_id, int clear_on_fail, struct rte_tm_error *error)
int rte_tm_shaper_profile_add(uint16_t port_id, uint32_t shaper_profile_id, struct rte_tm_shaper_params *profile, struct rte_tm_error *error)
int rte_tm_node_parent_update(uint16_t port_id, uint32_t node_id, uint32_t parent_node_id, uint32_t priority, uint32_t weight, struct rte_tm_error *error)
int rte_tm_node_stats_update(uint16_t port_id, uint32_t node_id, uint64_t stats_mask, struct rte_tm_error *error)
rte_tm_dynamic_update_type
Definition rte_tm.h:163
@ RTE_TM_UPDATE_NODE_PARENT_CHANGE_LEVEL
Definition rte_tm.h:174
@ RTE_TM_UPDATE_NODE_ADD_DELETE
Definition rte_tm.h:177
@ RTE_TM_UPDATE_NODE_PARENT_KEEP_LEVEL
Definition rte_tm.h:168
@ RTE_TM_UPDATE_NODE_WFQ_WEIGHT_MODE
Definition rte_tm.h:183
@ RTE_TM_UPDATE_NODE_SUSPEND_RESUME
Definition rte_tm.h:180
@ RTE_TM_UPDATE_NODE_STATS
Definition rte_tm.h:192
@ RTE_TM_UPDATE_NODE_CMAN
Definition rte_tm.h:189
@ RTE_TM_UPDATE_NODE_N_SP_PRIORITIES
Definition rte_tm.h:186
int cman_head_drop_supported
Definition rte_tm.h:407
int mark_ip_ecn_sctp_supported[RTE_COLORS]
Definition rte_tm.h:451
int shaper_shared_packet_mode_supported
Definition rte_tm.h:306
int mark_vlan_dei_supported[RTE_COLORS]
Definition rte_tm.h:445
uint32_t sched_wfq_n_groups_max
Definition rte_tm.h:364
int non_leaf_nodes_identical
Definition rte_tm.h:210
int shaper_pkt_length_adjust_min
Definition rte_tm.h:319
uint32_t sched_n_children_max
Definition rte_tm.h:331
int mark_ip_dscp_supported[RTE_COLORS]
Definition rte_tm.h:454
uint64_t stats_mask
Definition rte_tm.h:464
int sched_wfq_byte_mode_supported
Definition rte_tm.h:385
uint32_t shaper_private_n_max
Definition rte_tm.h:229
uint32_t sched_wfq_n_children_per_group_max
Definition rte_tm.h:351
uint32_t shaper_shared_dual_rate_n_max
Definition rte_tm.h:289
uint32_t sched_wfq_weight_max
Definition rte_tm.h:369
uint32_t cman_wred_context_n_max
Definition rte_tm.h:416
uint64_t shaper_private_rate_max
Definition rte_tm.h:248
int shaper_private_packet_mode_supported
Definition rte_tm.h:256
uint32_t shaper_n_max
Definition rte_tm.h:223
uint32_t shaper_shared_n_nodes_per_shaper_max
Definition rte_tm.h:275
uint32_t sched_sp_n_priorities_max
Definition rte_tm.h:341
uint32_t cman_wred_context_private_n_max
Definition rte_tm.h:423
uint32_t cman_wred_context_shared_n_max
Definition rte_tm.h:428
uint64_t shaper_private_rate_min
Definition rte_tm.h:243
uint32_t shaper_shared_n_max
Definition rte_tm.h:270
uint32_t cman_wred_context_shared_n_nodes_per_context_max
Definition rte_tm.h:433
uint32_t cman_wred_context_shared_n_contexts_per_node_max
Definition rte_tm.h:442
int shaper_private_byte_mode_supported
Definition rte_tm.h:264
uint32_t shaper_shared_n_shapers_per_node_max
Definition rte_tm.h:283
int mark_ip_ecn_tcp_supported[RTE_COLORS]
Definition rte_tm.h:448
int shaper_pkt_length_adjust_max
Definition rte_tm.h:324
uint64_t shaper_shared_rate_min
Definition rte_tm.h:294
int shaper_shared_byte_mode_supported
Definition rte_tm.h:313
int sched_wfq_packet_mode_supported
Definition rte_tm.h:377
int cman_wred_packet_mode_supported
Definition rte_tm.h:393
uint32_t n_nodes_max
Definition rte_tm.h:200
int shaper_private_dual_rate_n_max
Definition rte_tm.h:238
uint64_t dynamic_update_mask
Definition rte_tm.h:459
int cman_wred_byte_mode_supported
Definition rte_tm.h:401
uint32_t n_levels_max
Definition rte_tm.h:205
uint64_t shaper_shared_rate_max
Definition rte_tm.h:299
const char * message
Definition rte_tm.h:1220
enum rte_tm_error_type type
Definition rte_tm.h:1218
const void * cause
Definition rte_tm.h:1219
int shaper_shared_packet_mode_supported
Definition rte_tm.h:565
uint32_t sched_wfq_n_groups_max
Definition rte_tm.h:624
uint32_t sched_n_children_max
Definition rte_tm.h:580
uint32_t sched_wfq_n_children_per_group_max
Definition rte_tm.h:605
struct rte_tm_level_capabilities::@186::@188 nonleaf
uint32_t sched_wfq_weight_max
Definition rte_tm.h:631
int shaper_private_dual_rate_supported
Definition rte_tm.h:516
uint32_t n_nodes_nonleaf_max
Definition rte_tm.h:478
uint64_t shaper_private_rate_max
Definition rte_tm.h:530
int shaper_private_packet_mode_supported
Definition rte_tm.h:539
uint32_t sched_sp_n_priorities_max
Definition rte_tm.h:593
struct rte_tm_level_capabilities::@186::@189 leaf
uint32_t cman_wred_context_shared_n_max
Definition rte_tm.h:778
uint64_t shaper_private_rate_min
Definition rte_tm.h:523
uint32_t shaper_shared_n_max
Definition rte_tm.h:558
int cman_wred_context_private_supported
Definition rte_tm.h:767
int shaper_private_byte_mode_supported
Definition rte_tm.h:548
int shaper_shared_byte_mode_supported
Definition rte_tm.h:572
int shaper_shared_packet_mode_supported
Definition rte_tm.h:840
struct rte_tm_node_capabilities::@190::@193 leaf
uint32_t sched_wfq_n_groups_max
Definition rte_tm.h:883
uint32_t sched_n_children_max
Definition rte_tm.h:852
uint32_t sched_wfq_n_children_per_group_max
Definition rte_tm.h:869
uint32_t sched_wfq_weight_max
Definition rte_tm.h:889
int shaper_private_dual_rate_supported
Definition rte_tm.h:802
uint64_t shaper_private_rate_max
Definition rte_tm.h:814
int shaper_private_packet_mode_supported
Definition rte_tm.h:821
uint32_t sched_sp_n_priorities_max
Definition rte_tm.h:860
uint32_t cman_wred_context_shared_n_max
Definition rte_tm.h:928
uint64_t shaper_private_rate_min
Definition rte_tm.h:808
uint32_t shaper_shared_n_max
Definition rte_tm.h:834
int cman_wred_context_private_supported
Definition rte_tm.h:921
int shaper_private_byte_mode_supported
Definition rte_tm.h:828
int shaper_shared_byte_mode_supported
Definition rte_tm.h:846
int sched_wfq_packet_mode_supported
Definition rte_tm.h:897
int cman_wred_packet_mode_supported
Definition rte_tm.h:912
struct rte_tm_node_capabilities::@190::@192 nonleaf
uint32_t n_shared_wred_contexts
Definition rte_tm.h:1149
uint32_t wred_profile_id
Definition rte_tm.h:1135
struct rte_tm_node_params::@194::@197::@198 wred
uint64_t stats_mask
Definition rte_tm.h:1160
uint32_t n_sp_priorities
Definition rte_tm.h:1118
uint32_t shaper_profile_id
Definition rte_tm.h:1096
uint32_t * shared_wred_context_id
Definition rte_tm.h:1142
uint32_t * shared_shaper_id
Definition rte_tm.h:1099
int * wfq_weight_mode
Definition rte_tm.h:1115
uint32_t n_shared_shapers
Definition rte_tm.h:1102
struct rte_tm_node_params::@194::@197 leaf
struct rte_tm_node_params::@194::@196 nonleaf
enum rte_tm_cman_mode cman
Definition rte_tm.h:1124
uint64_t n_pkts_dropped[RTE_COLORS]
Definition rte_tm.h:141
struct rte_tm_node_stats::@185 leaf
uint64_t n_bytes
Definition rte_tm.h:134
uint64_t n_pkts
Definition rte_tm.h:131
uint64_t n_bytes_queued
Definition rte_tm.h:156
uint64_t n_bytes_dropped[RTE_COLORS]
Definition rte_tm.h:146
uint64_t n_pkts_queued
Definition rte_tm.h:151
uint64_t max_th
Definition rte_tm.h:968
uint16_t wq_log2
Definition rte_tm.h:976
uint16_t maxp_inv
Definition rte_tm.h:973
uint64_t min_th
Definition rte_tm.h:965
struct rte_tm_token_bucket committed
Definition rte_tm.h:1040
struct rte_tm_token_bucket peak
Definition rte_tm.h:1043
int32_t pkt_length_adjust
Definition rte_tm.h:1051
struct rte_tm_red_params red_params[RTE_COLORS]
Definition rte_tm.h:995