Unable to configure legacy mode
To set devlink to "Legacy" mode in BlueField, run:
Please verify that:
No virtual functions are open. To verify if VFs are configured, run:
If any VFs are configured, destroy them by running:
If any SFs are configured, delete them by running:
You may retrieve the <SF Index> of the currently installed SFs by running:
Pay attention to the SF Index values. For example:
If the error "
Error: mlx5_core: Can't change mode when flows are configured" is encountered while trying to configure legacy mode, please make sure that
Any configured SFs are deleted (see above for commands).
Shut down the links of all interfaces, delete any ip xfrm rules, delete any configured OVS flows, and stop openvswitch service. Run:
Arm appears as two interfaces
What this looks like:
Check if you are working in legacy mode.
If the following line is printed, this means that you are working in legacy mode:
Please configure the DPU to work in switchdev mode. Run:
Check if you are working in separated mode:
Please configure the DPU to work in embedded mode. Run: