hw: move headers to include/
Many of these should be cleaned up with proper qdev-/QOM-ification.Right now there are many catch-all headers in include/hw/ARCH dependingon cpu.h, and this makes it necessary to compile these files per-target.However, fixing this does not belong in these patches....
net: increase buffer size to accommodate Jumbo frame pkts
Socket buffer sizes were hard-coded to 4K for VDE and socket netdevs. Bump thisup to 68K (ala tap netdev) to handle maximum GSO packet size (64k) plus plentyof room for the ethernet and virtio_net headers....
net: iovec checksum calculator
Signed-off-by: Dmitry Fleytman <dmitry@daynix.com>Signed-off-by: Yan Vugenfirer <yan@daynix.com>Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Common definitions for VMWARE devices
Checksum-related utility functions
net_checksum_add_cont()checksum calculation for scattered data with odd chunk sizes
net_raw_checksum()checksum calculation for a buffer
Signed-off-by: Dmitry Fleytman <dmitry@daynix.com>Signed-off-by: Yan Vugenfirer <yan@daynix.com>...
net: reduce the unnecessary memory allocation of multiqueue
Edivaldo reports a problem that the array of NetClientState in NICState is toolarge - MAX_QUEUE_NUM(1024) which will wastes memory even if multiqueue is notused.
Instead of static arrays, solving this issue by allocating the queues on demand...
tap: support enabling or disabling a queue
This patch introduce a new bit - enabled in TAPState which tracks whether aspecific queue/fd is enabled. The tap/fd is enabled during initialization andcould be enabled/disabled by tap_enalbe() and tap_disable() which calls platform...
tap: introduce a helper to get the name of an interface
This patch introduces a helper tap_get_ifname() to get the device name of tapdevice. This is needed when ifname is unspecified in the command line and qemuwere asked to create tap device by itself. In this situation, the name were...
tap: multiqueue support
Recently, linux support multiqueue tap which could let userspace call TUNSETIFFfor a signle device many times to create multiple file descriptors asindependent queues. User could also enable/disabe a specific queue throughTUNSETQUEUE....
net: multiqueue support
This patch adds basic multiqueue support for qemu. The idea is simple, an arrayof NetClientStates were introduced in NICState, parse_netdev() were extended tofind and match all NetClientStates belongs to the backend and place their...
View revisions
Also available in: Atom