diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2018-11-28 20:53:39 +0200 |
---|---|---|
committer | Leon Romanovsky <leonro@mellanox.com> | 2018-12-04 09:23:53 +0200 |
commit | 81773ce5f07fd4c3acd4bb7e918ce03a4e652a5f (patch) | |
tree | 44ec13339d559c31a94706f6394a108d004742c6 /drivers/infiniband/hw/usnic | |
parent | c48d386b2bbb5b7546a409afb611346ba9520f73 (diff) |
RDMA/mlx5: Use stages for callback to setup and release DEVX
Reuse existing infrastructure to initialize and release DEVX uid.
The DevX interface is intended for user space access, so it is supposed
to be initialized before ib_register_device(). Also it isn't supported
in switchdev mode and don't need to initialize it in that mode.
Fixes: 76dc5a8406bf ("IB/mlx5: Manage device uid for DEVX white list commands")
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/usnic')
0 files changed, 0 insertions, 0 deletions