IB/mlx5: Set uid as part of RQT commands
authorYishai Hadas <yishaih@mellanox.com>
Thu, 20 Sep 2018 18:39:28 +0000 (21:39 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 25 Sep 2018 20:06:04 +0000 (14:06 -0600)
commit5deba86ee2cddaebaa1d37ad71efcda26b626592
treeea82632bb51dd6ff01fa904dcadd765eb206e04f
parent1cd6dbd32f986fe05fef90249996f6ba394dfc78
IB/mlx5: Set uid as part of RQT commands

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

That will enable using an RQT 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/cmd.c
drivers/infiniband/hw/mlx5/cmd.h
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/infiniband/hw/mlx5/qp.c