qemu-e2k/net
Paolo Bonzini 987a9b4800 net: notify iothread after flushing queue
virtio-net has code to flush the queue and notify the iothread
whenever new receive buffers are added by the guest.  That is
fine, and indeed we need to do the same in all other drivers.
However, notifying the iothread should be work for the network
subsystem.  And since we are at it we can add a little smartness:
if some of the queued packets already could not be delivered,
there is no need to notify the iothread.

Reported-by: Luigi Rizzo <rizzo@iet.unipi.it>
Cc: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Cc: Jan Kiszka <jan.kiszka@siemens.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Amos Kong <akong@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
2012-09-14 08:40:31 +01:00
..
Makefile.objs net: Add a hub net client 2012-08-01 12:28:51 +01:00
checksum.c Change license from GPLv2 to GPLv2+ 2012-02-01 16:24:54 -06:00
checksum.h net: move net-checksum.c under net/ 2009-10-30 08:39:26 -05:00
dump.c net: Rename VLANClientState to NetClientState 2012-08-01 13:32:10 +01:00
dump.h net: Rename VLANClientState to NetClientState 2012-08-01 13:32:10 +01:00
hub.c hub: add the support for hub own flow control 2012-08-01 13:32:11 +01:00
hub.h net: Rename VLANClientState to NetClientState 2012-08-01 13:32:10 +01:00
queue.c net: notify iothread after flushing queue 2012-09-14 08:40:31 +01:00
queue.h net: notify iothread after flushing queue 2012-09-14 08:40:31 +01:00
slirp.c qapi: avoid reserved keywords 2012-08-09 18:34:57 +00:00
slirp.h net: Rename VLANClientState to NetClientState 2012-08-01 13:32:10 +01:00
socket.c monitor: Rename+move net_handle_fd_param -> monitor_handle_fd_param 2012-09-07 09:15:08 +03:00
socket.h net: Rename VLANClientState to NetClientState 2012-08-01 13:32:10 +01:00
tap-aix.c convert net_init_tap() to NetClientOptions 2012-07-23 11:55:18 +01:00
tap-bsd.c convert net_init_tap() to NetClientOptions 2012-07-23 11:55:18 +01:00
tap-haiku.c convert net_init_tap() to NetClientOptions 2012-07-23 11:55:18 +01:00
tap-linux.c convert net_init_tap() to NetClientOptions 2012-07-23 11:55:18 +01:00
tap-linux.h tap: add APIs for vnet header length 2010-09-07 20:27:33 +03:00
tap-solaris.c convert net_init_tap() to NetClientOptions 2012-07-23 11:55:18 +01:00
tap-win32.c net: Rename vc local variables to nc 2012-08-01 13:32:10 +01:00
tap.c monitor: Rename+move net_handle_fd_param -> monitor_handle_fd_param 2012-09-07 09:15:08 +03:00
tap.h net: Rename vc local variables to nc 2012-08-01 13:32:10 +01:00
util.c net: move parse_macaddr() to net/util.[ch] 2009-12-03 09:41:34 -06:00
util.h net: move parse_macaddr() to net/util.[ch] 2009-12-03 09:41:34 -06:00
vde.c net: Rename VLANClientState to NetClientState 2012-08-01 13:32:10 +01:00
vde.h net: Rename VLANClientState to NetClientState 2012-08-01 13:32:10 +01:00