From owner-freebsd-current@FreeBSD.ORG Mon Aug 5 00:12:34 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 33F56405 for ; Mon, 5 Aug 2013 00:12:34 +0000 (UTC) (envelope-from bryanv@daemoninthecloset.org) Received: from torment.daemoninthecloset.org (torment.daemoninthecloset.org [94.242.209.234]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EAF372F71 for ; Mon, 5 Aug 2013 00:12:33 +0000 (UTC) Received: from sage.daemoninthecloset.org (unknown [70.114.209.60]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "sage.daemoninthecloset.org", Issuer "daemoninthecloset.org" (verified OK)) by torment.daemoninthecloset.org (Postfix) with ESMTPS id DC1FE42C08C4 for ; Mon, 5 Aug 2013 02:16:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at daemoninthecloset.org X-Virus-Scanned: amavisd-new at daemoninthecloset.org Date: Sun, 4 Aug 2013 19:12:17 -0500 (CDT) From: Bryan Venteicher To: current@freebsd.org Message-ID: <601099152.721.1375661537866.JavaMail.root@daemoninthecloset.org> In-Reply-To: <1050637258.686.1375660230986.JavaMail.root@daemoninthecloset.org> Subject: [CFT] VMware vmxnet3 ethernet driver MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.10.20] X-Mailer: Zimbra 8.0.2_GA_5569 (ZimbraWebClient - GC20 ([unknown])/8.0.2_GA_5569) Thread-Topic: VMware vmxnet3 ethernet driver Thread-Index: 53UDZogjsC0f1OuMIle9ebXg7GUjTw== X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Aug 2013 00:12:34 -0000 Hi, I've ported the OpenBSD vmxnet3 ethernet driver to FreeBSD. I did a lot of cleanup, bug fixes, new features, etc (+2000 new lines) along the way so there is not much of a resemblance left. The driver is in good enough shape I'd like additional testers. A patch against -CURRENT is at [1]. Alternatively, the driver and a Makefile is at [2]; this should compile at least as far back as 9.1. I can look at 8-STABLE if there is interest. Obviously, besides reports of 'it works', I'm interested performance vs the emulated e1000, and (for those using it) the VMware tools vmxnet3 driver. Hopefully it is no worse :) The drivers supports most VMXNET3 features - IPv4/IPv6 checksum offload, TSO, LRO, VLAN tag offload. AFAIK, the only notable missing feature is multiqueue; 3/4 of the code needed is already in the driver, but I don't have time to do final bit of work. Most of the development was done on QEMU 1.5, but also tested on VMware Fusion and VMware ESXi. [1] - http://people.freebsd.org/~bryanv/vmware/if_vmx.patch [2] - http://people.freebsd.org/~bryanv/vmware/files/