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

Add recycle port to the physical ignore list #251

Merged
merged 1 commit into from
Dec 16, 2021

Conversation

Staphylo
Copy link
Contributor

@Staphylo Staphylo commented Dec 8, 2021

Description

Prevent SFP logic from happening on non xcvr ports.

Motivation and Context

Recirculation ports are not physical ports and need to be ignored by xcvrd.
Not ignoring this port would lead to xcvrd calling get_sfp() on an unsupported interface and therefore crashing.

How Has This Been Tested?

Change applied manually to a switch with its dependency sonic-net/sonic-buildimage#9471
Confirmed that xcvrd no longer tries to access the Ethernet-Rec ports

@prgeor prgeor self-assigned this Dec 10, 2021
@judyjoseph
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@judyjoseph
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@prgeor
Copy link
Collaborator

prgeor commented Dec 16, 2021

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

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.

3 participants