lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Mon, 9 Jun 2014 12:43:33 -0700
From:	Stephen Hemminger <stephen@...workplumber.org>
To:	Yang Yingliang <yangyingliang@...wei.com>
Cc:	Eric Dumazet <eric.dumazet@...il.com>, <netdev@...r.kernel.org>
Subject: Re: [PATCH iproute2 v4] fq: allow options of fair queue set to ~0U

On Thu, 29 May 2014 12:04:34 +0800
Yang Yingliang <yangyingliang@...wei.com> wrote:

> From: Yang Yingliang <yangyingliang@...wei.com>
> 
> Some options of fair queue cannot be (~0U). It leads to maxrate
> cannot be reset to unlimited because it cannot be (~0U). Allow
> the options being ~0U.
> 
> Tested by the following command:
>  # tc qdisc add dev eth4 root handle 1: fq limit 2000 flow_limit 200 maxrate 100mbit quantum 2000 initial_quantum 1600
>  # tc -s -d qdisc show
> qdisc fq 1: dev eth4 root refcnt 2 limit 2000p flow_limit 200p buckets 1024 quantum 2000 initial_quantum 1600 maxrate 100Mbit 
>  Sent 1492 bytes 10 pkt (dropped 0, overlimits 0 requeues 0) 
>  backlog 0b 0p requeues 0 
>   1 flows (0 inactive, 0 throttled)
>   0 gc, 0 highprio, 0 throttled
> 
>  # tc qdisc change dev eth4 root handle 1: fq limit 4294967295 flow_limit 4294967295 maxrate 34359738360 quantum 4294967295 initial_quantum 4294967295
>  # tc -s -d qdisc show
> qdisc fq 1: dev eth4 root refcnt 2 limit 4294967295p flow_limit 4294967295p buckets 1024 quantum 4294967295 initial_quantum 4294967295 
>  Sent 38372 bytes 216 pkt (dropped 0, overlimits 0 requeues 0) 
>  backlog 0b 0p requeues 0 
>   2 flows (1 inactive, 0 throttled)
>   0 gc, 2 highprio, 7 throttled
> 
> Suggested-by: Eric Dumazet <edumazet@...gle.com>
> Signed-off-by: Yang Yingliang <yangyingliang@...wei.com>
> 

Applied

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