diff options
author | 2025-04-15 16:13:14 -0700 | |
---|---|---|
committer | 2025-04-22 12:27:30 +0200 | |
commit | c51ab838f5323a375b7f7334644456b23e7532ca (patch) | |
tree | 764c18040f033be242bb9cd58121b01a77493fa4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'vxlan-convert-fdb-table-to-rhashtable' (diff) | |
download | wireguard-linux-c51ab838f5323a375b7f7334644456b23e7532ca.tar.xz wireguard-linux-c51ab838f5323a375b7f7334644456b23e7532ca.zip |
ionic: extend the QSFP module sprom for more pages
Some QSFP modules have more eeprom to be read by ethtool than
the initial high and low page 0 that is currently available
in the DSC's ionic sprom[] buffer. Since the current sprom[]
is baked into the middle of an existing API struct, to make
the high end of page 1 and page 2 available a block is carved
from a reserved space of the existing port_info struct and the
ionic_get_module_eeprom() service is taught how to get there.
Newer firmware writes the additional QSFP page info here,
yet this remains backward compatible because older firmware
sets this space to all 0 and older ionic drivers do not use
the reserved space.
Reviewed-by: Brett Creeley <brett.creeley@amd.com>
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250415231317.40616-2-shannon.nelson@amd.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions