[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200918.135440.1763764251615101439.davem@davemloft.net>
Date: Fri, 18 Sep 2020 13:54:40 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: snelson@...sando.io
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH v5 net-next 0/5] ionic: add devlink dev flash support
From: Shannon Nelson <snelson@...sando.io>
Date: Thu, 17 Sep 2020 18:13:22 -0700
> Add support for using devlink's dev flash facility to update the
> firmware on an ionic device, and add a new timeout parameter to the
> devlink flash netlink message.
>
> For long-running flash commands, we add a timeout element to the dev
> flash notify message in order for a userland utility to display a timeout
> deadline to the user. This allows the userland utility to display a
> count down to the user when a firmware update action is otherwise going
> to go for ahile without any updates. An example use is added to the
> netdevsim module.
>
> The ionic driver uses this timeout element in its new flash function.
> The driver uses a simple model of pushing the firmware file to the NIC,
> asking the NIC to unpack and install the file into the device, and then
> selecting it for the next boot. If any of these steps fail, the whole
> transaction is failed. A couple of the steps can take a long time,
> so we use the timeout status message rather than faking it with bogus
> done/total messages.
>
> The driver doesn't currently support doing these steps individually.
> In the future we want to be able to list the FW that is installed and
> selectable but we don't yet have the API to fully support that.
...
Series applied to net-next.
Powered by blists - more mailing lists