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:	Thu, 12 Mar 2009 07:25:08 +0000
From:	Jarek Poplawski <jarkao2@...il.com>
To:	Denys Fedoryschenko <denys@...p.net.lb>
Cc:	netdev@...r.kernel.org
Subject: Re: DRR example, how to replace SFQ

On Thu, Mar 12, 2009 at 02:01:49AM +0200, Denys Fedoryschenko wrote:
> If i understand right, it must look like this to simulate SFQ 
> This example with just 2 "queues".
> 
> tc qdisc add dev eth0.100 root handle 1: htb
> 
> tc class add dev eth0.100 parent 1: classid 1:1 htb rate 15Kbit ceil 15Kbit
> 
> tc qdisc add dev eth0.100 parent 1:1 handle 2: drr
> 
> tc class add dev eth0.100 parent 2: classid 2:1 drr quantum 1600
> tc class add dev eth0.100 parent 2: classid 2:2 drr quantum 1600
> 
> tc qdisc add dev eth0.100 parent 2:1 handle 10: bfifo 9000
> tc qdisc add dev eth0.100 parent 2:2 handle 11: bfifo 9000
> 
> tc filter add dev eth0.100 parent 1: protocol ip prio 5 u32 match u32 0 0 
> flowid 1:1
> 
> tc filter add dev eth0.100 parent 2: protocol ip prio 10 handle 1 flow keys 
> dst divisor 2 baseclass 2:1
> 
> Is it correct?

Generally looks OK, but examples from cls_flow changelog could be
followed:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=e5dfb815181fcb186d6080ac3a091eadff2d98fe

Jarek P.
--
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