Re: [Bridge] [PATCH] net:bridge:always disable auto-tuning when the user specified MTU

2019-04-16 Thread 黄睿
Whether use the current method to configure bridge's MTU or add a notification in bridge's internal code and send a notification when modify the bridge's MTU, we all need to add an additional judgement in dev_set_mtu_ext's first if statement for bridge to let the process not return early. By the

Re: [Bridge] [PATCH] net:bridge:always disable auto-tuning when the user specified MTU

2019-04-10 Thread Nikolay Aleksandrov
On 10/04/2019 13:34, Petr Machata wrote: > > Stephen Hemminger writes: > >> On Wed, 10 Apr 2019 02:32:08 + >> Huang Rui wrote: >> >>> For example. >>> My purpose is to create a bridge br0 and join eth0 into br0. >>> if we use this following way, the auto-tuning flag will not be disabled.

Re: [Bridge] [PATCH] net:bridge:always disable auto-tuning when the user specified MTU

2019-04-10 Thread Petr Machata
Stephen Hemminger writes: > On Wed, 10 Apr 2019 02:32:08 + > Huang Rui wrote: > >> For example. >> My purpose is to create a bridge br0 and join eth0 into br0. >> if we use this following way, the auto-tuning flag will not be disabled. >> >> If eth0's mtu is 1200 >> step 1.brctl addbr br0

Re: [Bridge] [PATCH] net:bridge:always disable auto-tuning when the user specified MTU

2019-04-09 Thread Stephen Hemminger
On Wed, 10 Apr 2019 02:32:08 + Huang Rui wrote: > For example. > My purpose is to create a bridge br0 and join eth0 into br0. > if we use this following way, the auto-tuning flag will not be disabled. > > If eth0's mtu is 1200 > step 1.brctl addbr br0 > step 2.brctl addif br0 eth0 > step