[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/7 V6] VMXNET3 paravirtual NIC device implementatio
From: |
Dmitry Fleytman |
Subject: |
[Qemu-devel] [PATCH 0/7 V6] VMXNET3 paravirtual NIC device implementation |
Date: |
Tue, 17 Apr 2012 15:32:34 +0300 |
From: Dmitry Fleytman <address@hidden>
This set of patches implements VMWare VMXNET3 paravirtual NIC device.
The device supports of all the device features including offload capabilties,
VLANs and etc.
The device is tested on different OSes:
Fedora 15
Ubuntu 10.4
Centos 6.2
Windows 2008R2
Windows 2008 64bit
Windows 2008 32bit
Windows 2003 64bit
Windows 2003 32bit
Changes in V6:
Fixed most of problems pointed out by Michael S. Tsirkin
The only issue still open is creation of shared place
with generic network structures and functions. Currently
all generic network code introduced by VMXNET3 resides in
vmxnet_utils.c/h files. It could be moved to some shared location however
we believe it is a matter of separate refactoring as there are a lot of
copy-pasted
definitions in almost every device and code cleanup efforts requred in order
to create truly shared codebase.
Reported-by: Michael S. Tsirkin <address@hidden>
Implemented suggestions by Anthony Liguori
Reported-by: Anthony Liguori <address@hidden>
Fixed incorrect checksum caclulation for some packets in SW offloads mode
Reported-by: Gerhard Wiesinger <address@hidden>
Changes in V5:
MSI-X save/load implemented in the device instead of pci bus as
suggested by Michael S. Tsirkin
Reported-by: Michael S. Tsirkin <address@hidden>
Patches regrouped as suggested by Paolo Bonzini
Reported-by: Paolo Bonzini <address@hidden>
Changes in V4:
Fixed a few problems uncovered by NETIO test suit
Assertion on failure to initialize MSI/MSI-X replaced with warning
message and fallback to Legacy/MSI respectively
Reported-by: Gerhard Wiesinger <address@hidden>
Various coding style adjustments and patch split-up as suggested by Anthony
Liguori
Reported-by: Anthony Liguori <address@hidden>
Live migration support added
Changes in V3:
Fixed crash when net device that is used as network fronted has no
virtio HDR support.
Task offloads emulation for cases when net device that is used as
network fronted has no virtio HDR support.
Reported-by: Gerhard Wiesinger <address@hidden>
Changes in V2:
License text changed accoring to community suggestions
Standard license header from GPLv2+ - licensed QEMU files used
Dmitry Fleytman (7):
Adding missing flag VIRTIO_NET_HDR_F_DATA_VALID from Linux kernel
source tree Reformatting comments according to checkpatch.pl
requirements
Adding utility function net_checksum_add_cont() that allows checksum
calculation of scattered data with odd chunk sizes
Adding utility function iov_net_csum_add() for iovec checksum
calculation Adding utility function iov_rebuild() for smart
iovec copy
Header with various utility functions shared by VMWARE SCSI and
network devices
Various utility functions used by VMWARE network devices
Packet abstraction used by VMWARE network devices
VMXNET3 paravirtualized device implementation Device "vmxnet3"
added.
Makefile.objs | 1 +
default-configs/pci.mak | 1 +
hw/pci.h | 1 +
hw/virtio-net.h | 13 +-
hw/vmware_utils.h | 126 +++
hw/vmxnet3.c | 2435 +++++++++++++++++++++++++++++++++++++++++++++++
hw/vmxnet3.h | 762 +++++++++++++++
hw/vmxnet_debug.h | 121 +++
hw/vmxnet_pkt.c | 776 +++++++++++++++
hw/vmxnet_pkt.h | 311 ++++++
hw/vmxnet_utils.c | 219 +++++
hw/vmxnet_utils.h | 341 +++++++
iov.c | 53 +
iov.h | 6 +
net/checksum.c | 13 +-
net/checksum.h | 14 +-
16 files changed, 5180 insertions(+), 13 deletions(-)
create mode 100644 hw/vmware_utils.h
create mode 100644 hw/vmxnet3.c
create mode 100644 hw/vmxnet3.h
create mode 100644 hw/vmxnet_debug.h
create mode 100644 hw/vmxnet_pkt.c
create mode 100644 hw/vmxnet_pkt.h
create mode 100644 hw/vmxnet_utils.c
create mode 100644 hw/vmxnet_utils.h
--
1.7.7.6
- [Qemu-devel] [PATCH 0/7 V6] VMXNET3 paravirtual NIC device implementation,
Dmitry Fleytman <=
- [Qemu-devel] [PATCH 1/7 V6] Adding missing flag VIRTIO_NET_HDR_F_DATA_VALID from Linux kernel source tree Reformatting comments according to checkpatch.pl requirements, Dmitry Fleytman, 2012/04/17
- [Qemu-devel] [PATCH 2/7 V6] Adding utility function net_checksum_add_cont() that allows checksum calculation of scattered data with odd chunk sizes, Dmitry Fleytman, 2012/04/17
- [Qemu-devel] [PATCH 4/7 V6] Header with various utility functions shared by VMWARE SCSI and network devices, Dmitry Fleytman, 2012/04/17
- [Qemu-devel] [PATCH 3/7 V6] Adding utility function iov_net_csum_add() for iovec checksum calculation Adding utility function iov_rebuild() for smart iovec copy, Dmitry Fleytman, 2012/04/17
- [Qemu-devel] [PATCH 5/7 V6] Various utility functions used by VMWARE network devices, Dmitry Fleytman, 2012/04/17
- [Qemu-devel] [PATCH 6/7 V6] Packet abstraction used by VMWARE network devices, Dmitry Fleytman, 2012/04/17
- [Qemu-devel] [PATCH 7/7 V6] VMXNET3 paravirtualized device implementation Device "vmxnet3" added., Dmitry Fleytman, 2012/04/17