login
Header Space

 
 

Re: [PATCH RFC 3/5] tun: vringfd receive support.

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Max Krasnyansky <maxk@...>
Cc: <linux-kernel@...>, <netdev@...>, <virtualization@...>
Date: Thursday, April 10, 2008 - 1:44 am

On Wednesday 09 April 2008 05:49:15 Max Krasnyansky wrote:

I started modifying tun to do this directly, but it ended up with a whole heap 
of code just for the rings, and a lot of current code (eg. read, write, poll) 
ended up inside an 'if (tun->rings) ... else {'.  Having a natural poll() 
interface for the rings made more sense, so being their own fds fell out 
naturally.

I decided to float this version because it does minimal damage to tun, and I 
know that other people have wanted rings before: I'd like to know if this is 
likely to be generic enough for them.

Thanks!
Rusty
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH RFC 1/5] vringfd syscall, Rusty Russell, (Sat Apr 5, 8:02 am)
Re: [PATCH RFC 1/5] vringfd syscall, Marcelo Tosatti, (Sat Apr 12, 1:18 pm)
Re: [PATCH RFC 1/5] vringfd syscall, Rusty Russell, (Sat Apr 12, 2:19 pm)
Re: [PATCH RFC 1/5] vringfd syscall, Marcelo Tosatti, (Sat Apr 12, 1:39 pm)
Re: [PATCH RFC 1/5] vringfd syscall, Jeremy Fitzhardinge, (Wed Apr 9, 3:28 pm)
Re: [PATCH RFC 1/5] vringfd syscall, Arnd Bergmann, (Mon Apr 7, 10:35 pm)
Re: [PATCH RFC 1/5] vringfd syscall , Jonathan Corbet, (Mon Apr 7, 1:54 pm)
Re: [PATCH RFC 1/5] vringfd syscall, Rusty Russell, (Mon Apr 7, 6:34 pm)
[PATCH RFC 2/5] vringfd base/offset, Rusty Russell, (Sat Apr 5, 8:04 am)
Re: [PATCH RFC 2/5] vringfd base/offset, Arnd Bergmann, (Tue Apr 8, 1:14 am)
Re: [PATCH RFC 2/5] vringfd base/offset, Avi Kivity, (Sat Apr 5, 8:44 am)
Re: [PATCH RFC 2/5] vringfd base/offset, Rusty Russell, (Sat Apr 5, 10:54 pm)
[PATCH RFC 3/5] tun: vringfd receive support., Rusty Russell, (Sat Apr 5, 8:05 am)
Re: [PATCH RFC 3/5] tun: vringfd receive support., Max Krasnyansky, (Tue Apr 8, 3:49 pm)
Re: [PATCH RFC 3/5] tun: vringfd receive support., Rusty Russell, (Thu Apr 10, 1:44 am)
Re: [PATCH RFC 3/5] tun: vringfd receive support., Max Krasnyanskiy, (Thu Apr 10, 1:18 pm)
Re: [PATCH RFC 3/5] tun: vringfd receive support., Max Krasnyanskiy, (Thu Apr 10, 1:02 pm)
[PATCH RFC 4/5] tun: vringfd xmit support., Rusty Russell, (Sat Apr 5, 8:06 am)
Re: [PATCH RFC 4/5] tun: vringfd xmit support., Herbert Xu, (Mon Apr 7, 1:13 am)
Re: [PATCH RFC 4/5] tun: vringfd xmit support., Rusty Russell, (Mon Apr 7, 3:24 am)
Re: [PATCH RFC 4/5] tun: vringfd xmit support., David Miller, (Mon Apr 7, 3:35 am)
Re: [PATCH RFC 4/5] tun: vringfd xmit support., Rusty Russell, (Mon Apr 7, 9:51 pm)
[PATCH RFC 5/5] lguest support, Rusty Russell, (Sat Apr 5, 8:09 am)
speck-geostationary