diff options
| author | Daniel Jurgens <danielj@mellanox.com> | 2018-01-04 17:25:37 +0200 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-01-08 11:42:22 -0700 |
| commit | d69a24e036596877ce08c25ab8e63a202412fd9e (patch) | |
| tree | 2b716d324b8dec92a63b5d7139388d3af8cd0b9d /tools/perf/scripts/python/netdev-times.py | |
| parent | {net, IB}/mlx5: Manage port association for multiport RoCE (diff) | |
| download | linux-d69a24e036596877ce08c25ab8e63a202412fd9e.tar.gz linux-d69a24e036596877ce08c25ab8e63a202412fd9e.zip | |
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 <danielj@mellanox.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
