Skip to content

[Mellanox] Fix issue: SFP index got from get_change_event is wrong when an xSFP module is plugged in/out#9961

Merged
prgeor merged 1 commit intosonic-net:masterfrom
stephenxs:fix-sfp-event
Feb 13, 2022
Merged

[Mellanox] Fix issue: SFP index got from get_change_event is wrong when an xSFP module is plugged in/out#9961
prgeor merged 1 commit intosonic-net:masterfrom
stephenxs:fix-sfp-event

Conversation

@stephenxs
Copy link
Collaborator

@stephenxs stephenxs commented Feb 10, 2022

Why I did it

Fix issue: SFP index got from get_change_event is wrong when an xSFP module is plugged in/out
The error message like Fail to re-initialize SFP 54 - IndexError('list index out of range') is observed.

Signed-off-by: Stephen Sun stephens@nvidia.com

How I did it

How to verify it

Manually test and regression test.

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

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

Description for the changelog

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

Signed-off-by: Stephen Sun <stephens@nvidia.com>
@prgeor prgeor merged commit 486e9b0 into sonic-net:master Feb 13, 2022
@stephenxs stephenxs deleted the fix-sfp-event branch February 13, 2022 04:21
judyjoseph pushed a commit that referenced this pull request Feb 14, 2022
Signed-off-by: Stephen Sun <stephens@nvidia.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