[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJ3xEMhSxrjLfDvfzVRCLb27K4KmRh-KHQaKxvDF_6VDbNN8Jw@mail.gmail.com>
Date: Thu, 4 Feb 2021 20:36:31 +0200
From: Or Gerlitz <gerlitz.or@...il.com>
To: Sagi Grimberg <sagi@...mberg.me>
Cc: Boris Pismenny <borisp@...lanox.com>,
David Ahern <dsahern@...il.com>,
Jakub Kicinski <kuba@...nel.org>,
David Miller <davem@...emloft.net>,
Saeed Mahameed <saeedm@...dia.com>,
Christoph Hellwig <hch@....de>, axboe@...com,
Keith Busch <kbusch@...nel.org>,
Alexander Viro <viro@...iv.linux.org.uk>,
Eric Dumazet <edumazet@...gle.com>, smalin@...vell.com,
Yoray Zack <yorayz@...lanox.com>, yorayz@...dia.com,
boris.pismenny@...il.com, Ben Ben-Ishay <benishay@...lanox.com>,
benishay@...dia.com, linux-nvme@...ts.infradead.org,
Linux Netdev List <netdev@...r.kernel.org>,
Or Gerlitz <ogerlitz@...lanox.com>,
Or Gerlitz <ogerlitz@...dia.com>
Subject: Re: [PATCH v3 net-next 08/21] nvme-tcp : Recalculate crc in the end
of the capsule
On Wed, Feb 3, 2021 at 11:12 AM Sagi Grimberg <sagi@...mberg.me> wrote:
> > @@ -1841,8 +1913,10 @@ static void __nvme_tcp_stop_queue(struct nvme_tcp_queue *queue)
> > nvme_tcp_restore_sock_calls(queue);
> > cancel_work_sync(&queue->io_work);
> >
> > - if (test_bit(NVME_TCP_Q_OFF_DDP, &queue->flags))
> > + if (test_bit(NVME_TCP_Q_OFF_DDP, &queue->flags) ||
> > + test_bit(NVME_TCP_Q_OFF_DDGST_RX, &queue->flags))
> > nvme_tcp_unoffload_socket(queue);
> > +
>
> extra newline
will remove
> > }
> >
> > static void nvme_tcp_stop_queue(struct nvme_ctrl *nctrl, int qid)
> > @@ -1970,8 +2044,6 @@ static int nvme_tcp_alloc_admin_queue(struct nvme_ctrl *ctrl)
> > {
> > int ret;
> >
> > - to_tcp_ctrl(ctrl)->offloading_netdev = NULL;
> > -
>
> Unclear what is the intent here.
yep, unclear indeed.. will look and probably remove
as for your other comment on this patch, will get back to you later on
> > ret = nvme_tcp_alloc_queue(ctrl, 0, NVME_AQ_DEPTH);
> > if (ret)
> > return ret;
Powered by blists - more mailing lists