aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorEran Ben Elisha <[email protected]>2020-03-19 19:43:13 +0000
committerSaeed Mahameed <[email protected]>2020-05-23 00:28:38 +0000
commitf7936ddd35d8b849daf0372770c7c9dbe7910fca (patch)
tree2d4d4858da7dcca9d47fef398364747526d39d3c /tools/perf/scripts/python/event_analyzing_sample.py
parentnet/mlx5: Fix a race when moving command interface to events mode (diff)
downloadkernel-f7936ddd35d8b849daf0372770c7c9dbe7910fca.tar.gz
kernel-f7936ddd35d8b849daf0372770c7c9dbe7910fca.zip
net/mlx5: Avoid processing commands before cmdif is ready
When driver is reloading during recovery flow, it can't get new commands till command interface is up again. Otherwise we may get to null pointer trying to access non initialized command structures. Add cmdif state to avoid processing commands while cmdif is not ready. Fixes: e126ba97dba9 ("mlx5: Add driver for Mellanox Connect-IB adapters") Signed-off-by: Eran Ben Elisha <[email protected]> Signed-off-by: Moshe Shemesh <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions