All of lore.kernel.org
 help / color / mirror / Atom feed
From: Devanshu Mehta <mehta@ll.mit.edu>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Divisor
Date: Wed, 08 Feb 2006 05:30:14 +0000	[thread overview]
Message-ID: <43E981E6.6080206@ll.mit.edu> (raw)
In-Reply-To: <43E93D25.8000003@tlen.pl>

Not sure about the divisor; but your number 800 can be any hexadecimal 
number (within reason). This value is the name of the hash table, so 
each hash table should have it's own name (i.e. 800::, 801::, etc.)

Someone can correct me if I am wrong, because I don't have a lot of 
experience with HTs.
Devanshu

Konrad wrote:
> What is the difference between lines below?
>
> $TC filter add dev imq0 parent 1:0 prio 5 handle 1: protocol ip u32 
> divisor 1
> $TC filter add dev imq0 parent 1:0 prio 5 handle 2: protocol ip u32 
> divisor 256
>
> What divisor is doing?
>
> And the last problem...
>
> $TC filter add dev imq0 protocol ip parent 1:0 prio 5 u32 ht 800:: 
> match ip src 10.0.0.0/16 hashkey mask 0x000000ff at 12 link 2:
>
> Why after ht should be 800?
> When 801:: is correct value? When this value should be different.
>
> Please help me understand this.
>
> -- 
> Konrad aka Lenthir
> _______________________________________________
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
>


-- 
Devanshu Mehta
Advanced Networks and Applications Group
MIT Lincoln Laboratory

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

      reply	other threads:[~2006-02-08  5:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-08  0:36 [LARTC] Divisor Konrad
2006-02-08  5:30 ` Devanshu Mehta [this message]

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=43E981E6.6080206@ll.mit.edu \
    --to=mehta@ll.mit.edu \
    --cc=lartc@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.