Re: [PATCH net-next RFC v1 02/10] net: Introduce direct data placement tcp offload

2020-10-23 Thread Boris Pismenny
On 09/10/2020 0:47, Sagi Grimberg wrote: >> + * tcp_ddp.h >> + * Author: Boris Pismenny >> + * Copyright (C) 2020 Mellanox Technologies. >> + */ >> +#ifndef _TCP_DDP_H >> +#define _TCP_DDP_H >> + >> +#include > Why is blkdev.h needed? That's a lefotover from a previous iteration over this c

Re: [PATCH net-next RFC v1 02/10] net: Introduce direct data placement tcp offload

2020-10-08 Thread Sagi Grimberg
+ * tcp_ddp.h + * Author: Boris Pismenny + * Copyright (C) 2020 Mellanox Technologies. + */ +#ifndef _TCP_DDP_H +#define _TCP_DDP_H + +#include Why is blkdev.h needed? +#include +#include +#include + +/* limits returned by the offload driver, zero means don't care */ +struct tc

[PATCH net-next RFC v1 02/10] net: Introduce direct data placement tcp offload

2020-09-30 Thread Boris Pismenny
This commit introduces direct data placement offload for TCP. This capability is accompanied by new net_device operations that configure hardware contexts. There is a context per socket, and a context per DDP opreation. Additionally, a resynchronization routine is used to assist hardware handle TCP