Re: [RFC PATCH v2 00/21] netgpu: networking between NIC and GPU/CPU.
From: Jonathan Lemon <hidden>
Date: 2020-07-28 20:43:43
On 28 Jul 2020, at 12:55, Stephen Hemminger wrote:
On Mon, 27 Jul 2020 15:44:23 -0700 Jonathan Lemon [off-list ref] wrote:quoted
Current limitations: - mlx5 only, header splitting is at a fixed offset. - currently only TCP protocol delivery is performed. - TX completion notification is planned, but not in this patchset. - not compatible with xsk (re-uses same datastructures) - not compatible with bpf payload inspectionThis a good summary of why TCP Offload is not a mainstream solution. Look back in archives and you will find lots of presentations about why TOE sucks.
I.. agree with this? But I'm failing to see what TCP offload (or any HW offload) has to do with the change. I'm trying to do the opposite of HW offload here - keeping the protocol in the kernel. Although obviously what I'm doing is not suitable for all use cases.
You also forgot no VRF, no namespaes, no firewall, no containers, no encapsulation. It acts as proof that if you cut out everything you can build something faster. But not suitable for upstream or production.
-- Jonathan