linux/drivers/nvme/host
Justin Tee 6c95c2e009 nvme-fabrics: add ENOKEY to no retry criteria for authentication failures
[ Upstream commit 13989207ee ]

With authentication, in addition to EKEYREJECTED there is also no point in
retrying reconnects when status is ENOKEY.  Thus, add -ENOKEY as another
criteria to determine when to stop retries.

Cc: Daniel Wagner <wagi@kernel.org>
Cc: Hannes Reinecke <hare@suse.de>
Closes: https://lore.kernel.org/linux-nvme/20250829-nvme-fc-sync-v3-0-d69c87e63aee@kernel.org/
Signed-off-by: Justin Tee <justintee8345@gmail.com>
Tested-by: Daniel Wagner <wagi@kernel.org>
Reviewed-by: Daniel Wagner <wagi@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2026-01-02 12:57:03 +01:00
..
apple.c nvme: apple: Add Apple A11 support 2025-09-06 10:04:32 +02:00
auth.c nvme-auth: use kvfree() for memory allocated with kvcalloc() 2025-12-18 14:03:36 +01:00
constants.c nvme: fix typo in status code constant for self-test in progress 2025-07-17 13:38:07 +02:00
core.c nvme: fix admin request_queue lifetime 2025-11-05 12:50:46 -08:00
fabrics.c nvme-fabrics: add ENOKEY to no retry criteria for authentication failures 2026-01-02 12:57:03 +01:00
fabrics.h nvme: spelling fixes 2025-06-04 10:23:28 +02:00
fault_inject.c fault-inject: improve build for CONFIG_FAULT_INJECTION=n 2024-09-01 20:43:33 -07:00
fc.c nvme-fc: don't hold rport lock when putting ctrl 2026-01-02 12:57:03 +01:00
fc.h nvme-fc: Update header and host for common definitions for LS handling 2020-05-09 16:18:33 -06:00
hwmon.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
ioctl.c for-6.18/block-20250929 2025-10-02 10:16:56 -07:00
Kconfig block-6.16-20250606 2025-06-06 13:12:50 -07:00
Makefile nvme: rework NVME_AUTH Kconfig selection 2023-10-12 08:04:49 -07:00
multipath.c nvme-multipath: fix lockdep WARN due to partition scan work 2025-11-17 08:08:00 -08:00
nvme.h block: switch ->getgeo() to struct gendisk 2025-08-13 02:59:29 -04:00
pci.c nvme-pci: use blk_map_iter for p2p metadata 2025-10-22 19:46:25 -07:00
pr.c nvme: fix command limits status code 2025-06-04 09:51:10 +02:00
rdma.c nvme: fix multiple spelling and grammar issues in host drivers 2025-07-17 13:38:06 +02:00
sysfs.c for-6.16/block-20250523 2025-05-26 11:39:36 -07:00
tcp.c nvme/tcp: handle tls partially sent records in write_space() 2025-10-16 11:32:04 -07:00
trace.c nvme: parse reservation commands's action and rtype to string 2024-11-13 08:51:24 -08:00
trace.h nvme: fix async event trace event 2023-04-13 08:59:04 +02:00
zns.c nvme: zns: Simplify nvme_zone_parse_entry() 2025-03-20 16:53:55 -07:00