]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit87b1760ab260e8e78c3f75ae0e777f2e7f94f1c1
treeb37360e62b5238236bda069ce7711e1fbda61251
parentbbeeda5cf0a3b274f79e56f698ea40c943745efc
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