search for: cell_log

Displaying 8 results from an estimated 8 matches for "cell_log".

Did you mean: call_log
2004 Aug 22
4
Question about htb class
Hi everyone. I''m new to this list and I have some questions regarding HTB class. I was trying to see how tc sets the parameters for HTB, but really couldnt understand them. So, I thought that I might ask the wizards. It''s mainly from the source code. 1. What is the cell_log ? (its everywhere in the code) 2. Why does htb calculate its burst(buffer) with tc_xmit_time() ? Is opt.rate.buffer supposed to have the time it takes to transmit the packet ? (in q_htb.c around 223 lines) 3. What does rtab and ctab arrays do ? And what kind of value should be in there ? (its se...
2007 Jul 25
3
Patch accurate packet scheduling for ATM/ADSL
...#39;t answer me. I work on a Linux 2.6.17 with the iproute2-2.6.18-061002 package. I change the type of the cell_align char to short of the struct tc_ratespec in the file pkt_sched.h (in the include/linux/ directories of iproute package and the kernel source) : struct tc_ratespec { unsigned char cell_log; unsigned char __reserved; unsigned short feature; /* Always 0 in pre-atm patch kernels */ - char cell_align; /* Always 0 in pre-atm patch kernels */ - unsigned char __unused; + short cell_align; /* Always 0 in pre-atm patch kernels */ unsigned short mpu; __u32 rate; }; The results are...
2005 Jun 14
8
ADSL Calculator
Hi, I''ve written a small javascript ADSL throughput calculator: http://nukunuku.yamamaya.is-a-geek.org/~ranma/adsl.html Feel free to submit alternative presets (I currently have presets for three german telecom speed variants: T-DSL (1000|2000|3000), derived from http://www2.lancom.de/kb.nsf/5d445c701b3ff52dc1256e7700297e5c/27c6ee1c3e3f74b0c1256e94004a433e?OpenDocument). Comments,
2004 Jun 18
21
patch: HTB update for ADSL users
...bw * 48/53) passing through (this is normal, it''s the overhead of running ATM). --- iproute2-2.4.7.20020116/tc/tc_core.c 2000-04-16 18:42:55.000000000 +0100 +++ iproute2/tc/tc_core.c 2004-06-18 12:20:39.912974518 +0100 @@ -59,10 +59,19 @@ while ((mtu>>cell_log) > 255) cell_log++; } + + // HACK - UK ATM Params + int encaps_cell_sz = 53; + int encaps_cell_overhead = 5; + int encaps_data_sz = encaps_cell_sz - encaps_cell_overhead; + int proto_overhead = 10; // PPP Overhead + for (i=0;...
2006 Mar 02
33
Patch to allow for the ATM "cell tax"
...verhead used in rate computations\n" + " atm include atm cell tax in rate computations\n" " ceil definite upper class rate (no borrows) {rate}\n" " cburst burst but for ceil {computed}\n" @@ -416,7 +417,7 @@ unsigned buffer=0,cbuffer=0; int cell_log=-1,ccell_log = -1; unsigned mtu, mpu; - unsigned char mpu8 = 0, overhead = 0; + unsigned char mpu8 = 0, overhead = 0, atm=0; struct rtattr *tail; memset(&opt, 0, sizeof(opt)); mtu = 1600; /* eth packet len */ @@ -440,9 +441,11 @@ } } else if (matches(*argv, "overhead")...
2002 May 16
0
what''s the meaning of this "struct qdisc_rate_table"
LARTC,hello! As title, and I want to know its member's purpose: struct tc_ratespec { unsigned char cell_log; unsigned char __reserved; unsigned short feature; short addend; unsigned short mpu; __u32 rate; }; who can help me? Thanks!    best regards!               Huang Xin Gang               hxgang@csnet4.cs.tsinghua.edu.cn                  2002-05-16
2006 Jun 15
0
[PATCH 2/2] Runtime configuration of HTB''s HYSTERESIS option (userspace)
...use r2q}\n" "\nTC HTB version %d.%d\n",HTB_TC_VER>>16,HTB_TC_VER&0xffff ); @@ -104,6 +105,7 @@ static int htb_parse_class_opt(struct qd { int ok=0; struct tc_htb_opt opt; + struct tc_htb_hopt hopt; __u32 rtab[256],ctab[256]; unsigned buffer=0,cbuffer=0; int cell_log=-1,ccell_log = -1; @@ -114,6 +116,7 @@ static int htb_parse_class_opt(struct qd struct rtattr *tail; memset(&opt, 0, sizeof(opt)); mtu = 1600; /* eth packet len */ + memset(&hopt, 0, sizeof(hopt)); while (argc > 0) { if (matches(*argv, "prio") == 0) { @@ -132,6 +13...
2006 Aug 02
10
[PATCH 0/6] htb: cleanup
The HTB scheduler code is a mess, this patch set does some basic house cleaning. The first four should cause no code change, but the last two need more testing. -- Stephen Hemminger <shemminger@osdl.org> "And in the Packet there writ down that doome" - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to