qemu/net
Jason Wang 1ceef9f273 net: multiqueue support
This patch adds basic multiqueue support for qemu. The idea is simple, an array
of NetClientStates were introduced in NICState, parse_netdev() were extended to
find and match all NetClientStates belongs to the backend and place their
pointers in NICConf. Then qemu_new_nic can setup a N:N mapping between NICStates
that belongs to a nic and NICStates belongs to the netdev. And a queue_index
were introduced in NetClientState to track its index. After this, each peers of
a NICState were abstracted as a queue.

After this change, all NetClientState that belongs to the same backend/nic has
the same id. When use want to change the link status, all NetClientStates that
belongs to the same backend/nic will be also changed. When user want to delete
a device or netdev, all NetClientStates that belongs to the same backend/nic
will be deleted also. Changing or deleting an specific queue is not allowed.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-02-01 11:03:01 -06:00
..
checksum.c Change license from GPLv2 to GPLv2+ 2012-02-01 16:24:54 -06:00
clients.h net: reorganize headers 2012-12-19 08:31:29 +01:00
dump.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
hub.c Merge remote-tracking branch 'bonzini/header-dirs' into staging 2012-12-19 17:15:39 -06:00
hub.h net: reorganize headers 2012-12-19 08:31:29 +01:00
Makefile.objs net: move net.c to net/ 2012-12-19 08:29:59 +01:00
net.c net: multiqueue support 2013-02-01 11:03:01 -06:00
queue.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
slirp.c HMP: add QDict to info callback handler 2013-01-17 10:24:52 -02:00
socket.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
tap_int.h net: reorganize headers 2012-12-19 08:31:29 +01:00
tap-aix.c net: reorganize headers 2012-12-19 08:31:29 +01:00
tap-bsd.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
tap-haiku.c net: reorganize headers 2012-12-19 08:31:29 +01:00
tap-linux.c net: tap: use abort() instead of assert(0) 2013-02-01 10:50:59 -06:00
tap-linux.h net: reorganize headers 2012-12-19 08:31:29 +01:00
tap-solaris.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
tap-win32.c net: tap: use abort() instead of assert(0) 2013-02-01 10:50:59 -06:00
tap.c net: tap: using bool instead of bitfield 2013-02-01 10:50:59 -06:00
util.c net: reorganize headers 2012-12-19 08:31:29 +01:00
util.h net: move parse_macaddr() to net/util.[ch] 2009-12-03 09:41:34 -06:00
vde.c net: add missing include file 2012-12-22 12:06:48 +00:00