public inbox for linux-nvme@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 0/3] nvme: Support PSK reauthentication (REPLACETLSPSK)
@ 2025-10-30  3:51 alistair23
  2025-10-30  3:51 ` [PATCH 1/3] nvmet-tcp: Don't error if TLS is enabed on a reset alistair23
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: alistair23 @ 2025-10-30  3:51 UTC (permalink / raw)
  To: kbusch, axboe, hch, sagi, hare, kch, linux-nvme
  Cc: linux-kernel, alistair23, Alistair Francis

From: Alistair Francis <alistair.francis@wdc.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



^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2025-11-13  4:02 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-30  3:51 [PATCH 0/3] nvme: Support PSK reauthentication (REPLACETLSPSK) alistair23
2025-10-30  3:51 ` [PATCH 1/3] nvmet-tcp: Don't error if TLS is enabed on a reset alistair23
2025-10-31 10:03   ` Christoph Hellwig
2025-10-30  3:51 ` [PATCH 2/3] nvmet-tcp: Don't free SQ on authentication success alistair23
2025-10-31 14:03   ` Christoph Hellwig
2025-11-03  1:40     ` Alistair Francis
2025-10-30  3:51 ` [PATCH 3/3] nvme: Allow reauth from sysfs alistair23
2025-10-31 14:05   ` Christoph Hellwig
2025-11-03  1:47     ` Alistair Francis
2025-11-03  2:05       ` Chaitanya Kulkarni
2025-11-03  2:24         ` Alistair Francis
2025-11-03  2:32           ` Chaitanya Kulkarni
2025-11-03 11:58       ` Christoph Hellwig
2025-11-03 12:08   ` Hannes Reinecke
2025-11-11 23:32     ` Alistair Francis
2025-11-12  7:02       ` Christoph Hellwig
2025-11-12  7:21         ` Hannes Reinecke
2025-11-12  8:32           ` Christoph Hellwig
2025-11-13  4:01           ` Alistair Francis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox