[ovs-dev] [PATCH] netdev-linux: Make htb quantum always no less than mtu.

Alex Wang alexw at nicira.com
Fri Mar 27 20:47:26 UTC 2015


Thx, applied to master and branch-2.3~

On Fri, Mar 27, 2015 at 1:25 PM, Ben Pfaff <blp at nicira.com> wrote:

> On Fri, Mar 27, 2015 at 11:48:34AM -0700, Alex Wang wrote:
> > Currently, ovs uses hardcoded rate2quantum = 10 for each htb qdisc.
> > When qdisc class's rate is small, the resulting quantum (calculated
> > by min_rate / rate2quantum) will be smaller than MTU.  This is not
> > recommended and tc will keep complaining the following in syslog.
> >
> > localhost kernel: HTB: quantum of class 10003 is small. Consider r2q
> change.
> > localhost kernel: HTB: quantum of class 10004 is small. Consider r2q
> change.
> > localhost kernel: HTB: quantum of class 10005 is small. Consider r2q
> change.
> > localhost kernel: HTB: quantum of class 10006 is small. Consider r2q
> change.
> >
> > To fix the issue, this commit makes ovs always use htb quantum no less
> > than the MTU.
> >
> > Signed-off-by: Alex Wang <alexw at nicira.com>
>
> Thanks, this is a simple solution.
>
> Acked-by: Ben Pfaff <blp at nicira.com>
>



More information about the dev mailing list