PQ questions

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

First, let me say I've been most impressed with how quickly and
professionally people on this list ask and answer questions.

Next, let me say that with which I need help is properly configuring strict
PQ, and gathering certain stats. Specifically:

- I need to create a priority queue with four queues (let's say they are of
high, medium, normal, and low priority)

- I need to use tc filters such that:

	- EF (0xB8) goes to the high priority queue

	- AF21 (0x50) goes to the medium priority queue

	- AF11 (0x28) goes to the normal priority queue, and

	- BE traffic goes to the low priority queue

- For stat collection, I need to see:

	- how many bytes and packets are in each of the four queues

- My configuration thus far is:

tc qdisc add dev eml_test root handle 1: prio bands 4 priomap 0 1 2 3

tc filter add dev eml_test parent 1:0 prio 1 protocol ip u32 match ip tos
0xb8 0xff flowid 1:1

tc filter add dev eml_test parent 1:0 prio 2 protocol ip u32 match ip tos
0x80 0xff flowid 1:2

tc filter add dev eml_test parent 1:0 prio 3 protocol ip u32 match ip tos
0x50 0xff flowid 1:3

tc filter add dev eml_test parent 1:0 prio 4 protocol ip u32 match ip tos
0x00 0xff flowid 1:4
__________

My questions are:

- What if anything is missing/requiring change in my config given the stated
requirements?

- What if any command should I use to view how many bytes and packets are in
each of the four queues?

Any help would be most appreciated.


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

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux