summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
diff options
context:
space:
mode:
authorYuval Mintz <yuvalm@mellanox.com>2018-01-10 11:42:43 +0100
committerDavid S. Miller <davem@davemloft.net>2018-01-10 15:58:22 -0500
commit8e033a93b37f37aa9fca71a370a895155320af60 (patch)
treed61820cb5acab1ad118c414151d00022824b4a46 /drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
parentfc2336505fb49a8b932a0a67a9745c408b79992c (diff)
downloadlinux-8e033a93b37f37aa9fca71a370a895155320af60.tar.bz2
mlxsw: pci: Wait after reset before accessing HW
After performing reset driver polls on HW indication until learning that the reset is done, but immediately after reset the device becomes unresponsive which might lead to completion timeout on the first read. Wait for 100ms before starting the polling. Fixes: 233fa44bd67a ("mlxsw: pci: Implement reset done check") Signed-off-by: Yuval Mintz <yuvalm@mellanox.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c')
0 files changed, 0 insertions, 0 deletions