]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/spdk/dpdk/examples/qos_meter/main.h
import 15.2.0 Octopus source
[ceph.git] / ceph / src / spdk / dpdk / examples / qos_meter / main.h
index f51eb664ebf24b05ed8303f56bdf6f04bc60a5fc..ab20151eb6ea904902d19b00bc70e15fba4b34f8 100644 (file)
@@ -6,13 +6,13 @@
 #define _MAIN_H_
 
 enum policer_action {
-        GREEN = e_RTE_METER_GREEN,
-        YELLOW = e_RTE_METER_YELLOW,
-        RED = e_RTE_METER_RED,
-        DROP = 3,
+               GREEN = RTE_COLOR_GREEN,
+               YELLOW = RTE_COLOR_YELLOW,
+               RED = RTE_COLOR_RED,
+               DROP = 3,
 };
 
-enum policer_action policer_table[e_RTE_METER_COLORS][e_RTE_METER_COLORS] =
+enum policer_action policer_table[RTE_COLORS][RTE_COLORS] =
 {
        { GREEN, RED, RED},
        { DROP, YELLOW, RED},