-
Notifications
You must be signed in to change notification settings - Fork 0
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
HLD for getting error status of the SPF modules #12
Conversation
Initial version Signed-off-by: Stephen Sun <stephens@nvidia.com>
Signed-off-by: Stephen Sun <stephens@nvidia.com>
Signed-off-by: Stephen Sun <stephens@nvidia.com>
Signed-off-by: Stephen Sun <stephens@nvidia.com>
Signed-off-by: Stephen Sun <stephens@nvidia.com>
OK, great stuff, but having a return status of 0 mean "POWER BUDGET EXCEEDED" and return code 255 mean "No error" breaks a very common convention of 0 return code means "No errors". Recommend that you change this. |
Signed-off-by: Stephen Sun <stephens@nvidia.com>
Thank you for your comments. |
Is there a way we can move this logic to xcvrd? This way we can keep in line with the SONiC ecosystem (e.g., xcvrd is the only application responsible for communicating with transceivers), and it also opens up the ability for other vendors to implement this if they have similar support on their platforms. |
I think there are two approaches to achieve it:
As this is a command for debugging, it may have real-time requirements. So the second approach is preferred. Meanwhile, I'm not sure whether this is the scope of this design or another design should be opened for this |
Signed-off-by: Stephen Sun <stephens@nvidia.com>
Signed-off-by: Stephen Sun <stephens@nvidia.com>
Signed-off-by: Stephen Sun <stephens@nvidia.com>
Initial version
Signed-off-by: Stephen Sun stephens@nvidia.com