[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251030035114.16840-1-alistair.francis@wdc.com>
Date: Thu, 30 Oct 2025 13:51:11 +1000
From: alistair23@...il.com
To: kbusch@...nel.org,
	axboe@...nel.dk,
	hch@....de,
	sagi@...mberg.me,
	hare@...e.de,
	kch@...dia.com,
	linux-nvme@...ts.infradead.org
Cc: linux-kernel@...r.kernel.org,
	alistair23@...il.com,
	Alistair Francis <alistair.francis@....com>
Subject: [PATCH 0/3] nvme: Support PSK reauthentication (REPLACETLSPSK)
From: Alistair Francis <alistair.francis@....com>
Allow userspace on the host to trigger a reauth (REPLACETLSPSK) from
sysfs. This will replace the PSK for the admin queue when using
a secure concat connection.
This can be done by writing the queue ID to the sysfs file, for example
something like this
```shell
echo 0 > /sys/devices/virtual/nvme-fabrics/ctl/nvme0/replace_psk
```
`replace_psk` will only appear for concat connections as that is all that
is supported.
This series also include some fixes for the NVMe target code to ensure
this works against a Linux NVMe target.
Alistair Francis (3):
  nvmet-tcp: Don't error if TLS is enabed on a reset
  nvmet-tcp: Don't free SQ on authentication success
  nvme: Allow reauth from sysfs
 drivers/nvme/host/sysfs.c              | 31 ++++++++++++++++++++++++++
 drivers/nvme/target/auth.c             |  4 ++--
 drivers/nvme/target/core.c             |  2 +-
 drivers/nvme/target/fabrics-cmd-auth.c |  6 ++---
 drivers/nvme/target/nvmet.h            |  4 ++--
 5 files changed, 38 insertions(+), 9 deletions(-)
-- 
2.51.0
Powered by blists - more mailing lists
 
