]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - drivers/infiniband/hw/mlx5/qp.c
IB/mlx5: Set uid as part of DCT commands
authorYishai Hadas <yishaih@mellanox.com>
Thu, 20 Sep 2018 18:39:24 +0000 (21:39 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 25 Sep 2018 20:06:04 +0000 (14:06 -0600)
commita01a5860b209453b8c190fa304a63fada1bb9759
tree0e12afe7e3963197c10bbdfa14bc350407c68617
parent9f33ec03bcdaf4f98023e6bfc6020304c10bb35a
IB/mlx5: Set uid as part of DCT commands

Set uid as part of DCT create command so that the firmware can
manage the DCT object in a secured way.

The uid for the destroy and drain commands are set by mlx5_core.

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