Home
last modified time | relevance | path

Searched hist:"81773 ce5f07fd4c3acd4bb7e918ce03a4e652a5f" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Dmlx5_ib.hdiff 81773ce5f07fd4c3acd4bb7e918ce03a4e652a5f Wed Nov 28 12:53:39 CST 2018 Leon Romanovsky <leonro@mellanox.com> 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>
H A Dmain.cdiff 81773ce5f07fd4c3acd4bb7e918ce03a4e652a5f Wed Nov 28 12:53:39 CST 2018 Leon Romanovsky <leonro@mellanox.com> 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>