You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/cumulus-linux-514/Layer-1-and-Switch-Ports/Quality-of-Service/RDMA-over-Converged-Ethernet-RoCE.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,6 +62,17 @@ cumulus@switch:~$ nv set qos roce mode lossy
62
62
cumulus@switch:~$ nv config apply
63
63
```
64
64
65
+
## MRC QoS Profile
66
+
67
+
The MRC QoS profile `lossy-multi-tc` enables packet trimming:
68
+
69
+
```
70
+
cumulus@switch:~$ nv set qos roce mode lossy-multi-tc
71
+
cumulus@switch:~$ nv config apply
72
+
```
73
+
74
+
For more information about MRC, refer to {{<linkurl="Quality-of-Service/#mrc-packet-trimming"text="MRC Packet Trimming">}}.
75
+
65
76
## Single Shared Buffer Pool
66
77
67
78
By default, Cumulus Linux separates lossy and lossless traffic into different dedicated buffer pools on both ingress and egress. You can configure the switch to combine lossy and lossless traffic on the same ingress buffer pool for better load absorption of lossless traffic.
Copy file name to clipboardExpand all lines: content/cumulus-linux-514/Layer-1-and-Switch-Ports/Quality-of-Service/_index.md
+174Lines changed: 174 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -943,6 +943,180 @@ cos_egr_queue.cos_7.uc = 7
943
943
{{< /tab >}}
944
944
{{< /tabs >}}
945
945
946
+
## MRC
947
+
948
+
<spanclass="a-tooltip">[MRC](##"Multipath Reliable Connection")</span> is an improvement over RoCEv2 to enhance performance in lossy environments and extend the RC transport for scalability and performance for AI and <spanclass="a-tooltip">[ML](##"machine learning")</span> applications over lossy networks. Some of these enhancements include allowing packets to be transmitted over multiple logical paths in the network and rapid detection and retransmission of delayed, unacknowledged, and trimmed packets.
949
+
950
+
MRC on Cumulus Linux supports:
951
+
- SRv6 uSID support with uN (END) Endpoint behavior through static configuration
952
+
- Packet trimming
953
+
- Asymmetric packet trimming
954
+
955
+
### Configure MRC with Default Settings
956
+
957
+
To configure MRC to use the default settings for packet trimming and SRv6:
958
+
- Set the MRC QoS profile.
959
+
- Enable SRv6.
960
+
- Configure the SRv6 endpoint by setting a locator and a uSID associated with the locator.
961
+
962
+
```
963
+
cumulus@switch:~$ nv set router segment-routing srv6 state enabled
964
+
cumulus@switch:~$ nv set qos roce mode lossy-multi-tc
965
+
cumulus@switch:~$ nv set router segment-routing srv6 locator LOC2 block-length 32
966
+
cumulus@switch:~$ nv set router segment-routing srv6 locator LOC2 func-length 0
967
+
cumulus@switch:~$ nv set router segment-routing srv6 locator LOC2 node-length 16
968
+
cumulus@switch:~$ nv set router segment-routing srv6 locator LOC2 prefix fcbb:bbbb:2::/48
969
+
cumulus@switch:~$ nv set router segment-routing srv6 static-sid fcbb:bbbb:2::/48 behavior uN
970
+
cumulus@switch:~$ nv set router segment-routing srv6 static-sid fcbb:bbbb:2::/48 locator-name LOC2
971
+
cumulus@switch:~$ nv config apply
972
+
```
973
+
974
+
{{%notice note%}}
975
+
Cumulus Linux only supports an SRv6 block and node length of F3216 and a behavior of `uN` (END).
976
+
{{%/notice%}}
977
+
978
+
To show the default QoS `lossy-multi-tc` profile settings, run the `nv show qos roce` command:
You can view a specific route with the `nv show vrf <vrf> router rib ipv6 route <route-id>` command.
1064
+
1065
+
### Packet Trimming
1066
+
1067
+
If you do not want to use the MRC QoS profile `lossy-multi-tc` to enable packet trimming with the recommended QoS settings as shown above, you can configure the packet trimming settings you want to use.
1068
+
1069
+
{{%notice note%}}
1070
+
If you set `qos roce mode lossy-multi-tc`, you do not need to configure the packet trimming settings.
1071
+
{{%/notice%}}
1072
+
1073
+
To configure packet trimming:
1074
+
- Set the packet trimming profile to `packet-trim-default`.
1075
+
- Set the forwarding port used for recirculating the trimmed packets to egress the interface (NVIDIA Spectrum-4 switch only). If you do not configure a service port, Cumulus Linux uses the last service port in on the switch.
1076
+
- Set the maximum size of the trimmed packet.
1077
+
- Set the DSCP value to be marked on the trimmed packets.
1078
+
- Egress port and traffic-class from which dropped traffic is trimmed.
1079
+
- Set the egress traffic class on which to send the trimmed packet.
1080
+
- Enable packet trimming.
1081
+
1082
+
```
1083
+
cumulus@switch:~$ nv set system forwarding packet-trim profile packet-trim-default
1084
+
cumulus@switch:~$ nv set system forwarding packet-trim service-port swp65
1085
+
cumulus@switch:~$ nv set system forwarding packet-trim remark dscp 10
1086
+
cumulus@switch:~$ nv set system forwarding packet-trim size 128
1087
+
cumulus@switch:~$ nv set system forwarding packet-trim traffic-class 4
1088
+
cumulus@switch:~$ nv set interface swp1-3 packet-trim egress-eligibility traffic-class 1
1089
+
cumulus@switch:~$ nv set system forwarding packet-trim state enabled
1090
+
cumulus@switch:~$ nv config apply
1091
+
```
1092
+
1093
+
To show packet trimming configuration, run the `nv show system forwarding packet-trim` command:
1094
+
1095
+
```
1096
+
cumulus@switch:~$ nv show system forwarding packet-trim
1097
+
applied
1098
+
------------- -----------
1099
+
remark
1100
+
dscp 10
1101
+
state enabled
1102
+
size 128
1103
+
profile adaptive-rc
1104
+
traffic-class 4
1105
+
service-port swp65
1106
+
1107
+
eligiblity-egress-interface-tc
1108
+
=================================
1109
+
Interface TC
1110
+
--------- --
1111
+
swp1 1
1112
+
2
1113
+
swp2 1
1114
+
2
1115
+
```
1116
+
1117
+
### Asymmetric Packet Trimming
1118
+
1119
+
946
1120
## Egress Scheduler
947
1121
948
1122
Cumulus Linux supports 802.1Qaz, Enhanced Transmission Selection, which allows the switch to assign bandwidth to egress queues and then schedule the transmission of traffic from each queue. 802.1Qaz supports Priority Queuing.
0 commit comments