Re: Kconfig, DEFAULT_NETSCH, and shooting yourself in the foot..

2021-01-03 Thread Valdis Klētnieks
On Sun, 03 Jan 2021 10:20:11 -0800, Stephen Hemminger said: > You can use a qdisc that is a module, it just has to be available when device > is loaded. Typically that means putting it in initramfs. Apparently, that's not *quite* true regarding the default qdisc, because I hit this situation (copy

Re: Kconfig, DEFAULT_NETSCH, and shooting yourself in the foot..

2021-01-03 Thread Stephen Hemminger
On Sun, 3 Jan 2021 15:30:30 +0900 Masahiro Yamada wrote: > On Sun, Jan 3, 2021 at 5:14 AM Valdis Klētnieks > wrote: > > > > Consider the following own goal I just discovered I scored: > > > > [~] zgrep -i fq_codel /proc/config.gz > > CONFIG_NET_SCH_FQ_CODEL=m > > CONFIG_DEFAULT_FQ_CODEL=y > > C

Re: Kconfig, DEFAULT_NETSCH, and shooting yourself in the foot..

2021-01-02 Thread Masahiro Yamada
On Sun, Jan 3, 2021 at 5:14 AM Valdis Klētnieks wrote: > > Consider the following own goal I just discovered I scored: > > [~] zgrep -i fq_codel /proc/config.gz > CONFIG_NET_SCH_FQ_CODEL=m > CONFIG_DEFAULT_FQ_CODEL=y > CONFIG_DEFAULT_NET_SCH="fq_codel" > > Obviously, fq_codel didn't get set as the

Kconfig, DEFAULT_NETSCH, and shooting yourself in the foot..

2021-01-02 Thread Valdis Klētnieks
Consider the following own goal I just discovered I scored: [~] zgrep -i fq_codel /proc/config.gz CONFIG_NET_SCH_FQ_CODEL=m CONFIG_DEFAULT_FQ_CODEL=y CONFIG_DEFAULT_NET_SCH="fq_codel" Obviously, fq_codel didn't get set as the default, because that happens before the module gets loaded (which may