Skip to content

[202411][Mellanox] Adaptation changes relevant for PF interface in 202411#23487

Closed
gpunathilell wants to merge 2 commits intosonic-net:202411from
gpunathilell:dark_mode_port
Closed

[202411][Mellanox] Adaptation changes relevant for PF interface in 202411#23487
gpunathilell wants to merge 2 commits intosonic-net:202411from
gpunathilell:dark_mode_port

Conversation

@gpunathilell
Copy link
Contributor

Why I did it

To be merged after:
#23484
#23485
Port changes relevant to PF interface in 202411:

  • Removed rshim service as it is not relevant once PF interface feature is introduced
  • dpuctl.sh - Changes to parse DPU pci addresses from the platform.json file (since the PF interface is enabled, the pci addresses are modified)
  • dpumap.sh - Utiltiy to Parse IP addresses from platform.json - modified to parse all IP addresses
Work item tracking
  • Microsoft ADO (number only):

How I did it

To remove the rshim service:
rshim.sh , rshim@.service and rshim-manager.service files are removed from sonic-buildimage and are not copied to the image change in sonic_debian_extension.j2
To change parsing algorithm in dpuctl.sh. - Introduce get_dpu_pci_addresses to dynamically parse pci address, and map it to the corresponding DPU to power off
Change in dpumap.sh
Introduce dpu2rshim_bus_info to parse rshim_bus_info field in platform.sjon

How to verify it

Manual testing:
systemctl status dpuctl.service - Service has successfully exited (after powering off the DPUs)
dpuctl dpu-status Check that the DPUs are powered off.

Which release branch to backport (provide reason below if selected)

  • 202205
  • 202211
  • 202305
  • 202311
  • 202405
  • 202411
  • 202505

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

Signed-off-by: gpunathilell <gpunathilell@nvidia.com>
@gpunathilell gpunathilell requested a review from lguohan as a code owner July 25, 2025 21:55
@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@gpunathilell gpunathilell changed the title [202411][Mellanox] Port changes relevant for PF interface in 202411 [202411][Mellanox] Adaptation changes relevant for PF interface in 202411 Jul 25, 2025
@gpunathilell
Copy link
Contributor Author

/azpw run Azure.sonic-buildimage

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@gpunathilell
Copy link
Contributor Author

/azpw run Azure.sonic-buildimage

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

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.

3 participants