]> www.infradead.org Git - users/hch/configfs.git/commit
ethtool: Add an interface for flashing transceiver modules' firmware
authorDanielle Ratson <danieller@nvidia.com>
Thu, 27 Jun 2024 14:08:50 +0000 (17:08 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Jun 2024 09:48:22 +0000 (10:48 +0100)
commit46fb3ba95b93d1887e6dfa02a535e0526062de95
tree672031500d0ecf5a68bdda41c5816c94ebe14c44
parent1983a8007032321327a2c31b40d45dab544fcdf9
ethtool: Add an interface for flashing transceiver 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.3.1 of revision 5.2 of
the CMIS standard.

Add a pair of new ethtool messages that allow:

* User space to trigger firmware update of transceiver modules

* The kernel to notify user space about the progress of the process

The user interface is designed to be asynchronous in order to avoid
RTNL being held for too long and to allow several modules to be
updated simultaneously. The interface is designed with CMIS compliant
modules in mind, but kept generic enough to accommodate future use
cases, if these arise.

Signed-off-by: Danielle Ratson <danieller@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/netlink/specs/ethtool.yaml
Documentation/networking/ethtool-netlink.rst
include/uapi/linux/ethtool.h
include/uapi/linux/ethtool_netlink.h
tools/net/ynl/Makefile.deps