• Shannon Nelson's avatar
    ionic: add devlink firmware update · 30b5191a
    Shannon Nelson authored
    Add support for firmware update through the devlink interface.
    This update copies the firmware object into the device, asks
    the current firmware to install it, then asks the firmware to
    select the new firmware for the next boot-up.
    
    The install and select steps are launched as asynchronous
    requests, which are then followed up with status request
    commands.  These status request commands will be answered with
    an EAGAIN return value and will try again until the request
    has completed or reached the timeout specified.
    Signed-off-by: default avatarShannon Nelson <snelson@pensando.io>
    Acked-by: default avatarJakub Kicinski <kuba@kernel.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    30b5191a
ionic_devlink.h 515 Bytes