net/mlx5: Make MLX5_EN_TLS non-prompt
[sfrench/cifs-2.6.git] / drivers / net / ethernet / mellanox / mlx5 / core / Kconfig
index 76b39659c39b240178a1b3495496c10101ab343d..7d7148c9b74408f5acced0cea96213c541c68986 100644 (file)
@@ -150,7 +150,10 @@ config MLX5_FPGA_TLS
        bool "Mellanox Technologies TLS Innova support"
        depends on TLS_DEVICE
        depends on TLS=y || MLX5_CORE=m
        bool "Mellanox Technologies TLS Innova support"
        depends on TLS_DEVICE
        depends on TLS=y || MLX5_CORE=m
+       depends on MLX5_CORE_EN
        depends on MLX5_FPGA
        depends on MLX5_FPGA
+       depends on XPS
+       select MLX5_EN_TLS
        default n
        help
        Build TLS support for the Innova family of network cards by Mellanox
        default n
        help
        Build TLS support for the Innova family of network cards by Mellanox
@@ -161,21 +164,19 @@ config MLX5_FPGA_TLS
 
 config MLX5_TLS
        bool "Mellanox Technologies TLS Connect-X support"
 
 config MLX5_TLS
        bool "Mellanox Technologies TLS Connect-X support"
-       depends on MLX5_CORE_EN
        depends on TLS_DEVICE
        depends on TLS=y || MLX5_CORE=m
        depends on TLS_DEVICE
        depends on TLS=y || MLX5_CORE=m
+       depends on MLX5_CORE_EN
+       depends on XPS
        select MLX5_ACCEL
        select MLX5_ACCEL
+       select MLX5_EN_TLS
        default n
        help
        Build TLS support for the Connect-X family of network cards by Mellanox
        Technologies.
 
 config MLX5_EN_TLS
        default n
        help
        Build TLS support for the Connect-X family of network cards by Mellanox
        Technologies.
 
 config MLX5_EN_TLS
-       bool "TLS cryptography-offload accelaration"
-       depends on MLX5_CORE_EN
-       depends on XPS
-       depends on MLX5_FPGA_TLS || MLX5_TLS
-       default y
+       bool
        help
        Build support for TLS cryptography-offload accelaration in the NIC.
        Note: Support for hardware with this capability needs to be selected
        help
        Build support for TLS cryptography-offload accelaration in the NIC.
        Note: Support for hardware with this capability needs to be selected