mlxsw: pci: Increase PCI SW reset timeout
authorNir Dotan <nird@mellanox.com>
Fri, 18 Jan 2019 15:57:56 +0000 (15:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Jan 2019 23:12:16 +0000 (15:12 -0800)
commitd2f372ba0914e5722ac28e15f2ed2db61bcf0e44
tree96a835c19c1160f3d0b58666df8f33225419371b
parentc9ebea04cb1b0a84d08de00f4800f726ca544ad2
mlxsw: pci: Increase PCI SW reset timeout

Spectrum-2 PHY layer introduces a calibration period which is a part of the
Spectrum-2 firmware boot process. Hence increase the SW timeout waiting for
the firmware to come out of boot. This does not increase system boot time
in cases where the firmware PHY calibration process is done quickly.

Fixes: c3ab435466d5 ("mlxsw: spectrum: Extend to support Spectrum-2 ASIC")
Signed-off-by: Nir Dotan <nird@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/pci_hw.h