netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/3] devlink: add the ability to update device flash
@ 2019-02-11  6:59 Jakub Kicinski
  2019-02-11  6:59 ` [RFC 1/3] devlink: add flash update command Jakub Kicinski
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Jakub Kicinski @ 2019-02-11  6:59 UTC (permalink / raw)
  To: davem, jiri; +Cc: netdev, oss-drivers, mkubecek, andrew, Jakub Kicinski

Hi!

This series is the second step to allow trouble shooting and recovering
devices in bad state without the use of netdevs as handles.  We can
already query FW versions over devlink, now we add the ability to update
the FW.  This will allow drivers to implement some from of "limp-mode"
where the device can't really be used for networking and hence has no
netdev, but we can interrogate it over devlink and fix the broken FW.

Small but nice advantage of devlink is that it only holds the devlink
instance lock during flashing, unlike ethtool which holds rtnl_lock().

Sending as RFC due to impending conflicts.

Jakub Kicinski (3):
  devlink: add flash update command
  ethtool: add compat for flash update
  nfp: devlink: allow flashing the device via devlink

 .../net/ethernet/netronome/nfp/nfp_devlink.c  | 47 +++++++++++++-
 include/net/devlink.h                         | 11 ++++
 include/uapi/linux/devlink.h                  |  6 ++
 net/core/devlink.c                            | 61 +++++++++++++++++++
 net/core/ethtool.c                            | 12 +++-
 5 files changed, 133 insertions(+), 4 deletions(-)

-- 
2.19.2


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

end of thread, other threads:[~2019-02-19 23:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-11  6:59 [RFC 0/3] devlink: add the ability to update device flash Jakub Kicinski
2019-02-11  6:59 ` [RFC 1/3] devlink: add flash update command Jakub Kicinski
2019-02-11 16:45   ` Jiri Pirko
2019-02-11 19:25     ` [oss-drivers] " Jakub Kicinski
2019-02-12  7:26       ` Jiri Pirko
2019-02-11  6:59 ` [RFC 2/3] ethtool: add compat for flash update Jakub Kicinski
2019-02-11  6:59 ` [RFC 3/3] nfp: devlink: allow flashing the device via devlink Jakub Kicinski
2019-02-11  6:59 ` [RFC iproute2] devlink: add support for updating device flash Jakub Kicinski
2019-02-19 23:28   ` Stephen Hemminger

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).