All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] nvme: restrict authentication to the admin queue
@ 2024-07-17 11:03 Hannes Reinecke
  2024-07-17 11:03 ` [PATCH 1/2] nvme: Do not re-authenticate queues with no prior authentication Hannes Reinecke
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Hannes Reinecke @ 2024-07-17 11:03 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: Keith Busch, Sagi Grimberg, linux-nvme, Hannes Reinecke

Hi all,

it might be an idea to restrict authentication to the admin queue only,
as authentication on I/O queues brings only so much additional benefit,
and the entire authentication is noticeably faster.
This patchsets enables the host to handle this situation, and adds a
new configfs entry 'dhchap_admin_only' for the target to enable this
behaviour.
Patches are on top of my 'secure-concat.v5' branch on kernel.org.

As usual, comments and reviews are welcome.

Hannes Reinecke (2):
  nvme: Do not re-authenticate queues with no prior authentication
  nvmet: Implement 'admin_only' authentication

 drivers/nvme/host/auth.c               | 17 ++++++++++++++++-
 drivers/nvme/target/auth.c             | 11 +++++++----
 drivers/nvme/target/configfs.c         | 24 ++++++++++++++++++++++++
 drivers/nvme/target/fabrics-cmd-auth.c |  7 +++++++
 drivers/nvme/target/fabrics-cmd.c      |  7 +++++--
 drivers/nvme/target/nvmet.h            |  2 ++
 6 files changed, 61 insertions(+), 7 deletions(-)

-- 
2.35.3



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

end of thread, other threads:[~2024-08-20 14:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-17 11:03 [PATCH 0/2] nvme: restrict authentication to the admin queue Hannes Reinecke
2024-07-17 11:03 ` [PATCH 1/2] nvme: Do not re-authenticate queues with no prior authentication Hannes Reinecke
2024-07-17 11:03 ` [PATCH 2/2] nvmet: Implement 'admin_only' authentication Hannes Reinecke
2024-07-17 22:40   ` Sagi Grimberg
2024-07-18  7:38     ` Hannes Reinecke
2024-07-21 11:32       ` Sagi Grimberg
2024-08-20 14:06 ` [PATCH 0/2] nvme: restrict authentication to the admin queue Hannes Reinecke

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.