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 <savinay.dharmappa@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
This commit is contained in:
Savinay Dharmappa 2020-11-17 10:06:05 +00:00 committed by David Marchand
parent 1995c2c1b9
commit 5ba66e8c2a
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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