IB/mlx5: Set uid upon PD allocation
authorYishai Hadas <yishaih@mellanox.com>
Thu, 20 Sep 2018 18:39:29 +0000 (21:39 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 25 Sep 2018 20:06:04 +0000 (14:06 -0600)
commit58895f0d18df09a6be82e6e4141e4609dd12f84f
tree9a15c98a4d261c9a12bb331bc3b14f1ca1df489a
parent5deba86ee2cddaebaa1d37ad71efcda26b626592
IB/mlx5: Set uid upon PD allocation

Set uid as part of PD allocation, this uid is used for other mlx5
objects upon calling the firmware.

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/main.c