]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit - drivers/infiniband/hw/mlx5/qp.c
IB/mlx5: Set uid as part of RQ commands
authorYishai Hadas <yishaih@mellanox.com>
Thu, 20 Sep 2018 18:39:21 +0000 (21:39 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 25 Sep 2018 20:06:04 +0000 (14:06 -0600)
commit34d57585f91edf8eb3b7e966684e49832d61ecca
treeb37360e62b5238236bda069ce7711e1fbda61251
parent991d219829aaf4eaeea6fdb84021fe05f0fcdae3
IB/mlx5: Set uid as part of RQ commands

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

The uid for the destroy command is set by mlx5_core.

This will enable using an RQ 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