examples/ip_pipeline: add config flexibility to TM
[dpdk.git] / examples / ip_pipeline / tmgr.h
index 0b497e7..8703a2e 100644 (file)
@@ -39,11 +39,11 @@ tmgr_port_find(const char *name);
 struct tmgr_port_params {
        uint32_t rate;
        uint32_t n_subports_per_port;
-       uint32_t n_pipes_per_subport;
-       uint16_t qsize[RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE];
        uint32_t frame_overhead;
        uint32_t mtu;
        uint32_t cpu_id;
+       uint32_t n_pipes_per_subport;
+       uint16_t qsize[RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE];
 };
 
 int