X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fqos_sched%2Finit.c;h=7c40fd8a632b043b1cbc70b3d05821659080865b;hb=835c5409a7bac3055b82bebee65d8ada7f20d332;hp=2647033713ec3985b5f7be47ccea6b967a600252;hpb=a91c3cadb8c33804d4b5f194a47837f699fd9af0;p=dpdk.git diff --git a/examples/qos_sched/init.c b/examples/qos_sched/init.c index 2647033713..7c40fd8a63 100755 --- a/examples/qos_sched/init.c +++ b/examples/qos_sched/init.c @@ -181,9 +181,6 @@ static struct rte_sched_subport_params subport_params[MAX_SCHED_SUBPORTS] = { .tc_rate = {1250000000, 1250000000, 1250000000, 1250000000}, .tc_period = 10, -#ifdef RTE_SCHED_SUBPORT_TC_OV - .tc_ov_period = 10, -#endif }, }; @@ -195,7 +192,7 @@ static struct rte_sched_pipe_params pipe_profiles[RTE_SCHED_PIPE_PROFILES_PER_PO .tc_rate = {305175, 305175, 305175, 305175}, .tc_period = 40, #ifdef RTE_SCHED_SUBPORT_TC_OV - .tc_ov_weight = {1, 1, 1, 1}, + .tc_ov_weight = 1, #endif .wrr_weights = {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},