summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorMoshe Shemesh <moshe@mellanox.com>2023-03-14 08:42:21 +0300
committerJakub Kicinski <kuba@kernel.org>2023-03-16 08:09:13 +0300
commit8ff38e730c3f5ee717f25365ef8aa4739562d567 (patch)
treeeab0fd3c74fc0f276da2f5bfd57f536cb1108b4e /scripts/gdb/linux/modules.py
parentc05d145abea138dbba213ce775820af73e893d92 (diff)
downloadlinux-8ff38e730c3f5ee717f25365ef8aa4739562d567.tar.xz
net/mlx5: Stop waiting for PCI up if teardown was triggered
If driver teardown is called while PCI is turned off, there is a race between health recovery and teardown. If health recovery already started it will wait 60 sec trying to see if PCI gets back and it can recover, but actually there is no need to wait anymore once teardown was called. Use the MLX5_BREAK_FW_WAIT flag which is set on driver teardown to break waiting for PCI up. Signed-off-by: Moshe Shemesh <moshe@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com> Link: https://lore.kernel.org/r/20230314054234.267365-3-saeed@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions