Searched hist:baf71c5c1f80d82e92924050a60b5baaf97e3094 (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | if_macvlan.h | diff dfe816c5e37272f2f3c1311f0e9934e1b4229261 Fri Jun 19 09:17:53 CDT 2015 Pankaj Gupta <pagupta@redhat.com> 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>
|
/openbmc/linux/drivers/net/ |
H A D | macvtap.c | diff dfe816c5e37272f2f3c1311f0e9934e1b4229261 Fri Jun 19 09:17:53 CDT 2015 Pankaj Gupta <pagupta@redhat.com> 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>
|
H A D | tun.c | diff baf71c5c1f80d82e92924050a60b5baaf97e3094 Mon Jan 12 00:11:29 CST 2015 Pankaj Gupta <pagupta@redhat.com> tuntap: Increase the number of queues in tun.
Networking under kvm works best if we allocate a per-vCPU RX and TX queue in a virtual NIC. This requires a per-vCPU queue on the host side.
It is now safe to increase the maximum number of queues. Preceding patch: 'net: allow large number of rx queues' made sure this won't cause failures due to high order memory allocations. Increase it to 256: this is the max number of vCPUs KVM supports.
Size of tun_struct changes from 8512 to 10496 after this patch. This keeps pages allocated for tun_struct before and after the patch to 3.
Signed-off-by: Pankaj Gupta <pagupta@redhat.com> Reviewed-by: David Gibson <dgibson@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|