[PATCH v15 06/20] nvme-tcp: Add DDP data-path

Sagi Grimberg sagi at grimberg.me
Wed Sep 13 03:51:15 PDT 2023


> @@ -1235,6 +1330,9 @@ static int nvme_tcp_try_send_cmd_pdu(struct nvme_tcp_request *req)
>   	else
>   		msg.msg_flags |= MSG_EOR;
>   
> +	if (test_bit(NVME_TCP_Q_OFF_DDP, &queue->flags))
> +		nvme_tcp_setup_ddp(queue, blk_mq_rq_from_pdu(req));

Didn't we agree that setup_ddp should move to setup time and
not send time?



More information about the Linux-nvme mailing list