Displaying 7 results from an estimated 7 matches for "register_qdisc".
Did you mean:
register_disk
2006 Apr 11
10
created new q_disc, inserted module, tc tells me unknown qdisc
...quot;, "xcp" ..... };
sch_xcp.c:
static int xcp_enqueue()
static int xcp_requeue()
static struct sk_buff * xcp_dequeue()
....
....
struct Qdisc_ops xcp_qdisc_ops ={ NULL,NULL,"xcp",.... };
printk(KERN_INFO "XCP qdisc module loaded.\n");
return register_qdisc(&xcp_qdisc_ops);
So, i make everything successfully, it creates q_xcp.so and copies it to /usr/lib and sch_xcp.o which it copies to /lib/modules/... so then I "insmod sch_xcp" and i see in dmesg:
"XCP qdisc module loaded."
I then try:
"tc qdisc add dev eth0 root xcp...
2002 Mar 18
2
Failed to insmod sch_htb
...age modules
modules_install copy the new kernel
reboot
fine
But when i :
server:~# insmod sch_htb
Using /lib/modules/2.4.17/kernel/net/sched/sch_htb.o
/lib/modules/2.4.17/kernel/net/sched/sch_htb.o: unresolved symbol
qdisc_get_rtab/lib/modules/2.4.17/kernel/net/sched/sch_htb.o:
unresolved symbol
unregister_qdisc/lib/modules/2.4.17/kernel/net/sched/sch_htb.o:
unresolved symbol
qdisc_put_rtab/lib/modules/2.4.17/kernel/net/sched/sch_htb.o:
unresolved symbol
register_qdisc/lib/modules/2.4.17/kernel/net/sched/sch_htb.o:
unresolved symbol
pfifo_qdisc_ops/lib/modules/2.4.17/kernel/net/sched/sch_htb.o:
unresolved...
2004 Mar 18
6
[PATCH] packet delay scheduler
....enqueue = dly_enqueue,
+ .dequeue = dly_dequeue,
+ .requeue = dly_requeue,
+ .drop = dly_drop,
+ .init = dly_init,
+ .reset = dly_reset,
+ .destroy = dly_destroy,
+ .change = dly_change,
+ .dump = dly_dump,
+ .owner = THIS_MODULE,
+};
+
+
+static int __init dly_module_init(void)
+{
+ return register_qdisc(&dly_qdisc_ops);
+}
+static void __exit dly_module_exit(void)
+{
+ unregister_qdisc(&dly_qdisc_ops);
+}
+module_init(dly_module_init)
+module_exit(dly_module_exit)
+MODULE_LICENSE("GPL");
2004 Jul 01
20
[PATCH 2.6] update to network emulation QOS scheduler
....enqueue = dly_enqueue,
- .dequeue = dly_dequeue,
- .requeue = dly_requeue,
- .drop = dly_drop,
- .init = dly_init,
- .reset = dly_reset,
- .destroy = dly_destroy,
- .change = dly_change,
- .dump = dly_dump,
- .owner = THIS_MODULE,
-};
-
-
-static int __init dly_module_init(void)
-{
- return register_qdisc(&dly_qdisc_ops);
-}
-static void __exit dly_module_exit(void)
-{
- unregister_qdisc(&dly_qdisc_ops);
-}
-module_init(dly_module_init)
-module_exit(dly_module_exit)
-MODULE_LICENSE("GPL");
diff -urNp -X dontdiff linux-2.6/net/sched/sch_netem.c sched-2.6/net/sched/sch_netem.c
--- li...
2004 Jun 22
3
[ANNOUNCE] sch_ooo - Out-of-order packet queue discipline
...init,
+ .reset = ooo_reset,
+ .destroy = ooo_destroy,
+ .change = ooo_init,
+ .dump = ooo_dump,
+ .owner = THIS_MODULE,
+};
+
+static int __init init_ooo(void)
+{
+ int ret;
+
+ printk(KERN_DEBUG "%s: (C)opyright Catalin(ux aka Dino) BOIE 2003-2004\n",
+ MODULE_NAME);
+
+ ret = register_qdisc(&ooo_qdisc_ops);
+ if (ret != 0) {
+ printk(KERN_DEBUG "%s: cannot register qdisc ooo. Sorry!\n",
+ MODULE_NAME);
+ return -ENOMEM;
+ }
+
+ return 0;
+}
+
+static void __exit exit_ooo(void)
+{
+ int ret;
+
+ printk(KERN_DEBUG "%s: Goodbye!\n", MODULE_NAME);
+
+ ret...
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 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