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

[Celestica/Seastone2] Load interface LEDs #9769

Merged
merged 1 commit into from
Jan 19, 2022

Conversation

bluecmd
Copy link
Contributor

@bluecmd bluecmd commented Jan 16, 2022

Why I did it

The DX030 platform has all LEDs shining green, no port status indication.

How I did it

Looking at other platforms that are Trident 3 based, we figured out that the LED configuration blobs are checked in but not loaded. We tested a few different ways of loading these blobs and the proposed one worked fine.

How to verify it

Tested on a Celestica Seastone2 DX030 switch

Testing scenarios:

  • Various QSFP ports in both normal and breakout config.
  • 100G and 40G link speed show different colors.
  • SFP1 port works.

Data forwarding of course still works.

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111

Reason: Having the LEDs work is considered essential for a lot of people when considering platforms.

Description for the changelog

cel/seastone2: Enable interface LEDs

A picture of a cute animal (not mandatory but encouraged)

image

Tested on a Celestica Seastone2 DX030 switch

Testing scenarios:
- Various QSFP ports in both normal and breakout config.
- 100G and 40G link speed show different colors.
- SFP1 port works.

Signed-off-by: Christian Svensson <blue@cmd.nu>
@sujinmkang sujinmkang merged commit bc56e06 into sonic-net:master Jan 19, 2022
@bluecmd bluecmd deleted the patch-5 branch January 19, 2022 12:14
judyjoseph pushed a commit that referenced this pull request Jan 23, 2022
Tested on a Celestica Seastone2 DX030 switch

Testing scenarios:
- Various QSFP ports in both normal and breakout config.
- 100G and 40G link speed show different colors.
- SFP1 port works.

Signed-off-by: Christian Svensson <blue@cmd.nu>
qiluo-msft pushed a commit that referenced this pull request Jan 25, 2022
Tested on a Celestica Seastone2 DX030 switch

Testing scenarios:
- Various QSFP ports in both normal and breakout config.
- 100G and 40G link speed show different colors.
- SFP1 port works.

Signed-off-by: Christian Svensson <blue@cmd.nu>
lukasstockner added a commit to genesiscloud/sonic-buildimage that referenced this pull request Jun 13, 2022
Fixes sonic-net#10103.

The LED init script that was added in sonic-net#9769 enables the port LEDs, but
it turns out that the linkscan change combined with Broadcom SAI 6.0
breaks detection of port status on boot.

Without the linkscan and sleep, the LED still work as expected, and
the port status is correct again.

Signed-off-by: Lukas Stockner <lstockner@genesiscloud.com>
lukasstockner added a commit to genesiscloud/sonic-buildimage that referenced this pull request Mar 14, 2023
Fixes sonic-net#10103.

The LED init script that was added in sonic-net#9769 enables the port LEDs, but
it turns out that the linkscan change combined with Broadcom SAI 6.0
breaks detection of port status on boot.

Without the linkscan and sleep, the LED still work as expected, and
the port status is correct again.

Signed-off-by: Lukas Stockner <lstockner@genesiscloud.com>
lukasstockner added a commit to genesiscloud/sonic-buildimage that referenced this pull request Apr 2, 2023
Fixes sonic-net#10103.

The LED init script that was added in sonic-net#9769 enables the port LEDs, but
it turns out that the linkscan change combined with Broadcom SAI 6.0
breaks detection of port status on boot.

Without the linkscan and sleep, the LED still work as expected, and
the port status is correct again.

Signed-off-by: Lukas Stockner <lstockner@genesiscloud.com>
lukasstockner added a commit to genesiscloud/sonic-buildimage that referenced this pull request Apr 22, 2023
Fixes sonic-net#10103.

The LED init script that was added in sonic-net#9769 enables the port LEDs, but
it turns out that the linkscan change combined with Broadcom SAI 6.0
breaks detection of port status on boot.

Without the linkscan and sleep, the LED still work as expected, and
the port status is correct again.

Signed-off-by: Lukas Stockner <lstockner@genesiscloud.com>
lukasstockner added a commit to genesiscloud/sonic-buildimage that referenced this pull request Oct 31, 2023
Fixes sonic-net#10103.

The LED init script that was added in sonic-net#9769 enables the port LEDs, but
it turns out that the linkscan change combined with Broadcom SAI 6.0
breaks detection of port status on boot.

Without the linkscan and sleep, the LED still work as expected, and
the port status is correct again.

Signed-off-by: Lukas Stockner <lstockner@genesiscloud.com>
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.

4 participants