-
Notifications
You must be signed in to change notification settings - Fork 198
Add more fields to NIC #342
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fantastic work on this @jak3kaj, really appreciate your effort! :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jak3kaj how's it going? I wanted to know if you think you can fix up this PR today? I was looking to cut a new release of ghw
today and wanted to get this excellent work into the release :)
I think the only thing you need to do is rebase and remove the now-uncalled functions.
SupportedFECModes, AdvertisedLinkModes, AdvertisedFECModes to NIC struct. Update test case to validate new fields. Update README. Signed-off-by: Jacob Young <jacoby@nvidia.com>
Update ParseBool to return `false` for empty strings. Signed-off-by: Jacob Young <jacoby@nvidia.com>
Signed-off-by: Jacob Young <jacoby@nvidia.com>
Co-authored-by: Jay Pipes <jaypipes@gmail.com> Signed-off-by: Jacob Young <jacoby@nvidia.com>
Co-authored-by: Jay Pipes <jaypipes@gmail.com> Signed-off-by: Jacob Young <jacoby@nvidia.com>
Signed-off-by: Jacob Young <jacoby@nvidia.com>
Signed-off-by: Jacob Young <jacoby@nvidia.com>
Signed-off-by: Jacob Young <jacoby@nvidia.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm working on the 3rd PR to add support for the WOL data. I can move |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(VERY LATE to the party but...) LGTM, thanks!
Added the following to the
NIC
struct:Speed
Duplex
SupportedLinkModes
SupportedPorts
SupportedFECModes
AdvertisedLinkModes
AdvertisedFECModes
Refactoring PR #335