Date: Sat, 07 Mar 2015 08:26:57 -0800 From: Peter Grehan <grehan@freebsd.org> To: Noah Bergbauer <noah.bergbauer@tum.de> Cc: "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org> Subject: Re: bhyve virtio-net MTU Message-ID: <54FB26D1.7010607@freebsd.org> In-Reply-To: <1425732590516.79490@tum.de> References: <1425732590516.79490@tum.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54FB26D1.7010607>
