2f859a3c | 20-Nov-2009 |
Juergen Lock <nox@jelal.kn-bremen.de> |
tap-bsd: handle ifname on FreeBSD hosts
Handle ifname on FreeBSD hosts; if no ifname is given, always start the search from tap0. (Simplified/cleaned up version of what has been in the FreeBSD port
tap-bsd: handle ifname on FreeBSD hosts
Handle ifname on FreeBSD hosts; if no ifname is given, always start the search from tap0. (Simplified/cleaned up version of what has been in the FreeBSD ports for a long time.)
Signed-off-by: Juergen Lock <nox@jelal.kn-bremen.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
show more ...
|
5819c918 | 27-Oct-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 i
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>
show more ...
|
839f368f | 27-Oct-2009 |
Mark McLoughlin <markmc@redhat.com> |
net/queue: queue packets even if sender doesn't supply a callback
Now that we disable any receiver whose queue is full, we do not require senders to handle a zero return by supplying a sent callback
net/queue: queue packets even if sender doesn't supply a callback
Now that we disable any receiver whose queue is full, we do not require senders to handle a zero return by supplying a sent callback.
This is a second step towards allowing can_receive() handlers to return true even if no buffer space is available.
Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
show more ...
|
88b3ec02 | 22-Oct-2009 |
Mark McLoughlin <markmc@redhat.com> |
net: move AIX code into net/tap-aix.c
Okay, this makes the tap options available on AIX even though there's no support, but if we want to do it right we should have not compile the tap code at all o
net: move AIX code into net/tap-aix.c
Okay, this makes the tap options available on AIX even though there's no support, but if we want to do it right we should have not compile the tap code at all on AIX using e.g. CONFIG_TAP.
Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
show more ...
|