Skip to content

patch(v2.1): recognize hyphenated BlueField-3 DPU models - #5593

Merged
nv-dmendoza merged 1 commit into
NVIDIA:release/v2.1from
behroozrafii:codex/bf3-model-v2.1
Aug 31, 2026
Merged

patch(v2.1): recognize hyphenated BlueField-3 DPU models#5593
nv-dmendoza merged 1 commit into
NVIDIA:release/v2.1from
behroozrafii:codex/bf3-model-v2.1

Conversation

@behroozrafii

Copy link
Copy Markdown
Contributor

Redfish reports from affected BF3 cards use the chassis model BlueField-3 DPU. release/v2.1 only recognizes the space-separated form, so these reports are classified as Unknown and cannot use the BF3 BMC eth0 PF0 MAC fallback when the system-image MAC is unavailable.

This backport:

  • Reuses the shared DpuModel parser, which normalizes hyphens.
  • Covers BF2, both BF3 spellings, unknown and non-DPU models, BF3/BF4 topology discrimination, and PF MAC derivation.
  • Changes EndpointExplorationReport::model() for affected reports from unknown to bluefield3.

Related issues

Type of Change

  • Add - New feature or capability
  • Change - Changes in existing functionality
  • Fix - Bug fixes
  • Remove - Removed features or deprecated functionality
  • Internal - Internal changes (refactoring, tests, docs, etc.)

Breaking Changes

  • This PR contains breaking changes

Testing

  • Unit tests added/updated
  • Integration tests added/updated
  • Manual testing performed
  • No testing required (docs, internal refactor, etc.)

Validation completed in a local Linux/arm64 Docker environment:

  • cargo test --locked -p carbide-api-model identify_dpu — passed.
  • cargo test --locked -p carbide-api-model -p carbide-site-explorer --lib — passed with PostgreSQL.
  • cargo test --locked -p carbide-firmware --lib — passed with PostgreSQL.
  • cargo clippy --locked -p carbide-api-model -p carbide-site-explorer --all-targets — passed.
  • cargo fmt --check — passed; existing warnings for nightly-only formatter settings were emitted.

Additional Notes

The code patch is identical to #4829. The process-local SQLx site-explorer integration executable was not run locally; CI provides that integration coverage.

Backport NVIDIA#4829 to release/v2.1.

Reuse the shared DpuModel parser when identifying DPUs so Redfish chassis
models such as "BlueField-3 DPU" classify as BlueField3. This lets the BF3
BMC eth0 PF0 MAC fallback run when the system-image MAC is unavailable and
changes model() from "unknown" to "bluefield3".

Cover both BF3 spellings, BF2 and unknown models, the BF3 topology guard,
and PF MAC derivation. The process-local site-explorer integration
executable was not run locally and remains covered by CI.

(cherry picked from commit 5b919eb)
@behroozrafii
behroozrafii requested a review from a team August 31, 2026 20:50
@coderabbitai

coderabbitai Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 5cc95f92-9823-46f6-a95c-d01f396d9ea7

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 31, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-08-31T20:52:51.189536Z fd90955 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown

🔐 TruffleHog Secret Scan

No secrets or credentials found!

Your code has been scanned for 700+ types of secrets and credentials. All clear! 🎉

🔗 View scan details

🕐 Last updated: 2026-08-31 20:53:08 UTC | Commit: fd90955

@nv-dmendoza nv-dmendoza left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, backports fix

@nv-dmendoza
nv-dmendoza merged commit c4cec9a into NVIDIA:release/v2.1 Aug 31, 2026
122 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants