[PATCH] app/testpmd: add command to decode module EEPROM
Stephen Hemminger
stephen at networkplumber.org
Thu Oct 8 18:10:13 CEST 2026
On Thu, 8 Oct 2026 10:02:03 +0200
Roman Khromenok <roma55592 at yandex.ru> wrote:
> The "show port <port_id> module_eeprom" command only prints
> a hexdump of the pluggable module EEPROM, which has to be
> decoded by hand against the SFF specifications.
>
> Add the "show port <port_id> module_eeprom decode" command
> to print the fields decoded by rte_eth_module_eeprom_parse(),
> such as the vendor, the transceiver type and the digital
> diagnostics, in the same form as "ethtool -m".
>
> The EEPROM read is moved to a helper shared by both commands.
>
> Signed-off-by: Roman Khromenok <roma55592 at yandex.ru>
> ---
Applied to next-net
More information about the dev
mailing list