From: Chris Groenewald <s9901717@tuks.co.za>
To: lartc@vger.kernel.org
Subject: [LARTC] Creating new qdisc?
Date: Wed, 20 Nov 2002 08:49:42 +0000 [thread overview]
Message-ID: <marc-lartc-103778226518540@msgid-missing> (raw)
Hi all,
I am 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 great. When I call tc with the
same arguments, but for my new qdisc it returns (i gather
infamous): "RT_NETLINK: Invalid argument". I didn't change the actual
parameters or code for the qdisc, so it is still identical to the default TBF.
So the parameters I pass *should* be fine.
I'm wondering if I left something out that the kernel requires to recognize the
new qdisc.
Thanks in advance.
Yell if you need more code/information.
Chris Groenewald.
\"And on the eighth day, we bulldozed it.\"
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
reply other threads:[~2002-11-20 8:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-103778226518540@msgid-missing \
--to=s9901717@tuks.co.za \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.