Mark McLoughlin wrote:
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 <mar...@redhat.com>

Could you rebase and rend this patch against master? I've got 1-4 in staging.

The GSO changes make resolving this non trivial (for me at least :-)).

Regards,

Anthony Liguori


Reply via email to