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

Support for parsing DDM #19

Open
icb- opened this issue Nov 21, 2018 · 1 comment
Open

Support for parsing DDM #19

icb- opened this issue Nov 21, 2018 · 1 comment

Comments

@icb-
Copy link

icb- commented Nov 21, 2018

I would like to get access to parsed SFF-8472 style DDM from NICs (and optics) that support it. You can already get the raw, unprocessed binary data from ModuleEeprom(intf). Parsing most of the data is relatively straightforward (mostly some uint8, uint16, some fixed length strings, and a bunch of enums) but several of the fields are in odd units, like optic temperature in 1/256 °C, or rx/tx power in 100s of nanowatts (when dBm is much more common.)

I think this is the right place to do that parsing, rather than pushing it to anything that uses this module.

@lst123
Copy link

lst123 commented Apr 6, 2023

I would like to get access to parsed SFF-8472 style DDM from NICs (and optics) that support it. You can already get the raw, unprocessed binary data from ModuleEeprom(intf). Parsing most of the data is relatively straightforward (mostly some uint8, uint16, some fixed length strings, and a bunch of enums) but several of the fields are in odd units, like optic temperature in 1/256 °C, or rx/tx power in 100s of nanowatts (when dBm is much more common.)

I think this is the right place to do that parsing, rather than pushing it to anything that uses this module.

Hello.
Could you please tell me how to parse the raw data from ModuleEeprom correctly?

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

No branches or pull requests

2 participants