RDMA/mlx5: Add query e-switch vport context to devx white list
authorMaor Gottlieb <maorg@mellanox.com>
Thu, 28 Mar 2019 13:46:24 +0000 (15:46 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 22 Apr 2019 18:24:05 +0000 (15:24 -0300)
commit56e5acd405fadac9b1eeacaac084c945b3f23b37
tree38f974963638cd8a7681db3aeade7be483b69269
parent52438be4411271c5e93da54da340c3566b0e4bef
RDMA/mlx5: Add query e-switch vport context to devx white list

Add MLX5_OP_QUERY_ESW_VPORT_CONTEXT to devx white list. It will be allowed
only if HCA_CAP.eswitch_manager==1.

Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/devx.c