49
1.
2.
3.
4.
1.
mstflint: Disabling/Enabling Access to the Hardware
The secure host feature enables ConnectX family devices to block access to its internal hardware
registers. The hardware access in this mode is allowed only if a correct 64 bits key is provided.
4th Generation Devices
To disable/enable access to the hardware:
Set the key:
# mstflint -d
41
:
00.0
set_key
22062011
Setting the HW Key - OK
Restoring signature - OK
Access the HW while HW access is disabled:
# mstflint -d
41
:
00.00
q
E- Cannot open
41
:
00.0
: HW access is disabled on the device.
E- Run
"mstflint -d 41:00.0 hw_access enable"
in order to enable HW access.
Enable HW access:
# mstflint -d
41
:
00.0
hw_access enable
Enter Key: ********
Disable HW access:
# mstflint -d
41
:
00.0
hw_access disable
5th Generation Devices
Secure Host can be enabled on 5th generation devices in one of the following manners:
Set the key:
# mstflint -d
41
:
00.0
set_key
18022018
The secure host feature requires a MLNX_OFED driver installed on the machine.
A driver restart is required to activate the new key.
WARNING:
1. Once a hardware access key is set, the hardware can be accessed only after the
correct key is provided.
2. If a key is lost, there is no way to recover it using the tool. The only way to
recover from a lost key is to:
• Connect the flash-not-present jumper on the card
• Boot in "flash recovery" mode
• Re-burn FW
• Re-set the HW access key