net/mlx5: Fix required capability for manipulating MPFS
authorEli Cohen <eli@mellanox.com>
Wed, 13 Jun 2018 07:27:34 +0000 (10:27 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 22 Jul 2018 12:28:45 +0000 (14:28 +0200)
commit46ff2bc7aeb1b3d2fc36b20ddda0411889165cf1
treeec9eb99a64af376aef3c76289e7a7439badb118d
parent8b7b5f76693c865fd85715e0c047719766eea2be
net/mlx5: Fix required capability for manipulating MPFS

[ Upstream commit f811980444ec59ad62f9e041adbb576a821132c7 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c