[Mellanox] Add config sdk nvidia-bluefield sdk techsupport-ct-dump <enabled|disabled> command.#4696
Open
judsonwilson-nvidia wants to merge 1 commit into
Open
Conversation
…abled>` command. The command is for enabling, in `show techsupport` on NVIDIA SmartSwitch DPUs, a platform-specific sdk dump of the Connection Table through the saisdkdump utility. This part of the implementation creates or deletes a sentinel file in the syncd container, which is the signal used by the `show techsupport` command to determine if the feature is enabled. Signed-off-by: Judson Wilson <judsonw@nvidia.com>
Collaborator
|
/azp run |
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
croos12
approved these changes
Jul 15, 2026
dgsudharsan
approved these changes
Jul 16, 2026
config sdk nvidia-bluefield sdk techsupport-ct-dump <enabled|disabled> command.config sdk nvidia-bluefield sdk techsupport-ct-dump <enabled|disabled> command.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Depends on:
sonic-sairedis#1993 (profile parsing), sonic-sairedis#1994 (sentinel cleanup at syncd startup).
Why I did it
SDK Connection Table dumps in techsupport on NVIDIA BlueField DPUs need a runtime enable/disable control. A sentinel file in the syncd container signals whether
generate_dumpshould passCT_TABLE_DUMP_ENABLE=truetosaisdkdumpduring techsupport collection.Work item tracking
How I did it
config platform nvidia-bluefield sdk techsupport-ct-dump {enabled|disabled}to create/remove sentinel filesdk-techsupport-ct-dump.enabledin syncd.collect_nvidia_bluefield()ingenerate_dumpto check the sentinel and runsaisdkdump -pwithCT_TABLE_DUMP_ENABLE=truewhen enabled.tests/config_nvidia_bluefield_test.py.How to verify it
pytest tests/config_nvidia_bluefield_test.py -k techsupport_ct_dump config platform nvidia-bluefield sdk techsupport-ct-dump enabled show techsupport # on BlueField DPU; confirm CT dump in archive config platform nvidia-bluefield sdk techsupport-ct-dump disabledWhich release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
Add config platform nvidia-bluefield sdk techsupport-ct-dump command.