]> git.baikalelectronics.ru Git - kernel.git/commit
devlink: allow driver to update progress of flash update
authorJiri Pirko <jiri@mellanox.com>
Tue, 4 Jun 2019 13:40:40 +0000 (15:40 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Jun 2019 21:21:40 +0000 (14:21 -0700)
commit00d80d1b97dbd188bf788d0b42ada68ac69620bd
tree668fd54779aa2452e5cd96391a0f4225a62fa8c5
parent8e53b7611fa155140b6cd17c5a601325d140e4f9
devlink: allow driver to update progress of flash update

Introduce a function to be called from drivers during flash. It sends
notification to userspace about flash update progress.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/devlink.h
include/uapi/linux/devlink.h
net/core/devlink.c