Subject: Re: Network interface - allow to set kernel default qlen value

From: Jakub Kicinski <[email-masked]>
Date: Tue, 23 Aug 2022 12:27:48 -0700

On Tue, 23 Aug 2022 09:59:07 +0200 Jarosław Kłopotek wrote:
> W dniu 23.08.2022 o 02:36, Jakub Kicinski pisze:
> > On Mon, 22 Aug 2022 10:41:40 +0200 Jarosław Kłopotek wrote:  
> >> Welcome netdev's,
> >> is it possible to set in kernel default (for example by sysctl) value of
> >> qlen parameter for network interfaces?
> >>
> >> I try to search: sysctl -a | grep qlen | grep default
> >> and didn't find anything.
> >>
> >> Now for setting the qlen - we use scripts in /etc/network/interface.
> >>
> >> This is not so important thing - but could be improved. What do You
> >> think about it?  
> > What type of network interfaces are we talking about here?
> > Physical Ethernet links?  
> 
> Ethernet links - for example:
> 
> ip a s | grep qlen
> 
> for example:
> 119: ens16np0.1231@ens16np0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 
> qdisc noqueue state UP group default qlen 10000

That looks like a vlan, or some such. I don't think changing qlen with
"noqueue" does anything.