[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210106131354.7khatbjkao3rj63z@skbuf>
Date: Wed, 6 Jan 2021 15:13:54 +0200
From: Vladimir Oltean <olteanv@...il.com>
To: Marek BehĂșn <kabel@...nel.org>
Cc: Andrew Lunn <andrew@...n.ch>,
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, Jan 06, 2021 at 12:56:08PM +0100, Marek BehĂșn wrote:
> I found out that on Turris MOX I am able to route 2.5gbps (at MTU 1500)
> with XDP. But when not using XDP, when the packets go via kernel's
> stack, MOX is able to route less than 1gbps (cca 800mbps, at MTU
> 1500, and the CPU is at 100%).
Read this:
https://patchwork.ozlabs.org/project/netdev/patch/73223229-6bc0-2647-6952-975961811866@gmail.com/
Disable GRO on the DSA interfaces and you'll be just fine even with IP
forwarding done by the network stack. You don't _need_ XDP for this.
Powered by blists - more mailing lists