Configuring NVIDIA BlueField-3 (BF3) into a "DPU mode for VMware vSphere Distributed Services Engine" OR "NIC mode for vSphere"
book
Article ID: 379391
calendar_today
Updated On:
Products
VMware vSphere ESXi
Issue/Introduction
NVIDIA BlueField-3 Modes of Operation applicable for VMware vSphere:
DPU mode
DPU mode, or embedded function (ECPF) ownership, where the embedded Arm system controls the NIC resources and data path. This is the default mode for the BlueField DPU. In DPU mode, INTERNAL_CPU_OFFLOAD_ENGINE is ENABLED(0). vSphere Distributed Services Engine feature requires BlueField DPU is in DPU mode with VMware Distributed Services Engine (DPU) enabled in device settings.
NIC mode
NIC mode, where BlueField behaves exactly like an adapter card from the perspective of the external host. The ECPFs (embedded cpu function) on the Arm side are not functional in this mode but the user is still able to access the Arm system and update mlxconfig options. In NIC mode, INTERNAL_CPU_OFFLOAD_ENGINE is DISABLED(1). When BlueField DPU is configured in NIC mode, ESXi detects it as adapter card - a regular NIC.
Configuring NVIDIA BlueField-3 (BF3) for VMware Distributed Services Engine (DPU)
For configuring brand new BlueField-3 DPU out of factory for vSphere Distributed Services Engine, enable "VMware Distributed Services Engine (DPU)" under BlueField3 device settings from server BIOS/UEFI setup.
Run following command from ESXi host to disable offload engine to enable NIC mode from DPU mode :
# /opt/mellanox/bin/mlxconfig -d mt41692_pciconf0 set INTERNAL_CPU_OFFLOAD_ENGINE=1
Power Cycle (Cold Boot) the ESXi host.
Switching BlueField-3 (BF3) from NIC mode to VMware Distributed Services Engine enabled DPU mode
On a BF3 DPU configured in NIC mode and ESXi installed, perform the following steps to configure BF3 into a DPU mode with VMware Distributed Services Engine (DPU) enabled.
Check and enable the VMware Distributed Services Engine (DPU) under BlueField-3 network adapter device settings at Server BIOS Setup using the procedure at "2. Configuring BlueField-3 (BF3) for VMware Distributed Services Engine (DPU)"
Download and install MFT tools for VMware ESX Server and enable the offload engine:
Run following command from ESXi host to enable offload engine to enable DPU mode from NIC mode:
# /opt/mellanox/bin/mlxconfig -d mt41692_pciconf0 set INTERNAL_CPU_OFFLOAD_ENGINE=0
Power Cycle (Cold Boot) the ESX host.
IMPORTANT NOTE: When you switch BlueField-3 from NIC mode to VMware Distributed Services Engine enabled DPU mode, you must re-install ESXi and reconfigure the host.
Switching BlueField-3 (BF3) from VMware Distributed Services Engine enabled DPU mode to NIC mode
On a BF3 DPU with VMware Distributed Services Engine (DPU) enabled and ESXi installed, perform the following steps to configure BF3 into a NIC mode.
Check and disable the VMware Distributed Services Engine (DPU) under BlueField-3 network adapter device settings at Server BIOS Setup
Run following command from ESXi host to disable offload engine to enable NIC mode from DPU mode :
# /opt/mellanox/bin/mlxconfig -d mt41692_pciconf0 set INTERNAL_CPU_OFFLOAD_ENGINE=1
Power Cycle (Cold Boot) the ESX host.
IMPORTANT NOTE: When you switch BlueField-3 from VMware Distributed Services Engine enabled DPU mode to NIC mode, you must re-install ESXi and reconfigure the host.