Add ability to flash modules' firmware
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 0 repliesNew
- v14 patches 3 repliesSuperseded
Changes in v2 from the cover letter
* Remove patch #3 of updating header, since it was already done.
* s/ETHTOOL_A_MODULE_FW_FLASH_PASS/ETHTOOL_A_MODULE_FW_FLASH_PASSWORD
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | cmis: Print active and inactive firmware versionscmis.c cmis.h | +53 | 0 replies | |
| 2/3 | cmis: Print CDB messaging support advertisementcmis.c cmis.h | +91 | 0 replies | |
| 3/3 | ethtool: Add ability to flash transceiver modules' firmwareethtool.8.in ethtool.c netlink/ +6 more | +284 | 0 replies |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Petr Machata |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH ethtool-next v2 0/3] 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: adds ability to flash modules' firmware.
v2:
* Remove patch #3 of updating header, since it was already done.
* s/ETHTOOL_A_MODULE_FW_FLASH_PASS/ETHTOOL_A_MODULE_FW_FLASH_PASSWORD
Danielle Ratson (1):
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 +++++ 11 files changed, 428 insertions(+)
Signature · 1 line
2.45.0