net/mlx5: SF, Add port add delete functionality
[sfrench/cifs-2.6.git] / drivers / net / ethernet / mellanox / mlx5 / core / Kconfig
index d6c48582e7a8f8aaf69207ee621bf56ff51d2d7b..ad45d20f9d44d31221829493dd2633a1d46797d7 100644 (file)
@@ -212,3 +212,13 @@ config MLX5_SF
        Build support for subfuction device in the NIC. A Mellanox subfunction
        device can support RDMA, netdevice and vdpa device.
        It is similar to a SRIOV VF but it doesn't require SRIOV support.
+
+config MLX5_SF_MANAGER
+       bool
+       depends on MLX5_SF && MLX5_ESWITCH
+       default y
+       help
+       Build support for subfuction port in the NIC. A Mellanox subfunction
+       port is managed through devlink.  A subfunction supports RDMA, netdevice
+       and vdpa device. It is similar to a SRIOV VF but it doesn't require
+       SRIOV support.