-struct rte_sched_port_params port_params = {
- .name = "port_scheduler_0",
- .socket = 0, /* computed */
- .rate = 0, /* computed */
- .mtu = 6 + 6 + 4 + 4 + 2 + 1500,
- .frame_overhead = RTE_SCHED_FRAME_OVERHEAD_DEFAULT,
- .n_subports_per_port = 1,
- .n_pipes_per_subport = 4096,
- .qsize = {64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64},
- .pipe_profiles = pipe_profiles,
- .n_pipe_profiles = sizeof(pipe_profiles) / sizeof(struct rte_sched_pipe_params),
- .n_max_pipe_profiles = MAX_SCHED_PIPE_PROFILES,
+static struct rte_sched_subport_profile_params
+ subport_profile[MAX_SCHED_SUBPORT_PROFILES] = {
+ {
+ .tb_rate = 1250000000,
+ .tb_size = 1000000,
+ .tc_rate = {1250000000, 1250000000, 1250000000, 1250000000,
+ 1250000000, 1250000000, 1250000000, 1250000000, 1250000000,
+ 1250000000, 1250000000, 1250000000, 1250000000},
+ .tc_period = 10,
+ },
+};