aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorYevgeny Kliteynik <[email protected]>2022-07-25 01:11:19 +0300
committerSaeed Mahameed <[email protected]>2022-10-27 15:50:37 +0100
commit5fd08f653991faf3dcbdfe35f38e1b9274bdd341 (patch)
treea4d5da8dc680a427b6ef924d87093738468b05bb /tools/perf/scripts/python/event_analyzing_sample.py
parentc4193a1281ac6c209e1586b8ff07297b5a9cd8ad (diff)
net/mlx5: DR, Check device state when polling CQ
Calling fast teardown as part of the normal unloading caused a problem with SW steering - SW steering still needs to clear its tables, write to ICM and poll for completions. When teardown has been done, SW steering keeps polling the CQ forever, because nobody flushes it. This patch fixes the issue by checking the device state in cases where no CQE was returned. Signed-off-by: Yevgeny Kliteynik <[email protected]> Reviewed-by: Alex Vesker <[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