]> git.infradead.org Git - users/hch/misc.git/commit
nvme-sysfs: add 'tls_configured_key' sysfs attribute
authorHannes Reinecke <hare@kernel.org>
Mon, 22 Jul 2024 12:02:23 +0000 (14:02 +0200)
committerKeith Busch <kbusch@kernel.org>
Thu, 22 Aug 2024 20:25:11 +0000 (13:25 -0700)
commitf5eb7397471bbc24d63011f8cb2d422ac606085d
treea2f720001f2cf2df96e463cd72bee9ae2a087315
parent1e48b34c9bc79aa36700fccbfdf87e61e4431d2b
nvme-sysfs: add 'tls_configured_key' sysfs attribute

There is a difference between the negotiated TLS key (which is
always present for a TLS encrypted connection) and the configured
TLS key (which is specified with the --tls_key command line option).
To differentate between these two add a new sysfs attribute
'tls_configured_key' to hold the specified on the command line.

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/sysfs.c