Re: [net-next rfc V2 7/8] macvtap: add TUNSETQUEUE ioctl

2013-06-04 Thread Jason Wang
On 06/04/2013 03:05 PM, Michael S. Tsirkin wrote: > On Tue, Jun 04, 2013 at 01:54:56PM +0800, Jason Wang wrote: >> On 06/03/2013 07:09 PM, Michael S. Tsirkin wrote: >>> On Mon, Jun 03, 2013 at 01:20:58PM +0800, Jason Wang wrote: On 06/02/2013 07:22 PM, Michael S. Tsirkin wrote: > On Fri, M

Re: [net-next rfc V2 7/8] macvtap: add TUNSETQUEUE ioctl

2013-06-04 Thread Michael S. Tsirkin
On Tue, Jun 04, 2013 at 01:54:56PM +0800, Jason Wang wrote: > On 06/03/2013 07:09 PM, Michael S. Tsirkin wrote: > > On Mon, Jun 03, 2013 at 01:20:58PM +0800, Jason Wang wrote: > >> On 06/02/2013 07:22 PM, Michael S. Tsirkin wrote: > >>> On Fri, May 31, 2013 at 05:53:24PM +0800, Jason Wang wrote: >

Re: [net-next rfc V2 7/8] macvtap: add TUNSETQUEUE ioctl

2013-06-03 Thread Jason Wang
On 06/03/2013 07:09 PM, Michael S. Tsirkin wrote: > On Mon, Jun 03, 2013 at 01:20:58PM +0800, Jason Wang wrote: >> On 06/02/2013 07:22 PM, Michael S. Tsirkin wrote: >>> On Fri, May 31, 2013 at 05:53:24PM +0800, Jason Wang wrote: This patch adds TUNSETQUEUE ioctl to let userspace can temporaril

Re: [net-next rfc V2 7/8] macvtap: add TUNSETQUEUE ioctl

2013-06-03 Thread Michael S. Tsirkin
On Mon, Jun 03, 2013 at 01:20:58PM +0800, Jason Wang wrote: > On 06/02/2013 07:22 PM, Michael S. Tsirkin wrote: > > On Fri, May 31, 2013 at 05:53:24PM +0800, Jason Wang wrote: > >> This patch adds TUNSETQUEUE ioctl to let userspace can temporarily disable > >> or > >> enable a queue of macvtap. Th

Re: [net-next rfc V2 7/8] macvtap: add TUNSETQUEUE ioctl

2013-06-02 Thread Jason Wang
On 06/02/2013 07:22 PM, Michael S. Tsirkin wrote: > On Fri, May 31, 2013 at 05:53:24PM +0800, Jason Wang wrote: >> This patch adds TUNSETQUEUE ioctl to let userspace can temporarily disable or >> enable a queue of macvtap. This is used to be compatible at API layer of >> tuntap >> to simplify the

Re: [net-next rfc V2 7/8] macvtap: add TUNSETQUEUE ioctl

2013-06-02 Thread Michael S. Tsirkin
On Fri, May 31, 2013 at 05:53:24PM +0800, Jason Wang wrote: > This patch adds TUNSETQUEUE ioctl to let userspace can temporarily disable or > enable a queue of macvtap. This is used to be compatible at API layer of > tuntap > to simplify the userspace to manage the queues. > > This is done by spl

[net-next rfc V2 7/8] macvtap: add TUNSETQUEUE ioctl

2013-05-31 Thread Jason Wang
This patch adds TUNSETQUEUE ioctl to let userspace can temporarily disable or enable a queue of macvtap. This is used to be compatible at API layer of tuntap to simplify the userspace to manage the queues. This is done by split the taps array into three different areas: - [0, numvtaps) : enabled