Re: [net-next v5 6/7] tuntap: add ioctl to attach or detach a file form tuntap device

2012-11-12 Thread Michael S. Tsirkin
On Thu, Nov 01, 2012 at 01:46:01PM +0800, Jason Wang wrote: > Sometimes usespace may need to active/deactive a queue, this could be done by > detaching and attaching a file from tuntap device. > > This patch introduces a new ioctls - TUNSETQUEUE which could be used to do > this. Flag IFF_ATTACH_QU

[net-next v5 6/7] tuntap: add ioctl to attach or detach a file form tuntap device

2012-10-31 Thread Jason Wang
Sometimes usespace may need to active/deactive a queue, this could be done by detaching and attaching a file from tuntap device. This patch introduces a new ioctls - TUNSETQUEUE which could be used to do this. Flag IFF_ATTACH_QUEUE were introduced to do attaching while IFF_DETACH_QUEUE were introd