Files
kernel_arpi/include/uapi/linux
Jakub Kicinski 76726ccb7f devlink: add flash update command
Add devlink flash update command. Advanced NICs have firmware
stored in flash and often cryptographically secured. Updating
that flash is handled by management firmware. Ethtool has a
flash update command which served us well, however, it has two
shortcomings:
 - it takes rtnl_lock unnecessarily - really flash update has
   nothing to do with networking, so using a networking device
   as a handle is suboptimal, which leads us to the second one:
 - it requires a functioning netdev - in case device enters an
   error state and can't spawn a netdev (e.g. communication
   with the device fails) there is no netdev to use as a handle
   for flashing.

Devlink already has the ability to report the firmware versions,
now with the ability to update the firmware/flash we will be
able to recover devices in bad state.

To enable updates of sub-components of the FW allow passing
component name.  This name should correspond to one of the
versions reported in devlink info.

v1: - replace target id with component name (Jiri).

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-02-17 15:27:38 -08:00
..
2018-07-23 19:18:10 +01:00
2019-01-07 08:45:47 -08:00
2019-01-24 11:11:42 -07:00
2019-02-17 15:27:38 -08:00
2019-02-14 11:51:51 -05:00
2018-11-17 20:33:32 -08:00
2018-12-20 19:13:07 +01:00
2018-06-18 15:11:53 +10:00
2018-10-15 15:43:07 +02:00
2018-09-13 10:46:24 +02:00
2018-09-05 22:27:11 -07:00
2018-11-30 17:16:38 -08:00
2018-07-07 17:41:38 +02:00
2018-08-03 10:03:57 -07:00
2018-12-19 09:40:13 +01:00
2018-10-17 13:56:58 -07:00
2018-12-16 12:15:25 -08:00
2018-12-01 12:38:32 +01:00
2018-05-31 00:13:56 +08:00
2019-02-14 11:51:51 -05:00
2019-02-14 11:51:51 -05:00
2019-02-01 15:00:55 -08:00
2018-09-03 13:29:38 +02:00