linux/drivers/nvme/host
Hannes Reinecke 50abcc179e nvme-tcp: strict pdu pacing to avoid send stalls on TLS
TLS requires a strict pdu pacing via MSG_EOR to signal the end
of a record and subsequent encryption. If we do not set MSG_EOR
at the end of a sequence the record won't be closed, encryption
doesn't start, and we end up with a send stall as the message
will never be passed on to the TCP layer.
So do not check for the queue status when TLS is enabled but
rather make the MSG_MORE setting dependent on the current
request only.

Signed-off-by: Hannes Reinecke <hare@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Keith Busch <kbusch@kernel.org>
History 2024-05-01 02:58:43 -07:00
..
apple.c nvme-apple: Convert to platform remove callback returning void 2024-03-08 06:55:47 -08:00
auth.c nvme: enable retries for authentication commands 2024-01-31 15:59:48 -08:00
constants.c nvme: remove redundant status mask 2024-01-31 16:06:12 -08:00
core.c nvme: cancel pending I/O if nvme controller is in terminal state 2024-05-01 02:58:42 -07:00
fabrics.c for-6.9/block-20240310 2024-03-11 11:43:44 -07:00
fabrics.h nvme: fix reconnection fail due to reserved tag allocation 2024-03-14 11:32:39 -07:00
fault_inject.c nvme: fix parameter check in nvme_fault_inject_init() 2023-07-12 08:48:33 -07:00
fc.c nvme-fc: rename free_ctrl callback to match name pattern 2024-04-04 08:47:56 -07: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 nvme: host: hwmon: constify pointers to hwmon_channel_info 2023-08-21 12:54:02 -07:00
ioctl.c nvme: use ns->head->pi_size instead of t10_pi_tuple structure size 2024-02-07 15:49:36 -08:00
Kconfig nvme: improve NVME_HOST_AUTH and NVME_TARGET_AUTH config descriptions 2023-12-04 08:39:03 -08:00
Makefile nvme: rework NVME_AUTH Kconfig selection 2023-10-12 08:04:49 -07:00
multipath.c nvme: find numa distance only if controller has valid numa id 2024-05-01 02:58:42 -07:00
nvme.h nvme: cancel pending I/O if nvme controller is in terminal state 2024-05-01 02:58:42 -07:00
pci.c nvme: cancel pending I/O if nvme controller is in terminal state 2024-05-01 02:58:42 -07:00
pr.c nvme: use nvme_disk_is_ns_head helper 2024-03-14 11:34:55 -07:00
rdma.c nvme-rdma: clamp queue size according to ctrl cap 2024-03-02 15:18:08 -08:00
sysfs.c nvme updates for Linux 6.9 2024-03-21 13:23:07 -06:00
tcp.c nvme-tcp: strict pdu pacing to avoid send stalls on TLS 2024-05-01 02:58:43 -07:00
trace.c nvme: parse format command's lbafu when tracing 2024-03-14 11:38:28 -07:00
trace.h nvme: fix async event trace event 2023-04-13 08:59:04 +02:00
zns.c nvme: split nvme_update_zone_info 2024-04-02 08:21:33 -07:00