mlxsw: Implement flash update status notifications
authorJiri Pirko <jiri@mellanox.com>
Tue, 4 Jun 2019 13:40:42 +0000 (15:40 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Jun 2019 21:21:40 +0000 (14:21 -0700)
commit8f1956f1132eb27d627c7f4d4d7508433287c590
tree1e4e207d0bc7186d7d2a42e2c88f7e37be4fbddb
parent5853c41823ddbf1910fc1e43e46830ec6f4958c0
mlxsw: Implement flash update status notifications

Implement mlxfw status_notify op by passing notification down to
devlink. Also notify about flash update begin and end.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c