[PATCH] nvmet-tcp: reserve connect header digest and align PDUs

Keith Busch kbusch at kernel.org
Mon Nov 30 07:56:52 PST 2026


On Wed, 25 Nov 2026 08:04:20 -0800, Weiming Shi wrote:
> With CONFIG_NVME_TARGET and CONFIG_NVME_TARGET_TCP enabled and a listening
> TCP target port configured by an administrator via configfs,
> nvmet_tcp_alloc_queue() calls nvmet_tcp_alloc_cmd(queue, &queue->connect)
> on accept before any socket read. At that point queue->hdr_digest is
> false and nvmet_tcp_hdgst_len() returns 0, so the response, data, and
> R2T PDU buffers on queue->connect are allocated at 24 bytes each.
> 
> [...]

Thanks, applied to nvme-7.4.

[1/1] nvmet-tcp: reserve connect header digest and align PDUs
      commit: 04dcdfc5a636ae63f5674dc03703c2bf7b8b027d
--
Keith Busch <kbusch at kernel.org>




More information about the Linux-nvme mailing list