diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2020-01-08 19:21:55 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2020-01-13 16:17:19 -0400 |
commit | 93887e66ff3c1a62c36a7f0eca9445063399b39d (patch) | |
tree | 9ae84de3f3ff1ba9c7dc2f6e508bca248ffb1772 /Documentation/usb | |
parent | f7c8416ccea52b41e29227b3a5066540f51ee471 (diff) |
RDMA/mlx5: Simplify devx async commands
With the new FD structure the async commands do not need to hold any
references while running. The existing mlx5_cmd_exec_cb() and
mlx5_cmd_cleanup_async_ctx() provide enough synchronization to ensure
that all outstanding commands are completed before the uobject can be
destructed.
Remove the now confusing get_file() and the type erasure of the
devx_async_cmd_event_file.
Link: https://lore.kernel.org/r/1578504126-9400-4-git-send-email-yishaih@mellanox.com
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'Documentation/usb')
0 files changed, 0 insertions, 0 deletions