On Wed, 6 Jan 2021 13:32:05 +0100
Marek Behún <ka...@kernel.org> wrote:

> On Wed, 6 Jan 2021 12:56:08 +0100
> Marek Behún <ka...@kernel.org> wrote:
> 
> > I also to write a simple NAT masquerading program. I think XDP can
> > increase NAT throughput to 2.5gbps as well.
> 
> BTW currently if XDP modifies the packet, it has to modify the
> checksums accordingly. There is a helper for that even, bpf_csum_diff.

(from L3 forwards, if you modify ethhdr, you don't have to modify L2
checksum. You can't even see it...)

Reply via email to