[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200904000534.58052-1-snelson@pensando.io>
Date: Thu, 3 Sep 2020 17:05:32 -0700
From: Shannon Nelson <snelson@...sando.io>
To: netdev@...r.kernel.org, davem@...emloft.net
Cc: Shannon Nelson <snelson@...sando.io>
Subject: [PATCH v2 net-next 0/2] ionic: add devlink dev flash support
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
don't yet have the API to fully support that.
v2: change "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 | 195 ++++++++++++++++++
.../net/ethernet/pensando/ionic/ionic_if.h | 33 ++-
.../net/ethernet/pensando/ionic/ionic_main.c | 17 +-
6 files changed, 251 insertions(+), 13 deletions(-)
create mode 100644 drivers/net/ethernet/pensando/ionic/ionic_fw.c
--
2.17.1
Powered by blists - more mailing lists