[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240716131112.2634572-1-danieller@nvidia.com>
Date: Tue, 16 Jul 2024 16:11:08 +0300
From: Danielle Ratson <danieller@...dia.com>
To: <netdev@...r.kernel.org>
CC: <mkubecek@...e.cz>, <mlxsw@...dia.com>, Danielle Ratson
<danieller@...dia.com>
Subject: [PATCH ethtool-next 0/4] Add ability to flash modules' firmware
CMIS compliant modules such as QSFP-DD might be running a firmware that
can be updated in a vendor-neutral way by exchanging messages between
the host and the module as described in section 7.2.2 of revision
4.0 of the CMIS standard.
Add ability to flash transceiver modules' firmware over netlink.
Example output:
# ethtool --flash-module-firmware eth0 file test.img
Transceiver module firmware flashing started for device swp23
Transceiver module firmware flashing in progress for device swp23
Progress: 99%
Transceiver module firmware flashing completed for device swp23
In addition, add some firmware and CDB messaging information to
ethtool's output for observability.
Patchset overview:
Patches #1-#2: adds firmware info to ethtool's output.
Patch #3: updates headers.
Patch #4: adds ability to flash modules' firmware.
Danielle Ratson (2):
Update UAPI header copies
ethtool: Add ability to flash transceiver modules' firmware
Ido Schimmel (2):
cmis: Print active and inactive firmware versions
cmis: Print CDB messaging support advertisement
cmis.c | 125 +++++++++++++++++++++++
cmis.h | 19 ++++
ethtool.8.in | 29 ++++++
ethtool.c | 7 ++
netlink/desc-ethtool.c | 13 +++
netlink/extapi.h | 2 +
netlink/module.c | 183 ++++++++++++++++++++++++++++++++++
netlink/netlink.h | 16 +++
netlink/prettymsg.c | 5 +
netlink/prettymsg.h | 2 +
shell-completion/bash/ethtool | 27 +++++
uapi/linux/ethtool.h | 18 ++++
uapi/linux/ethtool_netlink.h | 19 ++++
13 files changed, 465 insertions(+)
--
2.45.0
Powered by blists - more mailing lists