Skip to content

[action] [PR:11763] [Mellanox] Improve the setting speed function for onyx fanout#12109

Merged
mssonicbld merged 1 commit intosonic-net:202205from
mssonicbld:cherry/202205/11763
Mar 22, 2024
Merged

[action] [PR:11763] [Mellanox] Improve the setting speed function for onyx fanout#12109
mssonicbld merged 1 commit intosonic-net:202205from
mssonicbld:cherry/202205/11763

Conversation

@mssonicbld
Copy link
Collaborator

Description of PR

The speed support list for onyx is like '1G 10G 25G 40G 50Gx1 50Gx2 100Gx2 100Gx4 200Gx4'. When the fanout is onyx, we need to set the speed according to the speed support list.
For example, when dut and fanout all support 50G, if the support speed list of fanout just includes 50Gx1 not includes 50G, we need to set the speed with 50Gx1 instead of 50G, otherwise, the port can not be up.

Summary:
Fixes # (issue)

Type of change

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

Back port request

  • 201911
  • 202012
  • 202205
  • 202305
  • 202311

Approach

What is the motivation for this PR?

Improve the setting speed function for onyx fanout

How did you do it?

Select the match speed from the support speed list

How did you verify/test it?

Run testQosSaiDwrr with onyx fanout

Any platform specific information?

Any

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

Documentation

The speed support list for onyx is like '1G 10G 25G 40G 50Gx1 50Gx2 100Gx2 100Gx4 200Gx4'. When the fanout is onyx, we need to set the speed according to the speed support list. For example, when dut and fanout all support 50G, if support speed list of fanout just includes 50Gx1 not includes 50G, we need to set the speed with 50Gx1 instead of 50G, otherwise, the port can not be up.

Change-Id: I5d14151422fc10ee23fd410d999278cff59ff52b
@mssonicbld
Copy link
Collaborator Author

Original PR: #11763

@mssonicbld mssonicbld merged commit fbd3cfd into sonic-net:202205 Mar 22, 2024
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.

2 participants