Re: [net-next rfc V3 7/9] macvtap: allow TUNSETIFF to create multiqueue device

2013-06-06 Thread Jason Wang
On 06/06/2013 03:26 PM, Michael S. Tsirkin wrote: > On Thu, Jun 06, 2013 at 03:12:52PM +0800, Jason Wang wrote: >> On 06/06/2013 02:59 PM, Michael S. Tsirkin wrote: >>> On Thu, Jun 06, 2013 at 11:13:29AM +0800, Jason Wang wrote: On 06/05/2013 06:43 PM, Michael S. Tsirkin wrote: > On Wed, J

Re: [net-next rfc V3 7/9] macvtap: allow TUNSETIFF to create multiqueue device

2013-06-06 Thread Michael S. Tsirkin
On Thu, Jun 06, 2013 at 03:12:52PM +0800, Jason Wang wrote: > On 06/06/2013 02:59 PM, Michael S. Tsirkin wrote: > > On Thu, Jun 06, 2013 at 11:13:29AM +0800, Jason Wang wrote: > >> On 06/05/2013 06:43 PM, Michael S. Tsirkin wrote: > >>> On Wed, Jun 05, 2013 at 02:36:30PM +0800, Jason Wang wrote: >

Re: [net-next rfc V3 7/9] macvtap: allow TUNSETIFF to create multiqueue device

2013-06-06 Thread Jason Wang
On 06/06/2013 02:59 PM, Michael S. Tsirkin wrote: > On Thu, Jun 06, 2013 at 11:13:29AM +0800, Jason Wang wrote: >> On 06/05/2013 06:43 PM, Michael S. Tsirkin wrote: >>> On Wed, Jun 05, 2013 at 02:36:30PM +0800, Jason Wang wrote: Though the queue were in fact created by open(), we still need to

Re: [net-next rfc V3 7/9] macvtap: allow TUNSETIFF to create multiqueue device

2013-06-05 Thread Michael S. Tsirkin
On Thu, Jun 06, 2013 at 11:13:29AM +0800, Jason Wang wrote: > On 06/05/2013 06:43 PM, Michael S. Tsirkin wrote: > > On Wed, Jun 05, 2013 at 02:36:30PM +0800, Jason Wang wrote: > >> Though the queue were in fact created by open(), we still need to add this > >> check > >> to be compatible with tunt

Re: [net-next rfc V3 7/9] macvtap: allow TUNSETIFF to create multiqueue device

2013-06-05 Thread Jason Wang
On 06/05/2013 06:43 PM, Michael S. Tsirkin wrote: > On Wed, Jun 05, 2013 at 02:36:30PM +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 V3 7/9] macvtap: allow TUNSETIFF to create multiqueue device

2013-06-05 Thread Michael S. Tsirkin
On Wed, Jun 05, 2013 at 02:36:30PM +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 V3 7/9] macvtap: allow TUNSETIFF to create multiqueue device

2013-06-04 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