search for: pass_on

Displaying 17 results from an estimated 17 matches for "pass_on".

2005 Dec 14
1
mgen & tc
...class add dev eth1 parent 2:0 classid 2:1 htb rate 10Mbit ceil 10Mbit ############ EF tc class add dev eth1 parent 2:1 classid 2:10 htb rate 1500Kbit ceil 10Mbit tc qdisc add dev eth1 parent 2:10 pfifo limit 5 tc filter add dev eth1 parent 2:0 protocol ip prio 1 handle 0x2e tcindex \ classid 2:10 pass_on ############ AF tc class add dev eth1 parent 2:1 classid 2:20 htb rate 2500Kbit ceil 10Mbit tc qdisc add dev eth1 parent 2:20 pfifo limit 20 tc filter add dev eth1 parent 2:0 protocol ip prio 2 handle 10 tcindex \ classid 2:20 pass_on ############ BE tc class add dev eth1 parent 2:1 classid 2:30...
2005 Jul 06
0
Diffserv using HTB or PRIO qdiscs as basis for EF phb
...htb tc class add dev $1 parent 2:0 classid 2:1 htb rate 100Mbit ceil 100Mbit EF Class (2:10) tc class add dev $1 parent 2:1 classid 2:10 htb rate 1500Kbit ceil 100Mbit tc qdisc add dev $1 parent 2:10 pfifo limit 5 tc filter add dev $1 parent 2:0 protocol ip prio 1 handle 0x2e tcindex classid 2:10 pass_on BE Class (2:20) tc class add dev $1 parent 2:1 classid 2:20 htb rate 5Mbit ceil 100Mbit tc qdisc add dev $1 parent 2:20 red limit 60KB min 15KB max 45KB burst 20 avpkt 1000 bandwidth 100Mbit probability 0.4 tc filter add dev $1 parent 2:0 protocol ip prio 2 handle 0 tcindex mask 0 classid 2:20 pas...
2005 Jul 27
13
HTB and PRIO qdiscs introducing extra latency when output interface is saturated
...htb tc class add dev $1 parent 2:0 classid 2:1 htb rate 100Mbit ceil 100Mbit EF Class (2:10) tc class add dev $1 parent 2:1 classid 2:10 htb rate 1500Kbit ceil 100Mbit tc qdisc add dev $1 parent 2:10 pfifo limit 5 tc filter add dev $1 parent 2:0 protocol ip prio 1 handle 0x2e tcindex classid 2:10 pass_on BE Class (2:20) tc class add dev $1 parent 2:1 classid 2:20 htb rate 5Mbit ceil 100Mbit tc qdisc add dev $1 parent 2:20 red limit 60KB min 15KB max 45KB burst 20 avpkt 1000 bandwidth 100Mbit probability 0.4 tc filter add dev $1 parent 2:0 protocol ip prio 2 handle 0 tcindex mask 0 classid 2:20 pas...
2005 Jun 24
0
wfq scripts needed help
...1:0 handle 2:0 wfq $what ifspeed \ 10485760 # creating WFQ classes.... tc class add dev eth0 parent 2:0 classid 2:1 wfq $what1 tc class add dev eth0 parent 2:0 classid 2:2 wfq $what2 # adding filter tc filter add dev eth0 parent 2:0 protocol ip prio 2 handle 0x2e \ tcindex classid 2:1 pass_on tc filter add dev eth0 parent 2:0 protocol ip prio 7 handle 0x00 \ tcindex classid 2:2 pass_on ---------------------------------------------------------------------- DO any body knows which weights ($what,$what1,$what2) to give, so that marked EF traffic will get a bandwidth of 10% of total...
2002 Oct 01
0
will any one do me a favor to answer the question about tc_index value ?
...linux community. i want to how does skb->tcindex value change exactly. it confused me indeed. i have a script reads: (1) tc qdisc add dev eth0 root handle 1:0 dsmark indices 64 default_index 0x161 set_tc_index (2) tc filter add dev eth0 parent 1:0 protocol all prio 1 tcindex mask 0xfc shift 2 pass_on (3) tc filter add dev eth0 parent 1:0 prio 1 handle 0x0a tcindex classid 1:111 (4) tc filter add dev eth0 parent 2:0 protocol all prio 1 tcindex mask 0xf0 shift 4 pass_on (5) tc filter add dev eth0 parent 2:0 prio 1 handle 1 tcindex classid 2:2 now if a packet with a Diffserv field 0x28 , its skb-...
2001 Jan 17
0
dscp marking
...fw classid 1:1 Or i can set up the queues: <bigger> #setting root DSMARK ##################### echo Setting up DSMARK $TC qdisc add dev $DEV root handle 1:0 dsmark indices 64 set_tc_index $TC filter add dev $DEV protocol ip parent 1:0 prio 1 \ tcindex mask 0xfc shift 2 pass_on #setting root CBQ ################## echo Setting up root CBQ $TC qdisc add dev $DEV parent 1:0 handle 2:0 cbq bandwidth $BANDWIDTH \ avpkt 1000 cell 8 mpu 64 $TC filter add dev $DEV parent 2:0 protocol ip prio 1 \ tcindex mask 0xf0 shift 4 pass_on #setting EF ###...
2006 Jan 10
2
Gred/dsmark/htb
...scp there handle is. 4. the minor of the filter is returned back to the dsmark and copied to the tcindex #!/bin/sh tc qdisc del dev eth0 root tc qdisc add dev eth0 handle 1:0 root dsmark indices 16 set_tc_index tc filter add dev eth0 parent 1:0 protocol ip prio 1 tcindex \ mask 0xfc shift 2 pass_on #af class 1 tc filter add dev eth0 parent 1:0 protocol ip prio 1 \ handle 10 tcindex classid 1:11 tc filter add dev eth0 parent 1:0 protocol ip prio 1 \ handle 12 tcindex classid 1:12 tc filter add dev eth0 parent 1:0 protocol ip prio 1 \ handle 14 tcindex classid 1:13 #af class 2 tc filter add dev...
2009 Mar 22
1
[PATCH] [memdisk] Additional comments in memdisk.inc and postprocess.pl
...l ; Always pass it on if we are resetting HD + test dl,dl ; Always pass it on if we are + ; resetting HD js .hard_disk ; Bit 7 set ; Some BIOSes get very unhappy if we pass a reset floppy ; command to them and don't actually have any floppies. @@ -194,7 +198,8 @@ Reset: jmp .pass_on ; ... otherwise pass it to the BIOS .hard_disk: ; ... same thing for hard disks, sigh ... - cmp byte [es:0x475],1 ; BIOS variable for number of hard disks + cmp byte [es:0x475],1 ; BIOS variable for number of hard + ; disks jbe success .pass_on: @@ -354,7 +359,7 @@ EDDWrite: TRA...
2004 Sep 06
0
example/dsmark+policing => tcsim outputs are different
...icing * * Packets with non-zero TOS/DS field are marked with TOS 0xb8 (EF DSCP). * If they exceed the rate limit, they''re dropped. */ #define LIMIT 1Mbps #define BURST 10kB #define MTU 1500B dev "eth0" { dsmark (indices 64,set_tc_index) { class (0) on tcindex(mask 0xff,pass_on) element (0); class (1,mask 0,value 0xb8) on tcindex(mask 0) element (0) police (rate LIMIT,burst BURST,mtu MTU) drop; } } >>> ---------- end of dsmark+policing.tc file ---------- >>> ---------- start of dsmark+policing.tc_old file: ---------- # === Device eth0 ===...
2002 May 28
5
QoS graphical interface ?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Is there any grapical interface for the QoS (Quality of Service) Traffic Control in Linux ? Greetings. - --- Carles Xavier Munyoz Baldó carles@descom.es Descom Consulting Telf: +34 965861024 Fax: +34 965861024 http://www.descom.es/ - --- -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8
2006 Apr 10
4
EF & AF filters with HTB
...e with this, I have been trying for days to get this to work. I would like to have BE, AF & EF classes with HTB qdisc. I can''t find any scripts online where this has been done. If I enable this filter: #tc filter add dev eth0 parent 2:0 protocol ip prio 1 \ #tcindex mask 0xf0 shift 4 pass_on then BE & AF classification seems to be fine but EF breaks & no packets go under that class. I the filter is commented out then EF & BE classes are fine. Script excerpt: # Main DS Marker & Classifier (1:0) echo -e "Installing root DS marker, queue discipline and filter...\n&...
2009 Jul 28
2
DRBD on a xen host: crash on high I/O
...before-resync-target "/usr/lib/drbd/snapshot-resync-target-lvm.sh -p 15 -- -c 16k"; #after-resync-target /usr/lib/drbd/unsnapshot-resync-target-lvm.sh; } startup { wfc-timeout 120; degr-wfc-timeout 120; # 2 minutes. # wait-after-sb; } disk { on-io-error pass_on; fencing resource-and-stonith; # ONLY USE THIS OPTION IF YOU KNOW WHAT YOU ARE DOING. # no-disk-flushes; # no-md-flushes; max-bio-bvecs 1; } net { # max-buffers 2048; # unplug-watermark 128; # max-epoch-size 2048; # ko-count 4; cram-hmac-alg &quot...
2004 Jun 13
0
DSCP marking at core
...avpkt 1000 mpu 64 tc class add dev eth0 parent 2:0 classid 2:1 cbq bandwidth 10Mbit rate 1500Kbit avpkt 1000 prio 1 bounded isolated allot 1514 weight 1 maxburst 10 tc qdisc add dev eth0 parent 2:1 pfifo limit 5 tc filter add dev eth0 parent 2:0 protocol ip prio 1 handle 0x2e tcindex classid 2:1 pass_on ... I need to connect the two piece of code above at core router but I need help on this. Thx in advance. Gunes __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ _______________________________________________ L...
2004 Aug 12
1
Problems booting with memdisk, with fix
...than a jump so we regain control and can force the + ; return status to "ok" - this is because some BIOS's return + ; an error if there are no drives present, and this screws up + ; bootstrap routines (e.g. DOS gives "Non-System disk or + ; Disk Error") - NN 12-Aug-04. .pass_on: - pop ax ; Drop return address - popad ; Restore all registers - pop es - pop ds - lss esp,[cs:Stack] ; Restore the stack - and dl,80h ; Clear all but the type bit - jmp far [cs:OldInt13] + pushf + call far [cs:OldInt13] ; Call the BIOS + xor ax,ax ; Force success result + ret...
2005 Mar 17
0
cbq + gred doesn''t drop packets
...et gets dropped.. What do u suggest me to do? Below is the code for the configuration.. it works find and no error message appears $tc qdisc add dev $DEV handle 1:0 root dsmark indices 64 set_tc_index #default_index 0 $tc filter add dev $DEV parent 1:0 protocol ip prio 1 tcindex mask 0xfc shift 2 pass_on $tc qdisc add dev $DEV parent 1:0 handle 2:0 prio $tc filter add dev $DEV parent 2:0 protocol ip prio 1 tcindex mask 0xf00 shift 8 # EF priority class, TBF, and its filter echo ''installing EF'' $tc filter add dev $DEV parent 1:0 protocol ip prio 1 handle 0x2e tcindex classid 1:1...
2004 Jan 30
2
FW: QoS extension to Net-SNMP
...bps burst 15Kb/8 mpu 0b cburst 4Kb/8 mpu 0b level 0 Sent 7279664 bytes 215481 pkts (dropped 0, overlimits 0) rate 12bps lended: 215481 borrowed: 0 giants: 0 tokens: 201222 ctokens: 13408 $ tc -s -d filter show dev sync1 filter parent 1: protocol ip pref 1 tcindex hash 0 mask 0x00fc shift 2 pass_on In other words, the handles don''t seem to match those given by tc (which are the same handles specified in the config. script). Have I done something wrong...? Thanks for your time. S. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://m...
2004 Dec 30
2
HTB + GRED (santa clauss plz help me out)
...er so dear Sant .. i am currently with the following scripts that works! But when i try to add an HTB before the GRED, everything goes to hell. tc qdisc add dev $Dev handle 1:0 root dsmark indices 16 set_tc_index tc filter add dev $Dev parent 1:0 protocol ip prio 1 tcindex mask 0xfc shift 2  pass_on tc filter add dev $Dev parent 1:0 protocol ip prio 1 handle 10 tcindex classid  1:1 tc filter add dev $Dev parent 1:0 protocol ip prio 1 handle 12 tcindex classid  1:2 tc filter add dev $Dev parent 1:0 protocol ip prio 1 handle 14 tcindex classid  1:3 tc qdisc add dev $Dev parent 1:0 gred setup DPs...