Skip to content

Commit eac8e99

Browse files
committed
Merge branch '517' into stage
2 parents 7c05258 + c1ae577 commit eac8e99

3 files changed

Lines changed: 49 additions & 12 deletions

File tree

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

Lines changed: 41 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -722,12 +722,10 @@ Cumulus Linux calculates the headroom size for lossless priority groups based on
722722

723723
To enable more accurate headroom calculations, providing for better buffer allocation and improved shared buffer utilization, you can configure the probability of small packets on ports applied with {{<link url="#priority-flow-control-(pfc)" text="priority flow control">}}. Based on the configured small packet probability, `switchd` calculates the headroom reservation required for the lossless priority group.
724724

725-
To configure the probability of small packets:
726-
727725
{{< tabs "TabID679 ">}}
728726
{{< tab "NVUE Commands ">}}
729727

730-
Run the `nv set qos pfc <profile> small-packet-probability <percent>` command. To configure a profile for PFC, refer to {{<link url="#priority-flow-control-(pfc)" text="priority flow control">}}.
728+
To configure the probability of small packets for PFC, run the `nv set qos pfc <profile> small-packet-probability <percent>` command. To configure a profile for PFC, refer to {{<link url="#priority-flow-control-(pfc)" text="priority flow control">}}.
731729

732730
The following command sets the small packet probability for all ports in the PFC `default-global` profile to 60 percent.
733731

@@ -736,19 +734,57 @@ cumulus@switch:~$ nv set qos pfc default-global small-packet-probability 60
736734
cumulus@switch:~$ nv config apply
737735
```
738736

737+
To configure the probability of small packets for link pause, run the `nv set qos link-pause <profile> small-packet-probability <percent>` command. To configure a profile for link pause, refer to {{<link url="#link-pause" text="Link Pause">}}.
738+
739+
The following command sets the small packet probability for all ports in the link pause `default-global` profile to 60 percent.
740+
741+
```
742+
cumulus@switch:~$ nv set qos link-pause default-global small-packet-probability 60
743+
cumulus@switch:~$ nv config apply
744+
```
745+
739746
{{< /tab >}}
740747
{{< tab "Linux Commands ">}}
741748

742-
Edit the `priority flow control` section of the `/etc/cumulus/datapath/qos/qos_features.conf` file.
749+
To configure the probability of small packets for PFC,, edit the `priority flow control` section of the `/etc/cumulus/datapath/qos/qos_features.conf` file.
743750

744751
```
745752
pfc.default-global.small_packet_probability = 60
746753
```
747754

755+
To configure the probability of small packets for link pause, edit the `link-pause` section of the `/etc/cumulus/datapath/qos/qos_features.conf` file.
756+
757+
```
758+
link-pause.default-global.small_packet_probability = 60
759+
```
760+
748761
{{< /tab >}}
749762
{{< /tabs >}}
750763

751-
To show the PFC small packet probability setting for the default profile, run the `nv show qos pfc default-global` command. To show the PFC small packet probability setting for an interface, run the `nv show interface <interface-id> qos pfc` command.
764+
To show the PFC small packet probability setting for a profile, run the `nv show qos pfc <profile-id>` command. To show the PFC small packet probability setting for an interface, run the `nv show interface <interface-id> qos pfc` command.
765+
766+
```
767+
cumulus@switch:~$ nv show qos pfc default-global
768+
operational applied pending
769+
----------------- ----------- ------- -------
770+
cable-length 100
771+
small-packet-probability 60
772+
tx enable
773+
rx enable
774+
[switch-priority] 3
775+
```
776+
777+
To show the link pause small packet probability setting for a profile, run the `nv show qos link-pause <profile-id>` command. To show the link pause small packet probability setting for an interface, run the `nv show interface <interface-id> qos link-pause` command.
778+
779+
```
780+
cumulus@switch:~$ nv show qos link-pause default-global
781+
operational applied pending
782+
------------------------ ----------- ------- -------
783+
cable-length 100
784+
small-packet-probability 60
785+
tx enable
786+
rx enable
787+
```
752788

753789
### PFC Watchdog
754790

content/cumulus-linux-517/Monitoring-and-Troubleshooting/Open-Telemetry-Export.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -815,10 +815,10 @@ cumulus@switch:~$ nv config apply
815815
The following example:
816816
- Configures STAT-GROUP9 to export link debounce statistics.
817817
- Applies the STAT-GROUP9 configuration to the OTLP destination 10.1.1.100.
818-
- Sets the sample interval of the debounce statistics to 120.
818+
- Sets the sample interval of the debounce statistics to 120 seconds. You can set a value between 10 and 86400. The default is 10 seconds.
819819
820820
```
821-
cumulus@switch:~$ nv set system telemetry stats-group STAT-GROUP9 interface-stats class debounce export state enabled
821+
cumulus@switch:~$ nv set system telemetry stats-group STAT-GROUP9 interface-stats class debounce state enabled
822822
cumulus@switch:~$ nv set system telemetry export otlp grpc destination 10.1.1.100 stats-group STAT-GROUP9
823823
cumulus@switch:~$ nv set system telemetry stats-group STAT-GROUP9 interface-stats class debounce sample-interval 120
824824
cumulus@switch:~$ nv config apply

