Displaying 2 results from an estimated 2 matches for "sch_xcp".
2006 Apr 11
10
created new q_disc, inserted module, tc tells me unknown qdisc
...ch, 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 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...
2006 May 23
11
how to debug RTNETLINK invalid argument?
Hey,
I am getting an invalid argument trying to insert a qdisc:
[root@emu-5 iproute2]# tc qdisc add dev eth0 root xcp capacity 50Mbit
limit 500
RTNETLINK answers: Invalid argument
I''m not sure whats wrong here, because i can successfully insert this
qdisc on other computers of mine.
How can i debug this?
Thanks!
George