1; SPDX-License-Identifier: BSD-3-Clause 2; Copyright(c) 2010-2019 Intel Corporation. 3 4; This file enables the following hierarchical scheduler configuration for each 5; 10GbE output port: 6; * Single subport (subport 0): 7; - Subport rate set to 100% of port rate 8; - Each of the 13 traffic classes has rate set to 100% of port rate 9; * 4K pipes per subport 0 (pipes 0 .. 4095) with identical configuration: 10; - Pipe rate set to 1/4K of port rate 11; - Each of the 13 traffic classes has rate set to 100% of pipe rate 12; - Within lowest priority traffic class (best-effort), the byte-level 13; WRR weights for the 4 queues of best effort traffic class are set 14; to 1:1:1:1 15; 16; For more details, please refer to chapter "Quality of Service (QoS) Framework" 17; of Data Plane Development Kit (DPDK) Programmer's Guide. 18 19; Port configuration 20[port] 21frame overhead = 24 22number of subports per port = 1 23number of pipes per subport = 4096 24queue sizes = 64 64 64 64 64 64 64 64 64 64 64 64 64 25 26; Subport configuration 27[subport 0] 28tb rate = 1250000000 ; Bytes per second 29tb size = 1000000 ; Bytes 30 31tc 0 rate = 1250000000 ; Bytes per second 32tc 1 rate = 1250000000 ; Bytes per second 33tc 2 rate = 1250000000 ; Bytes per second 34tc 3 rate = 1250000000 ; Bytes per second 35tc 4 rate = 1250000000 ; Bytes per second 36tc 5 rate = 1250000000 ; Bytes per second 37tc 6 rate = 1250000000 ; Bytes per second 38tc 7 rate = 1250000000 ; Bytes per second 39tc 8 rate = 1250000000 ; Bytes per second 40tc 9 rate = 1250000000 ; Bytes per second 41tc 10 rate = 1250000000 ; Bytes per second 42tc 11 rate = 1250000000 ; Bytes per second 43tc 12 rate = 1250000000 ; Bytes per second 44 45tc period = 10 ; Milliseconds 46 47pipe 0-4095 = 0 ; These pipes are configured with pipe profile 0 48 49; Pipe configuration 50[pipe profile 0] 51tb rate = 305175 ; Bytes per second 52tb size = 1000000 ; Bytes 53 54tc 0 rate = 305175 ; Bytes per second 55tc 1 rate = 305175 ; Bytes per second 56tc 2 rate = 305175 ; Bytes per second 57tc 3 rate = 305175 ; Bytes per second 58tc 4 rate = 305175 ; Bytes per second 59tc 5 rate = 305175 ; Bytes per second 60tc 6 rate = 305175 ; Bytes per second 61tc 7 rate = 305175 ; Bytes per second 62tc 8 rate = 305175 ; Bytes per second 63tc 9 rate = 305175 ; Bytes per second 64tc 10 rate = 305175 ; Bytes per second 65tc 11 rate = 305175 ; Bytes per second 66tc 12 rate = 305175 ; Bytes per second 67 68tc period = 40 ; Milliseconds 69 70tc 12 oversubscription weight = 1 71 72tc 12 wrr weights = 1 1 1 1 73 74; RED params per traffic class and color (Green / Yellow / Red) 75[red] 76tc 0 wred min = 48 40 32 77tc 0 wred max = 64 64 64 78tc 0 wred inv prob = 10 10 10 79tc 0 wred weight = 9 9 9 80 81tc 1 wred min = 48 40 32 82tc 1 wred max = 64 64 64 83tc 1 wred inv prob = 10 10 10 84tc 1 wred weight = 9 9 9 85 86tc 2 wred min = 48 40 32 87tc 2 wred max = 64 64 64 88tc 2 wred inv prob = 10 10 10 89tc 2 wred weight = 9 9 9 90 91tc 3 wred min = 48 40 32 92tc 3 wred max = 64 64 64 93tc 3 wred inv prob = 10 10 10 94tc 3 wred weight = 9 9 9 95 96tc 4 wred min = 48 40 32 97tc 4 wred max = 64 64 64 98tc 4 wred inv prob = 10 10 10 99tc 4 wred weight = 9 9 9 100 101tc 5 wred min = 48 40 32 102tc 5 wred max = 64 64 64 103tc 5 wred inv prob = 10 10 10 104tc 5 wred weight = 9 9 9 105 106tc 6 wred min = 48 40 32 107tc 6 wred max = 64 64 64 108tc 6 wred inv prob = 10 10 10 109tc 6 wred weight = 9 9 9 110 111tc 7 wred min = 48 40 32 112tc 7 wred max = 64 64 64 113tc 7 wred inv prob = 10 10 10 114tc 7 wred weight = 9 9 9 115 116tc 8 wred min = 48 40 32 117tc 8 wred max = 64 64 64 118tc 8 wred inv prob = 10 10 10 119tc 8 wred weight = 9 9 9 120 121tc 9 wred min = 48 40 32 122tc 9 wred max = 64 64 64 123tc 9 wred inv prob = 10 10 10 124tc 9 wred weight = 9 9 9 125 126tc 10 wred min = 48 40 32 127tc 10 wred max = 64 64 64 128tc 10 wred inv prob = 10 10 10 129tc 10 wred weight = 9 9 9 130 131tc 11 wred min = 48 40 32 132tc 11 wred max = 64 64 64 133tc 11 wred inv prob = 10 10 10 134tc 11 wred weight = 9 9 9 135 136tc 12 wred min = 48 40 32 137tc 12 wred max = 64 64 64 138tc 12 wred inv prob = 10 10 10 139tc 12 wred weight = 9 9 9 140