Skip to content

Commit 914de23

Browse files
committed
Merge branch '5.17-reviews' into ania-stage
2 parents 86ca7fa + 0685376 commit 914de23

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

  • content/cumulus-linux-517/Layer-1-and-Switch-Ports/Quality-of-Service

content/cumulus-linux-517/Layer-1-and-Switch-Ports/Quality-of-Service/_index.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2016,15 +2016,15 @@ The QoS subsystem supports multiple lossless priority groups that share a single
20162016
All lossless priority groups continue to share the same ingress and egress buffer pools. However, each priority groups maintains its own reserved buffers, xon and xoff thresholds, and descriptor buffer allocations. This design provides isolation and independent flow-control behavior while still making efficient use of shared buffer resources.
20172017

20182018
You can configure the following headroom settings:
2019-
- Required headroom per priority group in bytes. The switch converts this value to cells.
2020-
- Exclusive headroom per priority group in bytes. The switch converts this value to cells.
2019+
- Required headroom per priority group in bytes. The switch converts this value to cells. You can set a value between 19456 and 2621440.
2020+
- Exclusive headroom per priority group in bytes. The switch converts this value to cells. You can set a value between 19456 and 2621440.
20212021
- Oversubscription ratio for the shared headroom pool. You can set a value between 1 and 256.
20222022

20232023
{{%notice note%}}
20242024
The required headroom must be more than exclusive headroom.
20252025
{{%/notice%}}
20262026

2027-
The following example assigns switch priority 3 and 4 to priority group 3, configures the ingress lossless buffer service pool mapping to service-pool 1, and sets the required headroom for switch priority 3 and 4 to 1024, the exclusive headroom for switch priority 3 and 4 to 1010, and oversubscription ratio to 2. The example enables the shared headroom pool on swp10.
2027+
The following example assigns switch priority 3 and 4 to priority group 3, configures the ingress lossless buffer service pool mapping to service-pool 1, and sets the required headroom for switch priority 3 and 4 to 21024, the exclusive headroom for switch priority 3 and 4 to 21010, and oversubscription ratio to 2. The example enables the shared headroom pool on swp10.
20282028

20292029
{{< tabs "TabID1935 ">}}
20302030
{{< tab "NVUE Commands ">}}
@@ -2033,8 +2033,8 @@ The following example assigns switch priority 3 and 4 to priority group 3, confi
20332033
```
20342034
cumulus@switch:~$ nv set qos advance-buffer-config default-global ingress-lossless-buffer priority-group service7 switch-priority 3,4
20352035
cumulus@switch:~$ nv set qos advance-buffer-config default-global ingress-lossless-buffer priority-group service3 service-pool 1
2036-
cumulus@switch:~$ nv set qos advance-buffer-config default-global shared-headroom required-headroom-per-pg 1024
2037-
cumulus@switch:~$ nv set qos advance-buffer-config default-global shared-headroom exclusive-headroom-per-pg 1010
2036+
cumulus@switch:~$ nv set qos advance-buffer-config default-global shared-headroom required-headroom-per-pg 21024
2037+
cumulus@switch:~$ nv set qos advance-buffer-config default-global shared-headroom exclusive-headroom-per-pg 21010
20382038
cumulus@switch:~$ nv set qos advance-buffer-config default-global shared-headroom oversubscription-ratio 2
20392039
cumulus@switch:~$ nv set interface swp10 qos shared-headroom-pool enable
20402040
cumulus@switch:~$ nv config apply
@@ -2051,8 +2051,8 @@ cumulus@switch:~$ sudo nano /etc/mlx/datapath/qos/qos_infra.conf
20512051
# Shared headroom pool configuration
20522052
shared_headroom_pool.port_list = [swp10]
20532053
shp.pg.oversubscription_ratio = 2
2054-
shp.pg.exclusive_headroom = 1024
2055-
shp.pg.required_headroom = 1028
2054+
shp.pg.exclusive_headroom = 21010
2055+
shp.pg.required_headroom = 21024
20562056
```
20572057

20582058
{{< /tab >}}

0 commit comments

Comments
 (0)