Skip to content

Commit

Permalink
[Nokia][sonic-platform] Update Nokia sonic-platform submodule - ungra…
Browse files Browse the repository at this point in the history
…ceful reboot hooks to induce NIF port shutdown (sonic-net#18014)

These changes provide for the automatic shutdown of NIF ports on LC when an ungraceful reboot scenario occurs. Reboot and panic notifier hooks are now registered so that callback occurs from the kernel and NIF ports are subsequently shut down.

Why I did it
To facilitate the timely movement of traffic away from a crashed LC when its peers recognize that the associated links have gone down.

How I did it
Linux kernel reboot and panic notifier hooks are used to register a callback routine that, when invoked, stuffs all present transceiver modules into reset.

How to verify it
Cause an ungraceful reboot (whether via /usr/sbin/reboot or by causing a kernel panic) and verify that all LC native NIF links are brought down at reboot/panic time (on the way down). It may be necessary to monitor the LC link peer(s) in order to verify in real-time.
  • Loading branch information
snider-nokia committed Mar 15, 2024
1 parent 2622aa1 commit 9fdbdee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/broadcom/sonic-platform-modules-nokia

0 comments on commit 9fdbdee

Please sign in to comment.