Re: [PATCH ethtool-next v4 00/16] Add JSON output to --module-info
From: Jakub Kicinski <kuba@kernel.org>
Date: 2025-02-07 00:39:50
On Wed, 5 Feb 2025 17:54:20 +0200 Danielle Ratson wrote:
Add JSON output for 'ethtool -m' / --module-info, following the guideline below: 1. Fields with description, will have a separate description field. 2. Units will be documented in a separate module-info.json file. 3. ASCII fields will be presented as strings. 4. On/Off is rendered as true/false. 5. Yes/no is rendered as true/false. 6. Per-channel fields will be presented as array, when each element represents a channel. 7. Fields that hold version, will be split to major and minor sub fields. This patchset suppose to extend [1] to cover all types of modules. Patchset overview: Patches #1-#7: Preparations. Patches #8-#9: Add JSON output support for CMIS compliant modules. Patches #10-#11: Add JSON output support for SFF8636 modules. Patches #12-#14: Add JSON output support for SFF8079 and SFF8472 modules. Patch #15: Add a new schema JSON file for units documentation. Patches #16: Add '-j' support to ethtool
Acked-by: Jakub Kicinski <kuba@kernel.org> Thanks a lot for doing this work!