net/mlx5: Fix required capability for manipulating MPFS
authorEli Cohen <eli@mellanox.com>
Wed, 13 Jun 2018 07:27:34 +0000 (10:27 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 26 Jun 2018 22:26:32 +0000 (15:26 -0700)
commitf811980444ec59ad62f9e041adbb576a821132c7
tree53ff6e4f87d9725c0e1a7c30f132dd3f358adef3
parenta8d70a054a718b63058b3d3ac58b6181815e4289
net/mlx5: Fix required capability for manipulating MPFS

Manipulating of the MPFS requires eswitch manager capabilities.

Fixes: eeb66cdb6826 ('net/mlx5: Separate between E-Switch and MPFS')
Signed-off-by: Eli Cohen <eli@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c