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

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

That will enable using a TIS 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/qp.c