[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A49D872.5050403@bigtelecom.ru>
Date: Tue, 30 Jun 2009 13:18:42 +0400
From: Badalian Vyacheslav <slavon@...telecom.ru>
To: Jarek Poplawski <jarkao2@...il.com>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: tc filter flow hash question
Jarek Poplawski пишет:
> On 30-06-2009 10:12, Badalian Vyacheslav wrote:
>
>> Hello all.
>> Sorry for mail to this maillist, but in internet i can't found any
>> information to understand this situation, lartc list is dead, function
>> do not documented and only developers understand how it works.
>>
>
> They only pretend they understand how it works...
>
>
>> As i understand if i add flow hash i divide speed to KEYs (example to
>> dst) not for sessions right?
>>
>> Why if i add simple example my traffic stop and i get DROP at parent class?
>>
>> This my sample
>>
>> tc qdisc add dev eth0 root handle 1 htb default 7
>> class add dev eth0 parent 1: classid 1:7 htb rate 500mbit ceil 1000mbit
>> prio 3
>> qdisc add dev eth0 parent 1:7 handle 10: sfq perturb 10
>> # all normal
>> tc filter add dev eth0 protocol ip parent 10: handle 2 flow hash keys
>> src,dst
>> # all traffic drop
>>
>>
>
>
Yep. I was read this commit and create example based on it.
My question why its drop all traffic after add flow filter? Its simple
must group traffic to sfq qidsc by HASH like equal cost routing by KEY
if i understand. I need balance traffic in class/qdisc by KEY, but not
by sessions.
Any worked example will be great. In commit i see only syntax :)
Thanks!
> Here are some hints (if we don't mention google ;-)
> http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.29.y.git;a=commitdiff;h=e5dfb815181fcb186d6080ac3a091eadff2d98fe
>
> Regards,
> 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