This page provides the DCQCN configuration parameters supported by NVIDIA adapters. It details specific settings governing general operation, alpha updates, rate adjustments, and notification points for RoCE congestion control.
Configuration
The following parameters are supported by NVIDIA® ConnectX®-4 and later.
General
|
WinOF |
MLNX_OFED |
NVConfig (Firmware) |
Description |
Values |
Default |
|---|---|---|---|---|---|
|
|
Enable |
|
Enables RoCE Congestion Control (DCQCN) on a specific priority |
|
Enable |
Alpha Update
|
WinOF |
MLNX_OFED |
NVConfig (Firmware) |
Description |
Unit |
Values |
Default |
|---|---|---|---|---|---|---|
|
|
|
|
Every If the CNP is received during this period, alpha is incremented. Otherwise, it is decremented.
|
Fixed point with 10 bits in the fraction part |
0…1023 |
1019 |
|
|
|
|
See above. |
μsecs |
1…131071 |
1 |
|
|
|
|
This parameter sets the initial value of alpha that should be used when receiving the first CNP for a flow. |
Fixed point with 10 bits in the fraction part |
1…1023 |
1023 |
Rate Decrease
|
WinOF |
MLNX_OFED |
NVConfig (Firmware) |
Description |
Unit |
Values |
Default |
|---|---|---|---|---|---|---|
|
|
|
|
Rates (current, target) on first CNP (0–85% of line rate). |
Mb/s |
0, 1…line rate [Mb/s] |
0 |
|
|
|
|
This parameter defines the maximal ratio of rate decrease in a single event. |
% |
0…100 |
50 |
|
|
|
|
This parameter defines the minimal rate limit of the QP. |
Mb/s |
1…line rate |
1 |
|
|
|
|
The coefficient between α and the rate reduction factor. The rate decrement formula is:
|
Base-2 logarithm represented as a fixed-point number with 10 fractional bits. For example, a mathematical result of 2.0 is stored as 2048 (i.e., 2^11). |
10..11 |
11 |
|
|
|
|
The time period between rate reductions. |
μsecs |
1…UINT32 |
4 |
Rate Increase
|
WinOF |
MLNX_OFED |
NVConfig (Firmware) |
Description |
Unit |
Values |
Default |
|---|---|---|---|---|---|---|
|
|
|
|
If set, every rate decreases. The target rate is updated to the current rate. Otherwise, the target rate is updated to the current rate only on the first decrement after the increment event. |
None |
|
Disable |
|
|
|
|
The time period between rate increase events. |
μsecs |
1…131071 |
300 |
|
|
|
|
The sent bytes counter between rate increase events. |
64 bytes |
1…32767 |
32767 |
|
|
|
|
The threshold of rate increase events for moving to next rate increase phase. |
None |
1…31 |
1 |
|
|
|
|
The rate increase value in the Additive Increase phase. |
Mb/s |
1…line rate |
5 |
|
|
|
|
The rate increase value in the Hyper Increase phase. |
Mb/s |
1…line rate |
50 |
Notification Point
|
WinOF |
MLNX_OFED |
NVConfig (Firmware) |
Description |
Values |
Default |
|---|---|---|---|---|---|
|
|
|
|
This parameter sets the DSCP value for CNPs. |
0...63 |
48 |
|
|
|
|
This parameter sets the PCP value for CNPs. Set |
0…7 |
6 |
|
|
Not required. This parameter is set automatically if value of of |
N/A |
If this parameter is set to |
0/1 |
0 |
|
|
|
|
Minimum time between sending CNPs from the port, in μsecs. |
0..4095 |
4 |
References
Last updated: