Skip to content

[AMD-SMI] Allow amdsmi init to succeed when no NIC hardware is present - #3403

Merged
marifamd merged 2 commits into
developfrom
users/ajanicijamd/amd-smi-fix-for-ainic
Mar 2, 2026
Merged

[AMD-SMI] Allow amdsmi init to succeed when no NIC hardware is present#3403
marifamd merged 2 commits into
developfrom
users/ajanicijamd/amd-smi-fix-for-ainic

Conversation

@ajanicijamd

@ajanicijamd ajanicijamd commented Feb 20, 2026

Copy link
Copy Markdown
Contributor

Motivation

Allows amdsmi init to succeed when NIC-related hardware is absent.

Technical Details

Treat "no NIC driver" or "no NIC devices" as success in populate_brcm_nic_devices() populate_brcm_switch_devices() and populate_amd_ainic_devices()

JIRA ID

Test Plan

Test Result

Submission Checklist

@sputhala-amd
sputhala-amd marked this pull request as ready for review February 20, 2026 22:51
@sputhala-amd
sputhala-amd requested a review from a team as a code owner February 20, 2026 22:51
@marifamd

Copy link
Copy Markdown
Contributor

LGTM, will approve once AINIC is reimplemented.

@sputhala-amd sputhala-amd changed the title Quick fix for the code that populates all AI NIC devices [Amd-smi]: Allow amdsmi init to succeed when no NIC hardware is present Feb 21, 2026

@dmitrii-galantsev dmitrii-galantsev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

blocking until NIC is re-implemented. it has been temporarily reverted.
#3418

@marifamd
marifamd force-pushed the users/ajanicijamd/amd-smi-fix-for-ainic branch from 32a7f00 to c36df37 Compare February 26, 2026 22:28
@marifamd marifamd changed the title [Amd-smi]: Allow amdsmi init to succeed when no NIC hardware is present [AMD-SMI]: Allow amdsmi init to succeed when no NIC hardware is present Feb 26, 2026
@marifamd marifamd changed the title [AMD-SMI]: Allow amdsmi init to succeed when no NIC hardware is present [AMD-SMI] Allow amdsmi init to succeed when no NIC hardware is present Feb 26, 2026
@marifamd
marifamd force-pushed the users/ajanicijamd/amd-smi-fix-for-ainic branch from c36df37 to bbd48e8 Compare March 1, 2026 18:43
@marifamd
marifamd merged commit fe53bcd into develop Mar 2, 2026
35 checks passed
@marifamd
marifamd deleted the users/ajanicijamd/amd-smi-fix-for-ainic branch March 2, 2026 18:07
gabrpham pushed a commit that referenced this pull request Mar 12, 2026
#3403)

* Quick fix for the code that populates all AI NIC devices

* When no NIC found resturn success

---------

Co-authored-by: Sajina Kandy <sputhala@amd.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants