Re: [RFE net-next] net: tun: 1000x speed up

From: Nicolas Dichtel
Date: Mon Oct 24 2022 - 05:45:01 EST


Le 21/10/2022 à 18:07, Jakub Kicinski a écrit :
> On Fri, 21 Oct 2022 13:49:21 +0200 Ilya Maximets wrote:
>> Bump the advertised speed to at least match the veth. 10Gbps also
>> seems like a more or less fair assumption these days, even though
>> CPUs can do more. Alternative might be to explicitly report UNKNOWN
>> and let the application/user decide on a right value for them.
>
> UNKOWN would seem more appropriate but at this point someone may depend
> on the speed being populated so it could cause regressions, I fear :S
If it is put in a bonding, it may cause some trouble. Maybe worth than
advertising 10M.

Note that this value could be configured with ethtool:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4e24f2dd516ed

>
>> Sorry for the clickbait subject line.
>
> Nicely done, worked on me :)
Works for me also :D