]> www.infradead.org Git - users/hch/misc.git/commit
nvme-tcp: request secure channel concatenation
authorHannes Reinecke <hare@kernel.org>
Mon, 24 Feb 2025 12:38:14 +0000 (13:38 +0100)
committerKeith Busch <kbusch@kernel.org>
Thu, 20 Mar 2025 23:53:54 +0000 (16:53 -0700)
commite88a7595b57f2a04f1be796419444b4a14a55d18
tree5baa1164b085eeab52d0a269afc7dd37ee507a5f
parent62eb89323cb08f1d6a3b41b84972ff4f373a1960
nvme-tcp: request secure channel concatenation

Add a fabrics option 'concat' to request secure channel concatenation as
specified the NVME Base Specification v2.1, section 8.3.4.3: Secure Channel
Concatenation.
When secure channel concatenation is enabled a 'generated PSK' is inserted
into the keyring such that it's available after reset.

Signed-off-by: Hannes Reinecke <hare@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/Kconfig
drivers/nvme/host/auth.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
include/linux/nvme.h