[PATCH 12/12] nvme: Unify Kconfig settings
Hannes Reinecke
hare at kernel.org
Fri Apr 25 02:49:27 PDT 2025
As authentication now requires the keyring to be present streamline the
Kconfig setting to always select the same symbols for both host and target.
Signed-off-by: Hannes Reinecke <hare at kernel.org>
---
drivers/nvme/host/Kconfig | 3 ++-
drivers/nvme/target/Kconfig | 2 ++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/nvme/host/Kconfig b/drivers/nvme/host/Kconfig
index e7fb34fdc28b..4873c22d89d1 100644
--- a/drivers/nvme/host/Kconfig
+++ b/drivers/nvme/host/Kconfig
@@ -100,8 +100,9 @@ config NVME_TCP
config NVME_TCP_TLS
bool "NVMe over Fabrics TCP TLS encryption support"
depends on NVME_TCP
+ select TLS
select NET_HANDSHAKE
- select KEYS
+ select NVME_KEYRING
help
Enables TLS encryption for NVMe TCP using the netlink handshake API.
diff --git a/drivers/nvme/target/Kconfig b/drivers/nvme/target/Kconfig
index 28b5229c48e2..14e2a484527c 100644
--- a/drivers/nvme/target/Kconfig
+++ b/drivers/nvme/target/Kconfig
@@ -96,7 +96,9 @@ config NVME_TARGET_TCP
config NVME_TARGET_TCP_TLS
bool "NVMe over Fabrics TCP target TLS encryption support"
depends on NVME_TARGET_TCP
+ select TLS
select NET_HANDSHAKE
+ select NVME_KEYRING
help
Enables TLS encryption for the NVMe TCP target using the netlink handshake API.
--
2.35.3
More information about the Linux-nvme
mailing list