]> asedeno.scripts.mit.edu Git - linux.git/commit
macvtap: Increase limit of macvtap queues
authorPankaj Gupta <pagupta@redhat.com>
Fri, 19 Jun 2015 14:17:53 +0000 (19:47 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Jun 2015 13:14:04 +0000 (06:14 -0700)
commitdfe816c5e37272f2f3c1311f0e9934e1b4229261
tree2f0a94a5f77102a4a2a2698ebd11aa77ce60a9ea
parent0fb1170ee68a6aa14eca0666e02c4b62cbf1251d
macvtap: Increase limit of macvtap queues

Macvtap should be compatible with tuntap for
maximum number of queues.

commit 'baf71c5c1f80d82e92924050a60b5baaf97e3094 (tuntap:
Increase the number of queues in tun.)' removes
the limitations and increases number of queues in tuntap.
Now, Its safe to increase number of queues in Macvtap as well.

This patch also modifies 'macvtap_del_queues' function
to avoid extra memory allocation in stack.

Changes from v1->v2 :
Michael S. Tsirkin, Jason Wang  :
                  Better way to use linked list to
avoid use of extra memory in stack.
Sergei Shtylyov : Specify dependent commit's summary.

Signed-off-by: Pankaj Gupta <pagupta@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvtap.c
include/linux/if_macvlan.h