Skip to content

Commit

Permalink
Remove mlxfwreset support for BF2/BF3
Browse files Browse the repository at this point in the history
Description: N/A

Tested OS: Linux
Tested devices: BF2, CX6
Tested flows: mlxfwreset reset/query

Known gaps (with RM ticket): N/A

Issue: 3459379
Change-Id: Ic5a958519d2926e850cf8a5df0dbf5ce2ac11900

Signed-off-by: Matan Eliyahu <[email protected]>
  • Loading branch information
mataneli94 authored and ogalbxela committed May 5, 2023
1 parent ca436f4 commit 885b241
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions small_utils/mstfwreset.py
Original file line number Diff line number Diff line change
Expand Up @@ -1764,6 +1764,11 @@ def reset_flow_host(device, args, command):
if psid in ["MT_0000000891", "MT_0000000929", "MT_0000000937"]:
raise RuntimeError("Cedar device is not supported")

# Block BF2/BF3
devDict = getDeviceDict(devid)
if devDict['name'] in ['BlueField2', 'BlueField3']:
raise RuntimeError("%s device is not supported" % devDict['name'])

# Check if other process is accessing the device (burning the device)
# Supported on Windows OS only
if platform.system() == "Windows":
Expand Down

0 comments on commit 885b241

Please sign in to comment.