[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <475D4DEE.2080308@ee.ethz.ch>
Date: Mon, 10 Dec 2007 15:32:14 +0100
From: Ariane Keller <ariane.keller@....ee.ethz.ch>
To: Patrick McHardy <kaber@...sh.net>
CC: Ariane Keller <ariane.keller@....ee.ethz.ch>,
Ben Greear <greearb@...delatech.com>,
Stephen Hemminger <shemminger@...ux-foundation.org>,
netdev@...r.kernel.org, herbert@...dor.apana.org.au,
Rainer Baumann <baumann@....ee.ethz.ch>
Subject: Re: [PATCH 0/2] netem: trace enhancement
I finally managed to rewrite the netem trace extension to use rtnetlink
communication for the data transfer for user space to kernel space.
The kernel patch is available here:
http://www.tcn.hypert.net/tcn_kernel_2_6_23_rtnetlink
and the iproute patch is here:
http://www.tcn.hypert.net/tcn_iproute2_2_6_23_rtnetlink
Whenever new data is needed the kernel module sends a notification to
the user space process. Thereupon the user space process sends a data
package to the kernel module.
I had to write a new qdisc_notify function (qdisc_notify_pid) since the
other was acquiring a lock, which we already hold in this situation.
I hope everything works as expected and I'm looking forward for your
comments.
Thanks!
Ariane
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists