IB/mlx5: Enable DEVX white list commands
authorYishai Hadas <yishaih@mellanox.com>
Thu, 20 Sep 2018 18:45:20 +0000 (21:45 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 27 Sep 2018 19:01:33 +0000 (13:01 -0600)
commit7e1335a736969a8b5169629e6569779d42fcda2f
tree2048512d9bb34de0dbb599992c4fbb8a9aee09e8
parent76dc5a8406bffabf3f466e331a3e9515ddf93954
IB/mlx5: Enable DEVX white list commands

Enable DEVX white list commands without the need for CAP_NET_RAW.

DEVX uid must exist from the ucontext or the device so that the firmware
will mask unprivileged capabilities.

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