content/cumulus-linux-517/Whats-New/New-and-Removed-NVUE-Commands.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ nv set interface <interface-id> link debounce down
5050
nv set interface <interface-id> link debounce up
5151
nv set qos advance-buffer-config <profile-id> shared-headroom exclusive-headroom-per-pg
5252
nv set qos advance-buffer-config <profile-id> shared-headroom required-headroom-per-pg
53-
nv set qos pfc default-global small-packet-probability
53+
nv set qos link-pause <profile-id> small-packet-probability
54+
nv set qos pfc <profile-id> small-packet-probability
5455
nv set qos advance-buffer-config default-global ingress-lossless-buffer priority-group <priority-group-id> switch-priority <switch-priority-id>
5556
nv set qos advance-buffer-config default-global ingress-lossless-buffer priority-group <priority-group-id> service-pool <service-pool-id>
5657
nv set qos advance-buffer-config default-global shared-headroom required-headroom-per-pg
@@ -146,15 +147,15 @@ nv set system telemetry export ipfix vrf <vrf-id>
146147
nv set system telemetry hft export ipfix state
147148
nv set system telemetry exclude-list <value>
148149
nv set system telemetry include-list <value>
149-
nv set system telemetry interface-stats class debounce sample-interval (10-86400)
150-
nv set system telemetry interface-stats class debounce state (enabled|disabled)
150+
nv set system telemetry interface-stats class debounce sample-interval
151+
nv set system telemetry interface-stats class debounce state
151152
nv set system telemetry metric-list <metric-list-id>
152153
nv set system telemetry metric-list <metric-list-id> description <value>
153154
nv set system telemetry metric-list <metric-list-id> metric <metric-id>
154155
nv set system telemetry stats-group <stats-group-id> exclude-list <value>
155156
nv set system telemetry stats-group <stats-group-id> include-list <value>
156-
nv set system telemetry stats-group <stats-group-id> interface-stats class debounce sample-interval (10-86400)
157-
nv set system telemetry stats-group <stats-group-id> interface-stats class debounce state (enabled|disabled)
157+
nv set system telemetry stats-group <stats-group-id> interface-stats class debounce sample-interval
158+
nv set system telemetry stats-group <stats-group-id> interface-stats class debounce state
158159
nv set vrf <vrf-id> router bgp address-family ipv4-unreachability export-lldp state
159160
nv set vrf <vrf-id> router bgp address-family ipv6-unreachability export-lldp state
160161
nv set vrf <vrf-id> router bgp address-family l2vpn-evpn advertise ipv4-unreachability state

0 commit comments

Comments
 (0)