On Tue, May 28, 2019 at 01:48:44PM +0200, Jiri Pirko wrote: > From: Jiri Pirko <j...@mellanox.com> > > Add new op status_notify which is called to update the user about > flashing status. > > Signed-off-by: Jiri Pirko <j...@mellanox.com>
As I wrote during internal review, I think it is weird to have drivers implement this status_notify() operation given mlxfw has all the required information. The only thing drivers are doing is resolving the devlink instance and calling into devlink. Would have been cleaner to pass the devlink instance to mlxfw and have it call into devlink for status updates directly. But I don't see anything incorrect, so: Reviewed-by: Ido Schimmel <ido...@mellanox.com>