Subject: Re: [PATCH] bonding: set correct tx_queue_len for bond_dev

From: Yang Yingliang <[email-masked]>
Date: Tue, 30 Jul 2013 17:24:54 +0800

On 2013/7/30 15:34, David Miller wrote:
> From: Yang Yingliang <[email-masked]>
> Date: Tue, 30 Jul 2013 15:20:42 +0800
> 
>> With htb, sch->limit is set from bond_dev->tx_queue_len which
>> is initialized to 0 in bond_setup.
> 
> This is intentional, software devices should not queue TX
> packets.

This makes software devices with htb qdisc can hold only
one packet, others are dropped.

Maybe sch->limit's default value which is 1 is too small. 
Instead of this patch, I'll send another patch to fix this 
value for fixing this issue.
> 
> You can only use the packet scheduler with hardware devices.
> 
>