]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'net-expose-flash-update-status-to-user'
authorDavid S. Miller <davem@davemloft.net>
Tue, 4 Jun 2019 21:21:41 +0000 (14:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Jun 2019 21:21:41 +0000 (14:21 -0700)
commit24ce6745c3f9cd98b943526134c828d7c8516b7b
treec1a7b55e492892375bc5373dc5dbb11c8e165f96
parent636d75d0a5334584365ba79d93d44137a8e08aa0
parentf684155c3e617a65bdbaab8d6e8997d161a25266
Merge branch 'net-expose-flash-update-status-to-user'

Jiri Pirko says:

====================
expose flash update status to user

When user is flashing device using devlink, he currenly does not see any
information about what is going on, percentages, etc.
Drivers, for example mlxsw and mlx5, have notion about the progress
and what is happening. This patchset exposes this progress
information to userspace.

Example output for existing flash command:
$ devlink dev flash pci/0000:01:00.0 file firmware.bin
Preparing to flash
Flashing 100%
Flashing done

See this console recording which shows flashing FW on a Mellanox
Spectrum device:
https://asciinema.org/a/247926

Please see individual patches for changelog.
v2->v3 only adds tags and the last selftest patch
====================

Signed-off-by: David S. Miller <davem@davemloft.net>