diff options
| author | Daniel Jurgens <[email protected]> | 2018-01-04 17:25:37 +0200 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2018-01-08 11:42:22 -0700 |
| commit | d69a24e036596877ce08c25ab8e63a202412fd9e (patch) | |
| tree | 2b716d324b8dec92a63b5d7139388d3af8cd0b9d /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 32f69e4be269739c3850cd20f1a3322e95c1145f (diff) | |
IB/mlx5: Move IB event processing onto a workqueue
Because mlx5_ib_event can be called from atomic context move event
handling onto a workqueue. A mutex lock is required to get the IB device
for slave ports, so move event processing onto a work queue. When an IB
event is received, check if the mlx5_core_dev is a slave port, if so
attempt to get the IB device it's affiliated with. If found process the
event for that device, otherwise return.
Signed-off-by: Daniel Jurgens <[email protected]>
Reviewed-by: Parav Pandit <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions