Re: [PATCH v2 1/2] nvme-tcp: refactor I/O queue setup path

From: Randy Jennings

Date: Mon Aug 24 2026 - 19:36:28 EST


On Mon, Aug 24, 2026 at 3:57 PM Surabhi Gogte <sgogte@xxxxxxxxxxxxxxx> wrote:
>
> Split the I/O queue setup helpers apart so that the individual steps can
> be called directly from nvme_tcp_configure_io_queues():
>
> - Queue count negotiation moves out of nvme_tcp_alloc_io_queues() into a
> new nvme_tcp_io_queue_count(), leaving the allocator with just the
> per-queue allocation loop.
> - TLS PSK validation moves out of __nvme_tcp_alloc_io_queues() into a
> new nvme_tcp_tls_check_psk().
> - nvme_tcp_configure_io_queues() now calls the three steps directly in
> the same order as before.
>
> Signed-off-by: Surabhi Gogte <sgogte@xxxxxxxxxxxxxxx>
Reviewed-by: Randy Jennings <randyj@xxxxxxxxxxxxxxx>