Re: [net-next RFC 6/8] macvtap: allow TUNSETIFF to create multiqueue device

2013-05-23 Thread Jason Wang
On 05/23/2013 07:45 PM, Michael S. Tsirkin wrote: > On Thu, May 23, 2013 at 11:12:31AM +0800, Jason Wang wrote: >> Though the queue were in fact created by open(), we still need to add this >> check >> to be compatible with tuntap which can let mgmt software use a single API to >> manage queues. T

Re: [net-next RFC 6/8] macvtap: allow TUNSETIFF to create multiqueue device

2013-05-23 Thread Michael S. Tsirkin
On Thu, May 23, 2013 at 11:12:31AM +0800, Jason Wang wrote: > Though the queue were in fact created by open(), we still need to add this > check > to be compatible with tuntap which can let mgmt software use a single API to > manage queues. This patch only validates the device name and moves the

[net-next RFC 6/8] macvtap: allow TUNSETIFF to create multiqueue device

2013-05-22 Thread Jason Wang
Though the queue were in fact created by open(), we still need to add this check to be compatible with tuntap which can let mgmt software use a single API to manage queues. This patch only validates the device name and moves the TUNSETIFF to a helper. Signed-off-by: Jason Wang --- drivers/net/ma