netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Badalian Vyacheslav <slavon@bigtelecom.ru>
To: "netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: tc filter flow hash question
Date: Tue, 30 Jun 2009 12:12:54 +0400	[thread overview]
Message-ID: <4A49C906.9010102@bigtelecom.ru> (raw)

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.

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

Thanks!
Best regals, Badalian Vyacheslav

             reply	other threads:[~2009-06-30  8:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-30  8:12 Badalian Vyacheslav [this message]
2009-06-30  8:57 ` tc filter flow hash question Jarek Poplawski
2009-06-30  9:18   ` Badalian Vyacheslav
2009-06-30  9:23     ` Jarek Poplawski
2009-06-30  9:49       ` Badalian Vyacheslav
2009-06-30  9:56         ` Jarek Poplawski
2009-06-30 10:30           ` Badalian Vyacheslav
2009-06-30 11:09             ` Jarek Poplawski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A49C906.9010102@bigtelecom.ru \
    --to=slavon@bigtelecom.ru \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).