-
Notifications
You must be signed in to change notification settings - Fork 684
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a subcommand to display a hexdump of transceiver EEPROM page (#2379)
* Add a subcommand to display a hexdump of transceiver EEPROM page What I did Added a subcommand to display the hexdump of transceiver EEPROM page specified by the user. "sfputil show eeprom-hexdump -p <port_name> -r <page_number>" has been added for this purpose and it requires both port name and page number as mandatory inputs. Lower page 0h is always displayed and the upper page is displayed based on the page number specified by the user How to verify it Verified the utility with 400G DD, 100G QSFP28 and 40G DAC Signed-off-by: Mihir Patel <patelmi@microsoft.com> * Added support for SFF-8472 EEPROM dump and addressed PR comments * Added more test cases Signed-off-by: Mihir Patel <patelmi@microsoft.com> * Changed -r option to -n and changed lower string for displaying A2h contents Signed-off-by: Mihir Patel <patelmi@microsoft.com> Signed-off-by: Mihir Patel <patelmi@microsoft.com>
- Loading branch information
Showing
2 changed files
with
340 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.