diff options
| author | Jason Gunthorpe <[email protected]> | 2020-05-07 06:33:48 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2020-05-12 20:02:25 +0000 |
| commit | ccfdbaa5cf4601b9b71601893029dcc9245c002b (patch) | |
| tree | a02958b6f45b40b1f7dc32b7688210a6c157c3d9 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | RDMA/uverbs: Do not discard the IB_EVENT_DEVICE_FATAL event (diff) | |
| download | kernel-ccfdbaa5cf4601b9b71601893029dcc9245c002b.tar.gz kernel-ccfdbaa5cf4601b9b71601893029dcc9245c002b.zip | |
RDMA/uverbs: Move IB_EVENT_DEVICE_FATAL to destroy_uobj
When multiple async FDs were allowed to exist the idea was for all
broadcast events to be delivered to all async FDs, however
IB_EVENT_DEVICE_FATAL was missed.
Instead of having ib_uverbs_free_hw_resources() special case the global
async_fd, have it cause the event during the uobject destruction. Every
async fd is now a uobject so simply generate the IB_EVENT_DEVICE_FATAL
while destroying the async fd uobject. This ensures every async FD gets a
copy of the event.
Fixes: d680e88e2013 ("RDMA/core: Add UVERBS_METHOD_ASYNC_EVENT_ALLOC")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Yishai Hadas <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
