mlxsw: spectrum: Reset FW after flash
Recent FW fixes a bug and allows to load newly flashed FW image after reset. So make sure the reset happens after flash. Indicate the need down to PCI layer by -EAGAIN. Signed-off-by:Jiri Pirko <jiri@mellanox.com> Signed-off-by:
Ido Schimmel <idosch@mellanox.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/ethernet/mellanox/mlxsw/core.h 1 addition, 0 deletionsdrivers/net/ethernet/mellanox/mlxsw/core.h
- drivers/net/ethernet/mellanox/mlxsw/pci.c 10 additions, 1 deletiondrivers/net/ethernet/mellanox/mlxsw/pci.c
- drivers/net/ethernet/mellanox/mlxsw/spectrum.c 13 additions, 4 deletionsdrivers/net/ethernet/mellanox/mlxsw/spectrum.c
Loading
Please register or sign in to comment