Skip to content

[docker-sonic-vs]: More changes to support DPU-2P HWKSU#15695

Merged
lguohan merged 4 commits intosonic-net:masterfrom
prabhataravind:master
Jul 11, 2023
Merged

[docker-sonic-vs]: More changes to support DPU-2P HWKSU#15695
lguohan merged 4 commits intosonic-net:masterfrom
prabhataravind:master

Conversation

@prabhataravind
Copy link
Contributor

@prabhataravind prabhataravind commented Jun 30, 2023

Why I did it

  • port_config.ini and hwsku.json are needed to generate the default config
  • switch_type needs to be "dpu" to spawn the right set of processes during dvs initialization and to make sure that DASH APIs can be handled properly
Work item tracking
  • Microsoft ADO 24375371:

How I did it

  • Use the same hwsku.json and port_config.ini for DPU-2P as the ones used for Nvidia-MBF2H536C SKU in nvidia-sonic sonic-buildimage repo.
  • Set switch_type to "dpu" in DEVICE_METADATA configuration to make sure DASH specific APIs are handled properly

How to verify it

Spawn a vs testbed using DPU-2P hwksu and make sure DASH vstests are able to run.

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

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)

@prabhataravind prabhataravind changed the title More changes to support NPU-2P HWKSU [docker-sonic-vs]: More changes to support NPU-2P HWKSU Jul 1, 2023
@lguohan
Copy link
Collaborator

lguohan commented Jul 2, 2023

we should change npu to dpu

@prabhataravind prabhataravind changed the title [docker-sonic-vs]: More changes to support NPU-2P HWKSU [docker-sonic-vs]: More changes to support DPU-2P HWKSU Jul 4, 2023
@prabhataravind prabhataravind requested a review from lguohan July 4, 2023 21:33
@prabhataravind prabhataravind marked this pull request as ready for review July 4, 2023 21:34
@prabhataravind prabhataravind force-pushed the master branch 2 times, most recently from 71a70fc to 273e97b Compare July 5, 2023 17:54
 * Change NPU-2P to DPU-2P
 * Enable copp configuration for DPU as well
 * Set VS switch type to SAI_VS_SWITCH_TYPE_DPU_SIMU_2P

Signed-off-by: Prabhat Aravind <[email protected]>
@prabhataravind
Copy link
Contributor Author

/azpw run

@mssonicbld
Copy link
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link

You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list.

@lguohan lguohan merged commit 114f276 into sonic-net:master Jul 11, 2023
sonic-otn pushed a commit to sonic-otn/sonic-buildimage that referenced this pull request Sep 20, 2023
)

Why I did it
port_config.ini and hwsku.json are needed to generate the default config
switch_type needs to be "dpu" to spawn the right set of processes during dvs initialization and to make sure that DASH APIs can be handled properly

Work item tracking
Microsoft ADO 24375371:

How I did it
Use the same hwsku.json and port_config.ini for DPU-2P as the ones used for Nvidia-MBF2H536C SKU in nvidia-sonic sonic-buildimage repo.
Set switch_type to "dpu" in DEVICE_METADATA configuration to make sure DASH specific APIs are handled properly

Signed-off-by: Prabhat Aravind <[email protected]>
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