35 #ifndef __INCLUDE_RTE_MTR_H__
36 #define __INCLUDE_RTE_MTR_H__
77 #include <rte_compat.h>
86 #define rte_mtr_color rte_color
87 #define RTE_MTR_GREEN RTE_COLOR_GREEN
88 #define RTE_MTR_YELLOW RTE_COLOR_YELLOW
89 #define RTE_MTR_RED RTE_COLOR_RED
90 #define RTE_MTR_COLORS RTE_COLORS
407 RTE_MTR_ERROR_TYPE_METER_PROFILE_ID,
408 RTE_MTR_ERROR_TYPE_METER_PROFILE,
409 RTE_MTR_ERROR_TYPE_MTR_ID,
410 RTE_MTR_ERROR_TYPE_MTR_PARAMS,
411 RTE_MTR_ERROR_TYPE_POLICER_ACTION_GREEN,
412 RTE_MTR_ERROR_TYPE_POLICER_ACTION_YELLOW,
413 RTE_MTR_ERROR_TYPE_POLICER_ACTION_RED,
414 RTE_MTR_ERROR_TYPE_STATS_MASK,
415 RTE_MTR_ERROR_TYPE_STATS,
416 RTE_MTR_ERROR_TYPE_SHARED,
448 int __rte_experimental
471 int __rte_experimental
473 uint32_t meter_profile_id,
492 int __rte_experimental
494 uint32_t meter_profile_id,
520 int __rte_experimental
543 int __rte_experimental
570 int __rte_experimental
591 int __rte_experimental
610 int __rte_experimental
613 uint32_t meter_profile_id,
634 int __rte_experimental
637 enum rte_mtr_color *dscp_table,
660 int __rte_experimental
663 uint32_t action_mask,
685 int __rte_experimental
716 int __rte_experimental
720 uint64_t *stats_mask,