]> 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)
commitb8c4ab55e384f0474ac11b36111c346f84a862a0
treec1a7b55e492892375bc5373dc5dbb11c8e165f96
parent900c1c1af388af407523cc7a92e2b3f1b887a1d9
parentb0ab8161a525f50cea8155fd4d0d70b1c4e3e410
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>