Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to support asic name change from marvell to marvell-prestera #17171

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

rajneeshaec
Copy link
Contributor

@rajneeshaec rajneeshaec commented Feb 26, 2025

Description of PR

Adding the changes to support chip name change from marvell to marvell-prestera

Summary:
Fixes # (issue)
The chip name for marvell is changed to marvell-prestera
Same need to be modified in sonic-mgmt where we do conditional checks for different scripts.

Type of change

  • Bug fix
  • [ X] Testbed and Framework(new/improvement)
  • New Test case
    • Skipped for non-supported platforms
  • Test case improvement

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405
  • 202411

Approach

What is the motivation for this PR?

How did you do it?

How did you verify/test it?

Any platform specific information?

sonic-net/sonic-buildimage#19829

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

@rajneeshaec rajneeshaec requested a review from yxieca as a code owner February 26, 2025 05:14
@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@rajneeshaec
Copy link
Contributor Author

rajneeshaec commented Feb 26, 2025

/azp run

Copy link

Commenter does not have sufficient privileges for PR 17171 in repo sonic-net/sonic-mgmt

@rajneeshaec
Copy link
Contributor Author

/azp run

Copy link

Commenter does not have sufficient privileges for PR 17171 in repo sonic-net/sonic-mgmt

@rajneeshaec
Copy link
Contributor Author

/azp run

Copy link

Commenter does not have sufficient privileges for PR 17171 in repo sonic-net/sonic-mgmt

@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@@ -880,7 +880,7 @@ platform_tests/broadcom:
skip:
reason: "Marvell devices does not support platform_tests/broadcom"
conditions:
- "'marvell' in asic_type"
- "'marvell' in asic_type or 'marvell-prestera' in asic_type"
Copy link
Collaborator

Choose a reason for hiding this comment

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

"asic_type in ['marvell', 'marvell-prestera']" is the deterministic way?

the check above will include marvel-*

Copy link
Contributor Author

@rajneeshaec rajneeshaec Feb 27, 2025

Choose a reason for hiding this comment

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

Hi @yxieca

Marvell ASIC name is changed from “marvell” to “marvell-prestera” however we also have “marvell-teralynx”. If we use “marvell-*”, test cases will fail for marvell teralynx platforms

Thanks
Rajneesh

Copy link
Collaborator

Choose a reason for hiding this comment

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

That is the point. right?

'marvell' in asic_type already covered 'marvell-prestera' in asic_type" and it will pass return true for marvell-teralynx.

If your intention is to allow test on all 3 platforms, keeping the first condition is sufficient.

@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@rajneeshaec
Copy link
Contributor Author

/azp run

Copy link

Commenter does not have sufficient privileges for PR 17171 in repo sonic-net/sonic-mgmt

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