]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1f9a9015e97cdd5b98846967df45286c2d40fa90
treeea82632bb51dd6ff01fa904dcadd765eb206e04f
parent7a53c94de950281b026a6bb8e26987866eeffe2a
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