Thread (30 messages) read the whole thread 30 messages, 8 authors, 2023-07-27

Re: [RFC PATCH 00/10] Device Memory TCP

From: Jakub Kicinski <kuba@kernel.org>
Date: 2023-07-18 17:32:41
Also in: dri-devel, linux-arch, linux-kselftest, linux-media, lkml

On Sun, 16 Jul 2023 19:41:28 -0700 Andy Lutomirski wrote:
I'm wondering if a more capable if somewhat higher latency model could 
work where the NIC stores received packets in its own device memory. 
Then userspace (or the kernel or a driver or whatever) could initiate a 
separate DMA from the NIC to the final target *after* reading the 
headers.  Can the hardware support this?
No, no, that's impossible. SW response times are in 100s of usec (at
best) which at 200Gbps already means megabytes of data _per-queue_. 
Way more than the amount of buffer NICs will have.

The Rx application can bind to a IP addr + Port and then install
a one-sided-3-tuple (dst IP+proto+port) rule in the HW. Worst case
a full 5-tuple per flow.

Most NICs support OvS offloads with 100s of thousands of flows.
The steering should be bread and butter.

It does require splitting flows into separate data and control channels,
but it's the right trade-off - complexity should be on the SW side.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help