Skip to content

[Mellanox] Update QoS test cases for SN5600 #9583

Merged
liat-grozovik merged 2 commits intosonic-net:masterfrom
JibinBao:fix_qos_issue_for_sn5600
Sep 27, 2023
Merged

[Mellanox] Update QoS test cases for SN5600 #9583
liat-grozovik merged 2 commits intosonic-net:masterfrom
JibinBao:fix_qos_issue_for_sn5600

Conversation

@JibinBao
Copy link
Copy Markdown
Contributor

@JibinBao JibinBao commented Aug 22, 2023

Description of PR

For Nvidia SN5600 the formula to calculate the shared buffer size for pg and queue differs from other Spectrum. So, update the corresponding code for it.

Summary:
Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 201911
  • 202012
  • 202205

Approach

What is the motivation for this PR?

Update QoS cases for SN5600

How did you do it?

Update the code according to the relevant formula

How did you verify/test it?

Run qos tests on the SN5600 device

Any platform specific information?

SN5600

Supported testbed topology if it's a new test case?

Any

Documentation

For spc4, because HBA is enabled, we need to use new formula to calculate the shared buffer size for pg and q.

Change-Id: I61d2d2c0f5150f6227c15aa29a77747836356001
@JibinBao JibinBao changed the title Update qos cases [Nvidia] Update qos cases for spc4 Aug 22, 2023
@JibinBao JibinBao changed the title [Nvidia] Update qos cases for spc4 [Nvidia] Update qos cases for Spectrum 4 Aug 22, 2023
@JibinBao JibinBao changed the title [Nvidia] Update qos cases for Spectrum 4 [Nvidia] Update qos cases for sn5600 Aug 22, 2023
@JibinBao JibinBao changed the title [Nvidia] Update qos cases for sn5600 [Nvidia] Update qos cases for SN5600 Aug 22, 2023
@JibinBao
Copy link
Copy Markdown
Contributor Author

@bingwang-ms @XuChen-MSFT Can you help review it?

…sic_type

To improve the extensibility, add one mechanism to handle special QoS parameters for the specified asic_type

Change-Id: I69086ce5858669472f634b1bcd9a5b436650d54e
@JibinBao
Copy link
Copy Markdown
Contributor Author

@bingwang-ms @XuChen-MSFT Can you help review it?

@JibinBao
Copy link
Copy Markdown
Contributor Author

@bingwang-ms Can you help review this PR?

@bingwang-ms
Copy link
Copy Markdown
Collaborator

@bingwang-ms Can you help review this PR?

We don't have SN5600 testbed, so I have no way to verify the change on a physical testbed. The change looks good to me.

@liat-grozovik liat-grozovik merged commit f525169 into sonic-net:master Sep 27, 2023
@liat-grozovik liat-grozovik changed the title [Nvidia] Update qos cases for SN5600 [Mellanox] Update QoS test cases for SN5600 Sep 27, 2023
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Oct 24, 2023
For Nvidia SN5600 the formula to calculate the shared buffer size for pg and queue differs from other Spectrum. So, update the corresponding code for it.
@mssonicbld
Copy link
Copy Markdown
Collaborator

Cherry-pick PR to 202305: #10442

mssonicbld pushed a commit that referenced this pull request Oct 25, 2023
For Nvidia SN5600 the formula to calculate the shared buffer size for pg and queue differs from other Spectrum. So, update the corresponding code for it.
AharonMalkin pushed a commit to AharonMalkin/sonic-mgmt that referenced this pull request Jan 25, 2024
For Nvidia SN5600 the formula to calculate the shared buffer size for pg and queue differs from other Spectrum. So, update the corresponding code for it.
JibinBao added a commit to JibinBao/sonic-mgmt that referenced this pull request Aug 30, 2024
1. update qos sai test for sn5400 according to the two PRs below

  a.  sonic-net#9583
  b.  sonic-net#12848

2. To stabilize testQosSaiQSharedWatermark[single_asic-wm_q_shared_lossy], update margin from 4 to 5 for spc4

Change-Id: Ic3919a9123cd968fb9d89013687cf31791684208
bingwang-ms pushed a commit that referenced this pull request Oct 30, 2024
1. update qos sai test for sn5400 according to the two PRs below

  a.  #9583
  b.  #12848

2. To stabilize testQosSaiQSharedWatermark[single_asic-wm_q_shared_lossy], update margin from 4 to 5 for spc4

Change-Id: Ic3919a9123cd968fb9d89013687cf31791684208
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Oct 30, 2024
1. update qos sai test for sn5400 according to the two PRs below

  a.  sonic-net#9583
  b.  sonic-net#12848

2. To stabilize testQosSaiQSharedWatermark[single_asic-wm_q_shared_lossy], update margin from 4 to 5 for spc4

Change-Id: Ic3919a9123cd968fb9d89013687cf31791684208
mssonicbld pushed a commit that referenced this pull request Oct 31, 2024
1. update qos sai test for sn5400 according to the two PRs below

  a.  #9583
  b.  #12848

2. To stabilize testQosSaiQSharedWatermark[single_asic-wm_q_shared_lossy], update margin from 4 to 5 for spc4

Change-Id: Ic3919a9123cd968fb9d89013687cf31791684208
sreejithsreekumaran pushed a commit to sreejithsreekumaran/sonic-mgmt that referenced this pull request Nov 15, 2024
1. update qos sai test for sn5400 according to the two PRs below

  a.  sonic-net#9583
  b.  sonic-net#12848

2. To stabilize testQosSaiQSharedWatermark[single_asic-wm_q_shared_lossy], update margin from 4 to 5 for spc4

Change-Id: Ic3919a9123cd968fb9d89013687cf31791684208
yutongzhang-microsoft pushed a commit to yutongzhang-microsoft/sonic-mgmt that referenced this pull request Nov 21, 2024
1. update qos sai test for sn5400 according to the two PRs below

  a.  sonic-net#9583
  b.  sonic-net#12848

2. To stabilize testQosSaiQSharedWatermark[single_asic-wm_q_shared_lossy], update margin from 4 to 5 for spc4

Change-Id: Ic3919a9123cd968fb9d89013687cf31791684208
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.

8 participants