Displaying 20 results from an estimated 80 matches for "pkt_sched".
2005 Apr 04
0
question about pkt_sched.h for tc
in the tc directory tc_util.h and tc_core.h use
pkt_sched.h which is stored in iproute''s include
directory. is there any dependency between this
pkt_sched.h file and the ones that come with the
standard linux kernel source.
thanks.
__________________________________
Do you Yahoo!?
Yahoo! Mail - Find what you need with new enhanced searc...
2003 Apr 26
3
esfq experience anyone?
Hey, fellow LART controlllers,
I''d like to ask if someome has a real esfq experience with HTB class
hierarchy and esfq qdiscs. Lets say that I want to unite the connections
to 10 client PCs with u32 or fw filters (doesn''t matter which one in fact)
into one HTB class with esfq qdisc at the end.
Did anyone tried it, and more important, did it worked the way it is supposed to?
As
2004 Jun 17
1
[PATCH] (4/4) add loss option to network delay scheduler
...is a simple 32 bit value such that 0 means no loss, and
0xffffffff is always drop. I have a new version of the tc command which takes
care of conversion from percent to this value.
Same patch for 2.4 and 2.6
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
diff -Nru a/include/linux/pkt_sched.h b/include/linux/pkt_sched.h
--- a/include/linux/pkt_sched.h 2004-06-17 15:26:51 -07:00
+++ b/include/linux/pkt_sched.h 2004-06-17 15:26:51 -07:00
@@ -437,5 +437,6 @@
{
__u32 latency;
__u32 limit;
-};
+ __u32 loss;
+};
#endif
diff -Nru a/net/sched/sch_delay.c b/net/sched/sch_delay.c
--- a...
2006 Jan 23
1
Adding HTB support for kernel 2.4.19 SUSE 8.1
...Hunk #1 FAILED at 2.
1 out of 1 hunk FAILED -- saving rejects to file net/sched/Config.in.rej
patching file net/sched/Makefile
Reversed (or previously applied) patch detected! Assume -R? [n] y
Hunk #1 succeeded at 15 (offset -1 lines).
patching file net/sched/sch_htb.c
patching file include/linux/pkt_sched.h
Reversed (or previously applied) patch detected! Assume -R? [n] y
patching file net/sched/sch_api.c
Hunk #1 FAILED at 1117.
Hunk #2 succeeded at 1205 with fuzz 2.
1 out of 2 hunks FAILED -- saving rejects to file net/sched/sch_api.c.rej
patching file lib/Makefile
Hunk #1 FAILED at 8.
1 out of 1...
2005 May 17
3
prio max value
What is the maximum value for "prio"? It seems that for htb its maximum
is 7. Is that right?
R.
--
___________________________________________________________________
It''s so simple to be wise. Just think of something stupid to say
and say the opposite.
+------------------------------------------------------------------+
| Richard Lucassen, Utrecht
2005 Jan 04
11
ESFQ?
Hi again,
I was just looking around for ESFQ sources, and I see that the main site
is down, and only has kernel 2.6.4 patches.
Is ESFQ maintained? If so, where can I find patches for 2.6.10?
Thanks,
-justin
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
2006 Jan 28
2
gypsy, and not only
hi
i ve seen one of your replies here and i saw that you receomend 2
modifications in the kernel files in order to improve htb.
first in pkt_sched.h, changing PSCHED_JIFFIES to PSCHED_CPU.
and then, sch_htb.c, changing HYSTERESIS from 1 to 0.
is it that simple?
i mean i just change these here variables and i get better results?
i ve done a search and found the first file in 3 locations. where exactly
do i do these modifications?
tnx
2004 Mar 18
6
[PATCH] packet delay scheduler
...http://developer.osdl.org/shemminger/tcp/iproute2-delay.tar.bz2
The only changes were to tc/Makefile and new file tc/q_delay.c
A trivial example is:
tc qdisc add dev eth0 root delay latency 25ms rate 100mbit
Try it, if others find it useful please consider adding it.
diff -Nru a/include/linux/pkt_sched.h b/include/linux/pkt_sched.h
--- a/include/linux/pkt_sched.h Thu Mar 18 12:04:02 2004
+++ b/include/linux/pkt_sched.h Thu Mar 18 12:04:02 2004
@@ -432,4 +432,10 @@
#define TCA_ATM_MAX TCA_ATM_STATE
+/* Delay section */
+struct tc_dly_qopt
+{
+ __u32 latency;
+ __u32 limit;
+};
#endif
diff...
2006 Jun 15
0
[PATCH 2/2] Runtime configuration of HTB''s HYSTERESIS option (userspace)
...its users.
Further documentation on the patch and its usage can be
found here:
http://www.stuart.id.au/russell/files/tc/tc-atm
Signed-off-by: Russell Stuart <russell-tcatm@stuart.id.au>
Signed-off-by: Jesper Dangaard Brouer <hawk@comx.dk>
---
diff -Nurp iproute2.orig/include/linux/pkt_sched.h iproute2/include/linux/pkt_sched.h
--- iproute2.orig/include/linux/pkt_sched.h 2006-06-13 11:53:27.000000000 +1000
+++ iproute2/include/linux/pkt_sched.h 2006-06-13 11:54:50.000000000 +1000
@@ -232,6 +232,10 @@ struct tc_gred_sopt
#define TC_HTB_MAXDEPTH 8
#define TC_HTB_PROTOVER 3 /* the sam...
2006 Apr 11
10
created new q_disc, inserted module, tc tells me unknown qdisc
Hi,
I am trying to install a proprietary qdisc made for research, it is not publically released yet, however its been used several times so i know it works.
The files included are:
q_xcp.c:
static int xcp_parse_opt()
static int xcp_print_opt()
static int xcp_print_xstats()
struct qdisc_util xcp_util = { "NULL", "xcp" ..... };
sch_xcp.c:
static int
2006 Jun 15
0
[PATCH 1/2] Runtime configuration of HTB''s HYSTERESIS option (kernel)
...Further documentation on the patch and its usage can be
found here:
http://www.stuart.id.au/russell/files/tc/tc-atm
Signed-off-by: Russell Stuart <russell-tcatm@stuart.id.au>
Signed-off-by: Jesper Dangaard Brouer <hawk@comx.dk>
---
diff -Nurp kernel-source-2.6.11.orig/include/linux/pkt_sched.h kernel-source-2.6.11/include/linux/pkt_sched.h
--- kernel-source-2.6.11.orig/include/linux/pkt_sched.h 2005-03-02 17:38:13.000000000 +1000
+++ kernel-source-2.6.11/include/linux/pkt_sched.h 2006-06-13 11:34:25.000000000 +1000
@@ -231,6 +231,10 @@ struct tc_gred_sopt
#define TC_HTB_MAXDEPTH 8
#...
2004 Feb 26
1
ESFQ Modification
...o create hash depending on FWMARK instead of src ip
3. and it worked. So I have uplink policy based on source ip in
snat-ed environment without using IMQ.
I''m looking for the opinions, cause I may be wrong in this.
Patch for the files below, cause it''s short
diff -urN ./orig/pkt_sched.h ./patched/pkt_sched.h
--- ./orig/pkt_sched.h 2004-02-26 09:27:54.000000000 +0100
+++ ./patched/pkt_sched.h 2004-01-07 21:23:58.000000000 +0100
@@ -162,6 +162,7 @@
TCA_SFQ_HASH_CLASSIC,
TCA_SFQ_HASH_DST,
TCA_SFQ_HASH_SRC,
+ TCA_SFQ_HASH_FWMARK,
};
diff -urN...
2004 May 20
7
New Qdisc - How to
...:
- Put the new qdisc routine "sch_ric.c" into the directory
"/usr/src/linux/net/sched/" ,
- Insert a new line on the file "/net/sched/Makefile",
- Insert a new line on the file "/net/sched/Config.in",
- Insert a new line on the file "/include/linux/pkt_sched.h",
- Insert a new line on the file "/net/sched/sch_api.c"
Then I created a new kernel, which include the new qdisc:
- make menuconfig
- make dep
- make clean
- make bzImage
- make modules
- make modules_install
- Change the lilo.conf
Reboot
when I tried to program my qdisc wit...
2004 Jul 01
14
filter ingress policy rates -> slow!!
Hello one more time,
As others seem to already asked without reply, I''m getting lower speed rates
than specified via ingress. How do I know. Because I have this in my script:
tc qdisc add dev $DEV handle ffff: ingress
# Filter intranet traffic, so fit it to intranet speed
tc filter add dev $DEV parent ffff: protocol ip prio 10 u32 \
match ip src $Q_2_HOSTS \
match ip dst
2002 Jun 08
2
New qdisc path, try it (what is the problem)
hello,
this is my new qdisc patch, when i recompile the
kernel with this patch i dn''nt succeed please look at
it and if there are any mistakes plesease send me a
mail
thanks in advance
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
2004 Jul 01
20
[PATCH 2.6] update to network emulation QOS scheduler
...socket queue''s directly rather than layering on qdisc(fifo)
because this is used in performance tests.
* adds placeholder in API for future enhancements (rate and duplicate).
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
diff -urNp -X dontdiff linux-2.6/include/linux/pkt_sched.h sched-2.6/include/linux/pkt_sched.h
--- linux-2.6/include/linux/pkt_sched.h 2004-06-24 08:52:58.000000000 -0700
+++ sched-2.6/include/linux/pkt_sched.h 2004-07-01 03:53:31.185482832 -0700
@@ -439,11 +439,14 @@ enum {
#define TCA_ATM_MAX TCA_ATM_STATE
-/* Delay section */
-struct tc_dly_qopt...
2007 Jul 25
3
Patch accurate packet scheduling for ATM/ADSL
...e
the packet scheduling on ATM/ADSL link and i think I''ve found a bug.
I tried to write to the author but he didn''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 __u...
2002 Nov 20
0
Creating new qdisc?
...trying to implement a new qdisc, but I''m having trouble. Here''s what I''ve
done:
I''ve copied the TBF source into a new file, and modified it to represent my new
qdisc. Then added it to the default qdiscs in the Makefile. I modified the
header files include/net/pkt_sched.h and include/linux/pkt_sched.h to reflect
my new qdisc. The kernel compiles and runs fine. (using UML)
Then I went ahead and modified tc to include support for the qdisc, once again
using the exsisting code as a basis. It compiles and runs fine.
When I try to insert the EXISTING TBF, it works...
2003 Dec 19
2
Problems using The Ultimate Traffic Conditioner from the Cookbook
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I''m absolutely new to tc and found The Ultimate Traffic Conditioner to be
exactly what I wanted as a starting point.
Now the script doesn''t behave as I expected though, which applies to both the
CBQ and HTB versions, the latter of which being my preference.
The only changes made to the script are these assignments:
2009 Jan 18
2
[Bug 571] New: Compile of iptables 1.4.2 with testing Linux kernel 2.6.29-rc2 fails - workaround included
...libext4.a
GEN initext6.c
CC initext6.o
AR libext6.a
GEN matches4.man
GEN matches6.man
GEN targets4.man
GEN targets4.man
GEN targets6.man
CC libxt_CLASSIFY.oo
In file included from libxt_CLASSIFY.c:11:
/usr/src/linux/include/linux/pkt_sched.h:516: error: expected
specifier-qualifier-list before ?u32?
make[2]: *** [libxt_CLASSIFY.oo] Error 1
make[2]: Leaving directory `/usr/src/iptables-1.4.2/extensions'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/iptables-1.4.2'
make: *** [all] Error 2
-----------...