From: Savinay Dharmappa Date: Tue, 17 Nov 2020 10:06:05 +0000 (+0000) Subject: examples/qos_sched: fix subport configuration X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=5ba66e8c2a0550270a90e98b5511df1e892a0fea;p=dpdk.git examples/qos_sched: fix subport configuration Update the qos_sched user guide and profile config file with default subport profile. Fixes: 802d214dc880 ("examples/qos_sched: update subport rate dynamically") Signed-off-by: Savinay Dharmappa Acked-by: Cristian Dumitrescu --- diff --git a/doc/guides/sample_app_ug/qos_scheduler.rst b/doc/guides/sample_app_ug/qos_scheduler.rst index 3fb50d3654..e50f3cd536 100644 --- a/doc/guides/sample_app_ug/qos_scheduler.rst +++ b/doc/guides/sample_app_ug/qos_scheduler.rst @@ -135,6 +135,10 @@ The profile file has the following format: [subport 0] number of pipes per subport = 4096 queue sizes = 64 64 64 64 64 64 64 64 64 64 64 64 64 + + subport 0-8 = 0 ; These subports are configured with subport profile 0 + + [subport profile 0] tb rate = 1250000000; Bytes per second tb size = 1000000; Bytes tc 0 rate = 1250000000; Bytes per second diff --git a/examples/qos_sched/profile_ov.cfg b/examples/qos_sched/profile_ov.cfg index ab509d28d7..14c89ae340 100644 --- a/examples/qos_sched/profile_ov.cfg +++ b/examples/qos_sched/profile_ov.cfg @@ -11,6 +11,9 @@ number of subports per port = 1 number of pipes per subport = 32 queue sizes = 64 64 64 64 64 64 64 64 64 64 64 64 64 +subport 0-8 = 0 + +[subport profile 0] tb rate = 8400000 ; Bytes per second tb size = 100000 ; Bytes