Skip to content

ethtool: Add ability to control transceiver modules' power mode

Ido Schimmel netdev 1 version Applied

Status from this message: This series was applied to ethtool/ethtool.git (next)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3Update UAPI header copiesuapi/linux/ethtool.h uapi/linux/ethtool_netlink.h uapi/linux/if_link.h+52 -10 replies
2/3ethtool: Add ability to control transceiver modules' power modeMakefile.am ethtool.8.in ethtool.c +6 more+260 -10 replies
3/3ethtool: Add transceiver module extended statenetlink/settings.c+10 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH ethtool-next 0/3] ethtool: Add ability to control transceiver modules' power mode

From: Ido Schimmel <[email protected]>

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
Signature · 1 line
2.31.1