From owner-freebsd-virtualization@FreeBSD.ORG Sat Mar 7 16:27:05 2015 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DA674AF7 for ; Sat, 7 Mar 2015 16:27:05 +0000 (UTC) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 95F723F3 for ; Sat, 7 Mar 2015 16:27:05 +0000 (UTC) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id 388AD281164 for ; Sun, 8 Mar 2015 02:27:02 +1000 (EST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au X-Virus-Scanned: amavisd-new at iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a4ANrkZR9b03 for ; Sun, 8 Mar 2015 02:27:02 +1000 (EST) Received: from Peters-MacBook-Pro.local (c-76-126-65-88.hsd1.ca.comcast.net [76.126.65.88]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 0EC68281161; Sun, 8 Mar 2015 02:26:59 +1000 (EST) Message-ID: <54FB26D1.7010607@freebsd.org> Date: Sat, 07 Mar 2015 08:26:57 -0800 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Noah Bergbauer Subject: Re: bhyve virtio-net MTU References: <1425732590516.79490@tum.de> In-Reply-To: <1425732590516.79490@tum.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Mar 2015 16:27:05 -0000 Hi Noah, > Any ideas on how I can fix this? I had a quick look at the code and > while a comment indicates that Ethernet-sized packets are assumed The appended patch is a temporary fix. I'm working on a better one. later, Peter. --- a/e82580/pci_virtio_net.c +++ b/e82580/pci_virtio_net.c @@ -82,7 +82,7 @@ __FBSDID("$FreeBSD: head/usr.sbin/bhyve/pci_virtio_net.c 271338 2014-09-09 22:35 (1 << 21) /* guest can send gratuitous pkts */ #define VTNET_S_HOSTCAPS \ - ( VIRTIO_NET_F_MAC | VIRTIO_NET_F_MRG_RXBUF | VIRTIO_NET_F_STATUS | \ + ( VIRTIO_NET_F_MAC | VIRTIO_NET_F_STATUS | \ VIRTIO_F_NOTIFY_ON_EMPTY)