[PATCH ethtool-next 0/3] ethtool: Add ability to control transceiver modules' power mode
From: Ido Schimmel <hidden>
Date: 2021-12-07 09:34:59
From: Ido Schimmel <idosch@nvidia.com> Patch #1 updates the UAPI headers. Patch #2 adds the actual implementation that allows user space to control transceiver modules' power mode. See the commit message for example output. Patch #3 adds support for a new module extended state to allow user space to troubleshoot link down issues related to transceiver modules. Ido Schimmel (3): Update UAPI header copies ethtool: Add ability to control transceiver modules' power mode ethtool: Add transceiver module extended state Makefile.am | 2 +- ethtool.8.in | 25 +++++ ethtool.c | 12 +++ netlink/desc-ethtool.c | 11 +++ netlink/extapi.h | 4 + netlink/module.c | 179 ++++++++++++++++++++++++++++++++++ netlink/monitor.c | 4 + netlink/netlink.h | 1 + netlink/settings.c | 10 ++ shell-completion/bash/ethtool | 23 +++++ uapi/linux/ethtool.h | 30 ++++++ uapi/linux/ethtool_netlink.h | 22 ++++- uapi/linux/if_link.h | 1 + 13 files changed, 322 insertions(+), 2 deletions(-) create mode 100644 netlink/module.c -- 2.31.1