Re: [PATCH net-next v7 3/9] ethtool: Add an interface for flashing transceiver modules' firmware
From: Andrew Lunn
Date: Mon Jun 24 2024 - 15:24:10 EST
On Mon, Jun 24, 2024 at 08:51:53PM +0300, Danielle Ratson wrote:
> 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@xxxxxxxxxx>
> Reviewed-by: Petr Machata <petrm@xxxxxxxxxx>
Reviewed-by: Andrew Lunn <andrew@xxxxxxx>
Andrew