X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fip_pipeline%2Ftmgr.h;h=1994c55bcc536562204b220f1f0344d9424f5544;hb=df78fe717ef29e0050a56547d512d99915f80090;hp=1fcf66ee151524e470c6b640a61d7b1d6ecd712f;hpb=29169a4184416d56d2ed67d43ee059893fa5cbde;p=dpdk.git diff --git a/examples/ip_pipeline/tmgr.h b/examples/ip_pipeline/tmgr.h index 1fcf66ee15..1994c55bcc 100644 --- a/examples/ip_pipeline/tmgr.h +++ b/examples/ip_pipeline/tmgr.h @@ -9,6 +9,7 @@ #include #include +#include #include "common.h" @@ -29,6 +30,7 @@ struct tmgr_port { char name[NAME_SIZE]; struct rte_sched_port *s; uint32_t n_subports_per_port; + uint32_t n_pipes_per_subport; }; TAILQ_HEAD(tmgr_port_list, tmgr_port); @@ -40,15 +42,16 @@ struct tmgr_port * tmgr_port_find(const char *name); struct tmgr_port_params { - uint32_t rate; + uint64_t rate; uint32_t n_subports_per_port; + uint32_t n_pipes_per_subport; uint32_t frame_overhead; uint32_t mtu; uint32_t cpu_id; }; int -tmgr_subport_profile_add(struct rte_sched_subport_params *p); +tmgr_subport_profile_add(struct rte_sched_subport_profile_params *sp); int tmgr_pipe_profile_add(struct rte_sched_pipe_params *p);