ethtool: Module EEPROM fixes
Status from this message: This series was applied to ethtool/ethtool.git (refs/heads/master):
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | sff-8636: Fix parsing of Page 03h in IOCTL pathqsfp.c | +1 | 0 replies | |
| 2/5 | cmis: Fix invalid memory access in IOCTL pathcmis.c | +1 | 0 replies | |
| 3/5 | netlink: eeprom: Fallback to IOCTL when a complete hex/raw dump is requestednetlink/ | +10 | 0 replies | |
| 4/5 | ethtool: Fix compilation warning when pretty dump is disabledethtool.c | +8 | 0 replies | |
| 5/5 | netlink: eeprom: Fix compilation when pretty dump is disablednetlink/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH ethtool 0/5] ethtool: Module EEPROM fixes
From: Ido Schimmel <[email protected]>
This patchset contains fixes for various issues I noticed while working on the module EEPROM parsing code.
In addition to these fixes, I have the following submissions ready for the next branch [1]:
* Trivial coding style / documentation changes
* Reworking the EEPROM parsing code to use a memory map with pointers to individual pages as the current state is sub-optimal. In the IOCTL path, one large buffer is passed to parsers (e.g., SFF-8636, CMIS). In the netlink path, individual pages are passed, some of which might not be valid. With the proposed changes, the IOCTL and netlink paths only differ in the way they initialize the memory map. The parsing code is completely shared
* Extending the CMIS parser to request and parse diagnostic information (already present in SFF-8636) from optional / banked pages
[1] https://github.com/idosch/ethtool/commits/submit/cmis_dump_v1
Ido Schimmel (5):
sff-8636: Fix parsing of Page 03h in IOCTL path
cmis: Fix invalid memory access in IOCTL path
netlink: eeprom: Fallback to IOCTL when a complete hex/raw dump is
requested
ethtool: Fix compilation warning when pretty dump is disabled
netlink: eeprom: Fix compilation when pretty dump is disabled
cmis.c | 2 +- ethtool.c | 13 ++++++++----- netlink/module-eeprom.c | 14 ++++++++++++++ qsfp.c | 2 +- 4 files changed, 24 insertions(+), 7 deletions(-)
Signature · 1 line
2.31.1