-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor DPU Tools into a uniform interface #27
base: main
Are you sure you want to change the base?
Commits on Nov 5, 2024
-
Reorganize the tools for a unified interface
This is in preparation for making a unified interface for dpu tools that is able to detected the hardware its running on an call its respective tools ipu: Remove IPU dir
Configuration menu - View commit details
-
Copy full SHA for 1b8d461 - Browse repository at this point
Copy the full SHA 1b8d461View commit details
Commits on Nov 7, 2024
-
Remove redundant fwversion Remove redundant fwup Remove redundant fwdefaults Remove listbf script The list bf script has been integrated into the list dpus command and function. Now we can use this information to auto detect hardware and have the tool behave accordingly depending on its hardware
Configuration menu - View commit details
-
Copy full SHA for 30a5163 - Browse repository at this point
Copy the full SHA 30a5163View commit details -
dpu-tools: Modify ipu and common related imports
Make the imports match the new structure
Configuration menu - View commit details
-
Copy full SHA for acfa23f - Browse repository at this point
Copy the full SHA acfa23fView commit details -
Move common hardware agnostic logic from common_ipu.py into common.py
Many of these functions aren't necessarily tied to the ipu so moving it to the common module makes more sense
Configuration menu - View commit details
-
Copy full SHA for 2243e79 - Browse repository at this point
Copy the full SHA 2243e79View commit details -
Configuration menu - View commit details
-
Copy full SHA for 31e94e6 - Browse repository at this point
Copy the full SHA 31e94e6View commit details -
ipu/fwutils.py: Update import to match new structure
Matching imports to new structure
Configuration menu - View commit details
-
Copy full SHA for 427147f - Browse repository at this point
Copy the full SHA 427147fView commit details -
Dockerfile: Merge the Dockerfiles into one
Since we want to unify the scripts behind dpu-tools we should also build the tools using the same Dockerfile
Configuration menu - View commit details
-
Copy full SHA for c229421 - Browse repository at this point
Copy the full SHA c229421View commit details -
Configuration menu - View commit details
-
Copy full SHA for 421a76e - Browse repository at this point
Copy the full SHA 421a76eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d46d7ce - Browse repository at this point
Copy the full SHA d46d7ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 94da5a2 - Browse repository at this point
Copy the full SHA 94da5a2View commit details -
utils/common.py: Add DPU Types
This enum keeps us with a structured way to track different DPU types. Previously we would just use hardcoded strings, but with this class we can even validate if the DPU Type is within our tracked types
Configuration menu - View commit details
-
Copy full SHA for e2fd01c - Browse repository at this point
Copy the full SHA e2fd01cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 26de962 - Browse repository at this point
Copy the full SHA 26de962View commit details
Commits on Nov 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d48d01c - Browse repository at this point
Copy the full SHA d48d01cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ff9fa58 - Browse repository at this point
Copy the full SHA ff9fa58View commit details -
dpu-tools: Refactor DPUTools into a class
Since DPU tools often relies passing the args to each function, it would be nice to have a data structure to bundle all of this in. Likewise it would be good if we could also keep track of what DPU type are working with.
Configuration menu - View commit details
-
Copy full SHA for c2cd274 - Browse repository at this point
Copy the full SHA c2cd274View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0f4097 - Browse repository at this point
Copy the full SHA e0f4097View commit details -
Configuration menu - View commit details
-
Copy full SHA for c8f77f1 - Browse repository at this point
Copy the full SHA c8f77f1View commit details -
entry.sh: Add a script to start rshim and run dpu-tools
This script is useful because it lets rshim run in the background, which the Bluefields DPUs need to console into them.
Configuration menu - View commit details
-
Copy full SHA for 029db7b - Browse repository at this point
Copy the full SHA 029db7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 557188e - Browse repository at this point
Copy the full SHA 557188eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 933012d - Browse repository at this point
Copy the full SHA 933012dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 261f19b - Browse repository at this point
Copy the full SHA 261f19bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 09ae8c0 - Browse repository at this point
Copy the full SHA 09ae8c0View commit details -
utils/fwutils.py: Add BFFirmware
By making this class we can keep together related logic to reset, upgrade and version firmware across dpu types
Configuration menu - View commit details
-
Copy full SHA for b10178e - Browse repository at this point
Copy the full SHA b10178eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a60e53b - Browse repository at this point
Copy the full SHA a60e53bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 71220fd - Browse repository at this point
Copy the full SHA 71220fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for bc4be6c - Browse repository at this point
Copy the full SHA bc4be6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b5f1a5 - Browse repository at this point
Copy the full SHA 5b5f1a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for e631493 - Browse repository at this point
Copy the full SHA e631493View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0852296 - Browse repository at this point
Copy the full SHA 0852296View commit details -
Configuration menu - View commit details
-
Copy full SHA for a47b4b0 - Browse repository at this point
Copy the full SHA a47b4b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2acee81 - Browse repository at this point
Copy the full SHA 2acee81View commit details -
utils/common.py: Make capture_output default to true
Many of the Bluefield scripts requires capturing the output. It would be better to have it default to capturing output and have an option to turn it off when we think its not useful
Configuration menu - View commit details
-
Copy full SHA for d5e470e - Browse repository at this point
Copy the full SHA d5e470eView commit details -
Configuration menu - View commit details
-
Copy full SHA for bf7f054 - Browse repository at this point
Copy the full SHA bf7f054View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d71462 - Browse repository at this point
Copy the full SHA 8d71462View commit details -
Configuration menu - View commit details
-
Copy full SHA for dedae0d - Browse repository at this point
Copy the full SHA dedae0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cc8f03 - Browse repository at this point
Copy the full SHA 0cc8f03View commit details -
dpu-tools: Consume set_mode in the main interface
Here we are using a single mode subcommand that can be used to retrieve the mode and set if passed the set-mode flag
Configuration menu - View commit details
-
Copy full SHA for b780a41 - Browse repository at this point
Copy the full SHA b780a41View commit details -
Configuration menu - View commit details
-
Copy full SHA for d4aee3e - Browse repository at this point
Copy the full SHA d4aee3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7913a1a - Browse repository at this point
Copy the full SHA 7913a1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 61a28d5 - Browse repository at this point
Copy the full SHA 61a28d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 296546d - Browse repository at this point
Copy the full SHA 296546dView commit details -
Configuration menu - View commit details
-
Copy full SHA for bcd218a - Browse repository at this point
Copy the full SHA bcd218aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f05dd5 - Browse repository at this point
Copy the full SHA 6f05dd5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a75d5d - Browse repository at this point
Copy the full SHA 3a75d5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 034e60b - Browse repository at this point
Copy the full SHA 034e60bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 05032ff - Browse repository at this point
Copy the full SHA 05032ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 65ee3dd - Browse repository at this point
Copy the full SHA 65ee3ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d4c92b - Browse repository at this point
Copy the full SHA 0d4c92bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c885804 - Browse repository at this point
Copy the full SHA c885804View commit details -
Configuration menu - View commit details
-
Copy full SHA for c440661 - Browse repository at this point
Copy the full SHA c440661View commit details