Netdev List
 help / color / mirror / Atom feed
* Meaning of "handle" when using tc filter ... flow hash
@ 2011-11-20  9:00 Andrew Beverley
  0 siblings, 0 replies; only message in thread
From: Andrew Beverley @ 2011-11-20  9:00 UTC (permalink / raw)
  To: netdev

Hi,

I've been using the "flow hash keys" feature of tc to evenly distribute
bandwidth across client IP addresses.

In order to get it to work, I have to specify a "handle" value:

$TC filter add dev eth0 parent 4101: protocol ip \
	handle 10 flow hash keys dst divisor 1024

         ^^^^

However, the handle doesn't seem to do anything. No matter what value I
specify, the rule works. If I leave it out, I get an "RTNETLINK answers:
Invalid argument" error.

I would normally expect the handle parameter to specify a netfilter mark
value. In this case though, it doesn't seem to make any difference. Is
there a reason that it needs to be specified?

Thanks,

Andy

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-11-20  9:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-20  9:00 Meaning of "handle" when using tc filter ... flow hash Andrew Beverley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox