IB/mlx5: Set uid as part of QP creation
authorYishai Hadas <yishaih@mellanox.com>
Thu, 20 Sep 2018 18:39:20 +0000 (21:39 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 25 Sep 2018 20:06:04 +0000 (14:06 -0600)
commit991d219829aaf4eaeea6fdb84021fe05f0fcdae3
tree851008d7e0be39ec9fd5746d683fe10580f81ab5
parenta1069c1c75d5be4d7fed354a33e5590de27ae0f3
IB/mlx5: Set uid as part of QP creation

Set uid as part of QP creation so that the firmware can manage the
QP object in a secured way.

The uid for the destroy and the modify commands is set by mlx5_core.

This will enable using a QP that was created by verbs application to
be used by the DEVX flow in case the uid is equal.

Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/qp.c