OSDN Git Service

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

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

That will enable using a TIR 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