Re: [PATCH v2 net-next 07/21] nvme-tcp: Add DDP data-path

2021-01-31 Thread Boris Pismenny
On 19/01/2021 6:18, David Ahern wrote: > On 1/14/21 8:10 AM, Boris Pismenny wrote: >> @@ -664,8 +753,15 @@ static int nvme_tcp_process_nvme_cqe(struct >> nvme_tcp_queue *queue, >> return -EINVAL; >> } >> >> -if (!nvme_try_complete_req(rq, cqe->status, cqe->result)) >> -

Re: [PATCH v2 net-next 07/21] nvme-tcp: Add DDP data-path

2021-01-18 Thread David Ahern
On 1/14/21 8:10 AM, Boris Pismenny wrote: > @@ -664,8 +753,15 @@ static int nvme_tcp_process_nvme_cqe(struct > nvme_tcp_queue *queue, > return -EINVAL; > } > > - if (!nvme_try_complete_req(rq, cqe->status, cqe->result)) > - nvme_complete_rq(rq); > + req =

[PATCH v2 net-next 07/21] nvme-tcp: Add DDP data-path

2021-01-14 Thread Boris Pismenny
Introduce the NVMe-TCP DDP data-path offload. Using this interface, the NIC hardware will scatter TCP payload directly to the BIO pages according to the command_id in the PDU. To maintain the correctness of the network stack, the driver is expected to construct SKBs that point to the BIO pages. Th