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 attribute to get port debug data #1324

Merged
merged 1 commit into from Feb 27, 2023

Conversation

mikeberesford
Copy link
Contributor

Add simple attribute to get port debug data via the SAI interface. This is intended for vendor-specific debug information (ie SerDes/PHY information) that might be useful to debug a down/flaky port.

@mikeberesford
Copy link
Contributor Author

@lguohan @rlhui I know I let this slip for a bit, but I'd like to pick this back up. My recollection here was that there was a request to specify this as JSON-formatted data as opposed to an opaque blob. Can you recommend any folks I should be discussing with?

@mikeberesford mikeberesford force-pushed the port_debug branch 2 times, most recently from ee47910 to e1b1eee Compare January 18, 2023 21:03
inc/saiport.h Outdated Show resolved Hide resolved
inc/saiport.h Outdated Show resolved Hide resolved
@mikeberesford mikeberesford force-pushed the port_debug branch 2 times, most recently from dc7077b to 8576a8b Compare January 27, 2023 01:42
@mikeberesford
Copy link
Contributor Author

@rlhui are there other folks you'd like to have sign off on this?

Copy link
Contributor

@JaiOCP JaiOCP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks Good.

Fix the metachecker spelling error ('retreive')

@mikeberesford
Copy link
Contributor Author

Spellcheck fixed (oops).

@mikeberesford
Copy link
Contributor Author

@rlhui are there other signoffs we need to get this merged?

@rlhui
Copy link
Collaborator

rlhui commented Feb 23, 2023

@mikeberesford , would we please resolve conflicts? Thanks.

Add a vendor-specific attribute to capture port debug data. The returned
data should be a JSON-encoded string, containing the debug data.

Signed-off-by: Mike Beresford <mberes@google.com>
@mikeberesford
Copy link
Contributor Author

@rlhui didn't notice that before, thanks. Rebased the change onto head and resolved the conflict.

@rlhui rlhui merged commit 2001d04 into opencomputeproject:master Feb 27, 2023
3 checks passed
JaiOCP pushed a commit to JaiOCP/SAI that referenced this pull request Mar 10, 2023
Add a vendor-specific attribute to capture port debug data. The returned
data should be a JSON-encoded string, containing the debug data.

Signed-off-by: Mike Beresford <mberes@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants