OSDN Git Service

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

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

The uid for the destroy command is set by mlx5_core.

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