-
Notifications
You must be signed in to change notification settings - Fork 12
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
Port LED traffic indication fails when port is up when booting #670
Comments
Here's a script that shows all the LED config registers, and exits with code 1 if any LED is in the wrong state: #!/bin/sh
x=0
for sw in 2 4 6; do
for p in $(seq 8); do
cfg=$(mdio f212a2* mvls $sw $p:0x16)
printf ':%02x.%u: ' $sw $p
echo $cfg
[ "$cfg" = "0x0023" ] || x=1
done
done
exit $x Here is a ply script that can be used to trace the order of updates to the LED configuration:
Refined log data showing the difference between a port that ends up in the correct state, and one in the wrong state:
It seems to indicate that changing the LED trigger, and going from "unoffloadable" to "offloadable" configs may execute out-of-order, as commands coming in via |
Core team decision today: to work around the issue for Styx boards by disabling iitod, or at least port LED control, for now. |
For details, see discussion in #670 Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Current Behavior
This bug has been introduced somewhere between infix 24.06.0 and 24.09.0.
Port LED 'GREEN BLINK' is used for traffic indication, while steady GREEN just indicated status up.
Upon boot, the traffic indication currently fails if the port is up from start. The port just shows steady GREEN.
If such a port is unplugged and plugged in again, traffic indication works.
Expected Behavior
Traffic indication (GREEN BLINK) should work for all ports that are up and exchanging traffic, also for ports being up at boot time.
Steps To Reproduce
ping ff02::1%e1
. This should lead to GREEN BLINK on port 1 and 2, but it does not.Additional information
To compare, do the same with Infix 24.06.0. There traffic indication works upon boot.
The text was updated successfully, but these errors were encountered: