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

[Chassis]Remove redundant updateFabricPortState #2850

Merged

Conversation

kenneth-arista
Copy link
Contributor

@kenneth-arista kenneth-arista commented Jul 7, 2023

MSFT ADO: 24534105

What I did
Call to updateFabricPortState in FabricPortsOrch::getFabricPortList() is redundant as FabricPortsOrch::doTask() already calls it.

This change helps mitigate the MHz spikes during boot up of the supe as described in sonic-net/sonic-buildimage#15321.

Why I did it
To help address sonic-net/sonic-buildimage#15321.

Work item tracking
Microsoft ADO: 24534105

How I verified it
Boot up supe on Voq chassis and query fabric counters.

Details if related

@kenneth-arista
Copy link
Contributor Author

@jfeng-arista

@kenneth-arista kenneth-arista changed the title Remove redundant updateFabricPortState [Chassis]Remove redundant updateFabricPortState Jul 7, 2023
@judyjoseph
Copy link
Contributor

Hi @kenneth-arista this change is very much needed - thanks !
Do we need to optimize the poll interval also, are we able to get the stats for all fabric ports in every interval?

@kenneth-arista
Copy link
Contributor Author

Hi @kenneth-arista this change is very much needed - thanks ! Do we need to optimize the poll interval also, are we able to get the stats for all fabric ports in every interval?

@judyjoseph Let's defer changes to the poll interval in another PR because we need more information what is an appropriate number.

@kenneth-arista
Copy link
Contributor Author

@judyjoseph or @arlakshm is there an issue with the CodeQL pipeline check? How do I retrigger it?

@arlakshm
Copy link
Contributor

arlakshm commented Jul 9, 2023

@kenneth-arista, can you rebase your branch

@prsunny
Copy link
Collaborator

prsunny commented Jul 10, 2023

@kenneth-arista , CodeQL issue is being currently worked-upon. Please check this PR and retrigger the pipeline after the PR is merged. #2845

@kenneth-arista
Copy link
Contributor Author

/azpw run Azure.sonic-swss

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-swss

@azure-pipelines
Copy link

No commit pushedDate could be found for PR 2850 in repo sonic-net/sonic-swss

Call to updateFabricPortState in FabricPortsOrch::getFabricPortList() is
redundant as FabricPortsOrch::doTask() already calls it.

This change helps mitigate the MHz spikes during boot up of the supe as
described in sonic-net/sonic-buildimage#15321.
@judyjoseph judyjoseph merged commit c7e1308 into sonic-net:master Jul 13, 2023
14 checks passed
yxieca pushed a commit that referenced this pull request Jul 13, 2023
Call to updateFabricPortState in FabricPortsOrch::getFabricPortList() is
redundant as FabricPortsOrch::doTask() already calls it.

This change helps mitigate the MHz spikes during boot up of the supe as
described in sonic-net/sonic-buildimage#15321.
@kenneth-arista kenneth-arista deleted the master-remove-fabric-poll branch July 17, 2023 21:21
StormLiangMS pushed a commit that referenced this pull request Jul 19, 2023
Call to updateFabricPortState in FabricPortsOrch::getFabricPortList() is
redundant as FabricPortsOrch::doTask() already calls it.

This change helps mitigate the MHz spikes during boot up of the supe as
described in sonic-net/sonic-buildimage#15321.
theasianpianist pushed a commit to theasianpianist/sonic-swss that referenced this pull request Jul 20, 2023
Call to updateFabricPortState in FabricPortsOrch::getFabricPortList() is
redundant as FabricPortsOrch::doTask() already calls it.

This change helps mitigate the MHz spikes during boot up of the supe as
described in sonic-net/sonic-buildimage#15321.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

7 participants