From patchwork Mon Mar 25 12:26:06 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Hajnoczi X-Patchwork-Id: 230694 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 61AA82C00A7 for ; Mon, 25 Mar 2013 23:27:22 +1100 (EST) Received: from localhost ([::1]:40561 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UK6Ui-0003bF-Hz for incoming@patchwork.ozlabs.org; Mon, 25 Mar 2013 08:27:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43768) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UK6Tl-00030O-NY for qemu-devel@nongnu.org; Mon, 25 Mar 2013 08:26:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UK6Ti-00044k-O4 for qemu-devel@nongnu.org; Mon, 25 Mar 2013 08:26:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:27492) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UK6Ti-00044e-Fi for qemu-devel@nongnu.org; Mon, 25 Mar 2013 08:26:18 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r2PCQH3s026456 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 25 Mar 2013 08:26:17 -0400 Received: from localhost (ovpn-112-26.ams2.redhat.com [10.36.112.26]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r2PCQGHw025143; Mon, 25 Mar 2013 08:26:17 -0400 From: Stefan Hajnoczi To: Date: Mon, 25 Mar 2013 13:26:06 +0100 Message-Id: <1364214373-2444-1-git-send-email-stefanha@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: Anthony Liguori , Stefan Hajnoczi Subject: [Qemu-devel] [PULL 0/7] Net patches X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org The big change here is the new vmxnet3 emulated NIC. The following changes since commit fe6344a05fba26e16863fefcb823242e579b0991: Remove device_tree.o from hw/moxie/Makefile.objs. (2013-03-24 11:30:04 +0100) are available in the git repository at: git://github.com/stefanha/qemu.git net for you to fetch changes up to d32fcad366e5f45d33dab2ee4de0e5729439680b: net: increase buffer size to accommodate Jumbo frame pkts (2013-03-25 11:14:07 +0100) ---------------------------------------------------------------- Dmitry Fleytman (5): Checksum-related utility functions net: iovec checksum calculator Common definitions for VMWARE devices Packet abstraction for VMWARE network devices VMXNET3 device implementation Scott Feldman (1): net: increase buffer size to accommodate Jumbo frame pkts Stefan Hajnoczi (1): net: use socket_set_nodelay() for -netdev socket default-configs/pci.mak | 1 + hw/Makefile.objs | 2 + hw/pci/pci.h | 1 + hw/vmware_utils.h | 143 +++ hw/vmxnet3.c | 2461 +++++++++++++++++++++++++++++++++++++++++++++++ hw/vmxnet3.h | 760 +++++++++++++++ hw/vmxnet_debug.h | 115 +++ hw/vmxnet_rx_pkt.c | 187 ++++ hw/vmxnet_rx_pkt.h | 174 ++++ hw/vmxnet_tx_pkt.c | 567 +++++++++++ hw/vmxnet_tx_pkt.h | 148 +++ include/net/checksum.h | 26 +- include/net/eth.h | 347 +++++++ include/net/net.h | 5 + net/Makefile.objs | 1 + net/checksum.c | 42 +- net/eth.c | 217 +++++ net/net.c | 2 +- net/socket.c | 7 +- net/tap.c | 7 +- net/vde.c | 2 +- 21 files changed, 5198 insertions(+), 17 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_rx_pkt.c create mode 100644 hw/vmxnet_rx_pkt.h create mode 100644 hw/vmxnet_tx_pkt.c create mode 100644 hw/vmxnet_tx_pkt.h create mode 100644 include/net/eth.h create mode 100644 net/eth.c