Home
last modified time | relevance | path

Searched hist:"5819 c91806911e0976a187cf908b429ecb138da5" (Results 1 – 1 of 1) sorted by relevance

/qemu/net/
H A Dtap.c5819c91806911e0976a187cf908b429ecb138da5 Tue Oct 27 18:16:39 UTC 2009 Mark McLoughlin <markmc@redhat.com> tap: drain queue in tap_send()

Okay, let's try re-enabling the drain-entire-queue behaviour, with a
difference - before each subsequent packet, use qemu_can_send_packet()
to check that we can send it. This is similar to how we check before
polling the tap fd and avoids having to drop a packet if the receiver
cannot handle it.

This patch should be a performance improvement since we no longer have
to go through the mainloop for each packet.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>