]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
nvme-tcp: enable TLS handshake upcall
authorHannes Reinecke <hare@suse.de>
Thu, 24 Aug 2023 14:39:15 +0000 (16:39 +0200)
committerKeith Busch <kbusch@kernel.org>
Wed, 11 Oct 2023 17:11:55 +0000 (10:11 -0700)
commitbe8e82caa685997b524dc7e4932853fd2fbe6199
tree257750d9a87d3fb1eb3166ded13c53cb6ba29ff3
parente40d4eb84089eae14a3396ba8b0db7b1f24ef2f8
nvme-tcp: enable TLS handshake upcall

Add a fabrics option 'tls' and start the TLS handshake upcall
with the default PSK. When TLS is started the PSK key serial
number is displayed in the sysfs attribute 'tls_key'

Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/Kconfig
drivers/nvme/host/core.c
drivers/nvme/host/fabrics.c
drivers/nvme/host/fabrics.h
drivers/nvme/host/nvme.h
drivers/nvme/host/sysfs.c
drivers/nvme/host/tcp.c