]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Set uid as part of CQ creation
authorYishai Hadas <yishaih@mellanox.com>
Thu, 20 Sep 2018 18:39:30 +0000 (21:39 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 25 Sep 2018 20:06:04 +0000 (14:06 -0600)
commit9e3bef81c27bc362a0a4d572316e29c038bf575d
treebe4c1529638063273ec39327ba907ae5da69993c
parentdfcbd83f7b988e7922635508fb2336814c0d5f1a
IB/mlx5: Set uid as part of CQ creation

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

The uid for the destroy and the modify commands is set by mlx5_core.

This will enable using a CQ 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/cq.c