[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210106133328.25766204@kernel.org>
Date: Wed, 6 Jan 2021 13:33:28 +0100
From: Marek Behún <kabel@...nel.org>
To: Andrew Lunn <andrew@...n.ch>
Cc: Sven Auhagen <sven.auhagen@...eatech.de>, netdev@...r.kernel.org,
davem@...emloft.net, Jakub Kicinski <kuba@...nel.org>,
Matteo Croce <mcroce@...rosoft.com>,
Lorenzo Bianconi <lorenzo@...nel.org>
Subject: Re: [PATCH net-next] net: mvpp2: increase MTU limit when XDP
enabled
On Wed, 6 Jan 2021 13:32:05 +0100
Marek Behún <kabel@...nel.org> wrote:
> On Wed, 6 Jan 2021 12:56:08 +0100
> Marek Behún <kabel@...nel.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...)
Powered by blists - more mailing lists