aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorParav Pandit <[email protected]>2020-05-14 05:12:56 -0500
committerSaeed Mahameed <[email protected]>2020-06-11 15:38:00 -0700
commit60904cd349abc98cb888fc28d1ca55a8e2cf87b3 (patch)
treef8c1cabb75af53f51f7cb0b82a392879e1608d5e /tools/perf/scripts/python/stackcollapse.py
parent5f1572e6178e47c3ace55ced187d93240952c9cd (diff)
net/mlx5: Disable reload while removing the device
While unregistration is in progress, user might be reloading the interface. This can race with unregistration in below flow which uses the resources which are getting disabled by reload flow. Hence, disable the devlink reloading first when removing the device. CPU0 CPU1 ---- ---- local_pci_remove() devlink_mutex remove_one() devlink_nl_cmd_reload() mlx5_unregister_device() devlink_reload() ops->reload_down() mlx5_unload_one() Fixes: 4383cfcc65e7 ("net/mlx5: Add devlink reload") Signed-off-by: Parav Pandit <[email protected]> Reviewed-by: Moshe Shemesh <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions