The configuration manager is used to apply device configurations in bulk using predefined configuration profiles. These profiles help ensure correct and optimal device operation.
Applying a Profile with nmlxcli
Use the following command:
<nmlxcli path> --sbdf <sbdf> --nv-config-profile <profile number>
Or, using the shortform:
<nmlxcli path> -x <sbdf> -w <profile number>
Options
-w, --nv-config-profile
Specifies the configuration profile to apply:
-
0 – DEFAULT — device default configuration
-
1 – DPU — for BlueField-3 devices operating in DPU mode
-
2 – BF_AS_CX — for BlueField-3 devices operating in NIC mode
-
3 – CX — for ConnectX-6 Dx, ConnectX-6 Lx, ConnectX-7, and ConnectX-8 devices
-x, --sbdf
Specifies the SBDF/PCI address corresponding to PF0.
Example:
0000:4b:00.0
Do not use the address of another PF (e.g. 0000:4b:00.1)
Applying a Profile with mlxconfig
mlxconfig requires MFT tools (not bundled with nmlxcli or the driver). For a complete configuration, nmlxcli provides a simpler solution with the configuration manager.
When applying profiles with mlxconfig, the order of operations remains the same as with nmlxcli.
To reset the device configuration to its default values, run:
<mlxconfig path> -d <sbdf or mst_device> reset
To apply a complete configuration profile, each required configuration must be set explicitly:
<mlxconfig path> -d <sbdf or mst_device> set <CONFIG1>=<VALUE1> <CONFIG2>=<VALUE2> ...
The exact configurations for each profile are specified below.
Order of Operations
CX Profile
-
Reset configurations to their default values.
-
Set the CX profile configurations.
-
Power cycle the system.
BF_AS_CX Profile
-
Configure the device to operate in NIC mode.
-
Reset configurations to their default values.
-
Set the
BF_AS_CXprofile configurations. -
Power cycle the system.
DPU Profile
-
Configure the device to operate in DPU mode.
-
Reset configurations to their default values.
-
Set the DPU profile configurations on the host side.
-
Set the DPU profile configurations on the DPU side.
-
Power cycle the system.
Notes:
-
Resetting configurations can be done by applying the
DEFAULTprofile withnmlxcli, or by running the reset command withmlxconfig. -
With
nmlxcli, the required profile values can be applied using a single command. -
With
mlxconfig, each configuration must be set explicitly, and per-PF configurations must be applied on every relevant PF.
Individual configuration values
These settings are applied automatically by the Config Manager and do not require manual application.
This section is relevant for reference, or if the user is using MFT tools to configure their setup instead of using the Config Manager.
CX Profile Configurations
Global: Apply Once
|
Configuration |
Value |
Notes |
|---|---|---|
|
|
0 |
|
|
|
0 |
|
|
|
1 |
|
|
|
1 |
|
|
|
1 |
|
|
|
127 |
|
|
|
1 |
Pre-Alloc |
|
|
2 |
Enable |
|
|
1 |
ConnectX-7 and ConnectX-8 only |
Physical Port: Apply Once
|
Configuration |
Value |
Notes |
|---|---|---|
|
|
2 |
All |
|
|
2 |
All |
|
|
2 |
Ethernet |
Per PF: Apply on All PFs
|
Configuration |
Value |
Notes |
|---|---|---|
|
|
10 |
|
|
|
1 |
ConnectX-6 Dx, ConnectX-6 Lx |
|
|
65 |
ConnectX-7, ConnectX-8 |
|
|
8 |
ConnectX-6 Dx, ConnectX-6 Lx |
|
|
64 |
ConnectX-7, ConnectX-8 |
BF_AS_CX Profile Configurations
Global: Apply Once
|
Configuration |
Value |
Notes |
|---|---|---|
|
|
0 |
|
|
|
0 |
|
|
|
1 |
|
|
|
1 |
|
|
|
1 |
|
|
|
127 |
|
|
|
1 |
Pre-Alloc |
|
|
2 |
Enable |
|
|
1 |
|
|
|
1 |
Disabled |
|
|
1 |
Disabled |
Physical Port: Apply Once
|
Configuration |
Value |
Notes |
|---|---|---|
|
|
2 |
All |
|
|
2 |
All |
|
|
2 |
Ethernet |
Per PF: Apply on All PFs
|
Configuration |
Value |
|---|---|
|
|
10 |
|
|
65 |
|
|
64 |
DPU Profile Configurations
Global: Apply Once
|
Configuration |
Value |
Notes |
|---|---|---|
|
|
0 |
|
|
|
0 |
|
|
|
1 |
|
|
|
1 |
|
|
|
1 |
|
|
|
127 |
|
|
|
1 |
Pre-Alloc |
|
|
2 |
Enable |
|
|
1 |
|
|
|
0 |
Enabled |
|
|
1 |
|
|
|
N+1 |
|
Physical Port: Apply Once
|
Configuration |
Value |
Notes |
|---|---|---|
|
|
2 |
All |
|
|
2 |
All |
|
|
2 |
Ethernet |
Host-Side PF Configurations
Apply the following on all host-side PFs, except the communication channel PF, which is PF #N.
|
Configuration |
Value |
|---|---|
|
|
65 |
|
|
10 |
|
|
64 |
|
|
0 |
|
|
0 |
|
|
1 |
DPU-Side ECPF Configurations
Apply the following on all DPU-side ECPFs, except the communication channel ECPF, which is ECPF #N.
|
Configuration |
Value |
|---|---|
|
|
1 |
|
|
10 |
|
|
0 |
|
|
0 |
|
|
0 |
|
|
1 |
Communication Channel Configuration
Apply the following on PF #N on the host and ECPF #N on the DPU.
|
Configuration |
Value |
|---|---|
|
|
0 |
|
|
0 |
|
|
0 |
|
|
1 |
|
|
0xC2D1 |
|
|
1 |
|
|
0 |
Last updated: