IB/mlx5: Manage device uid for DEVX white list commands
authorYishai Hadas <yishaih@mellanox.com>
Thu, 20 Sep 2018 18:45:19 +0000 (21:45 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 27 Sep 2018 19:01:33 +0000 (13:01 -0600)
commit76dc5a8406bffabf3f466e331a3e9515ddf93954
tree60784970a8ff2d047edf54ab553f1cd2db71ad77
parent7f72052cb48efb5637ed99d2f45cb33a0bf60719
IB/mlx5: Manage device uid for DEVX white list commands

Manage device uid for DEVX white list commands.  The created device uid
will be used on white list commands if the user didn't supply its own uid.

This will enable the firmware to filter out non privileged functionality
as of the recognition of the uid.

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/devx.c
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/mlx5_ib.h