netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 net-next 0/2] ionic: add devlink dev flash support
@ 2020-09-08 22:48 Shannon Nelson
  2020-09-08 22:48 ` [PATCH v3 net-next 1/2] ionic: update the fw update api Shannon Nelson
  2020-09-08 22:48 ` [PATCH v3 net-next 2/2] ionic: add devlink firmware update Shannon Nelson
  0 siblings, 2 replies; 27+ messages in thread
From: Shannon Nelson @ 2020-09-08 22:48 UTC (permalink / raw)
  To: netdev, davem; +Cc: Shannon Nelson

Add support for using devlink's dev flash facility to update the
firmware on an ionic device.  This is 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.

We don'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.

v3: Changed long dev_cmd timeout on status check calls to a loop around
    calls with a normal timeout, which allows for more intermediate log
    messaging when in a long wait, and for letting other threads run
    dev_cmds if waiting.

v2: Changed "Activate" to "Select" in status messages.

Shannon Nelson (2):
  ionic: update the fw update api
  ionic: add devlink firmware update

 drivers/net/ethernet/pensando/ionic/Makefile  |   2 +-
 .../ethernet/pensando/ionic/ionic_devlink.c   |  14 ++
 .../ethernet/pensando/ionic/ionic_devlink.h   |   3 +
 .../net/ethernet/pensando/ionic/ionic_fw.c    | 209 ++++++++++++++++++
 .../net/ethernet/pensando/ionic/ionic_if.h    |  33 ++-
 .../net/ethernet/pensando/ionic/ionic_main.c  |  27 ++-
 6 files changed, 271 insertions(+), 17 deletions(-)
 create mode 100644 drivers/net/ethernet/pensando/ionic/ionic_fw.c

-- 
2.17.1


^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2020-09-15 22:34 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-08 22:48 [PATCH v3 net-next 0/2] ionic: add devlink dev flash support Shannon Nelson
2020-09-08 22:48 ` [PATCH v3 net-next 1/2] ionic: update the fw update api Shannon Nelson
2020-09-08 22:48 ` [PATCH v3 net-next 2/2] ionic: add devlink firmware update Shannon Nelson
2020-09-08 23:54   ` Jakub Kicinski
2020-09-09 16:23     ` Shannon Nelson
2020-09-09 16:44       ` Jakub Kicinski
2020-09-09 17:58         ` Shannon Nelson
2020-09-09 19:22           ` Jakub Kicinski
2020-09-10  1:34             ` Shannon Nelson
2020-09-10 17:56               ` Jakub Kicinski
2020-09-14 22:02                 ` Shannon Nelson
2020-09-14 22:59                   ` Jakub Kicinski
2020-09-14 23:15                 ` Jacob Keller
2020-09-14 23:36                   ` Jakub Kicinski
2020-09-14 23:47                     ` Shannon Nelson
     [not found]                       ` <7e44037cedb946d4a72055dd0898ab1d@intel.com>
2020-09-15  1:14                         ` Shannon Nelson
2020-09-15 15:50                           ` Jakub Kicinski
2020-09-15 16:50                             ` Keller, Jacob E
2020-09-15 17:20                               ` Shannon Nelson
2020-09-15 17:39                                 ` Jakub Kicinski
2020-09-15 18:44                                   ` Jacob Keller
2020-09-15 19:00                                     ` Jakub Kicinski
2020-09-15 22:11                                       ` Shannon Nelson
2020-09-15 22:27                                         ` Jakub Kicinski
2020-09-15  0:52                     ` Keller, Jacob E
2020-09-14 23:19                 ` Jacob Keller
2020-09-09 21:30           ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).