From owner-freebsd-virtualization@freebsd.org Wed Jan 29 11:46:02 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E9F2D1D51B6 for ; Wed, 29 Jan 2020 11:46:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4871s65zspz4V7m for ; Wed, 29 Jan 2020 11:46:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id CD6761D51B5; Wed, 29 Jan 2020 11:46:02 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CD28F1D51B4 for ; Wed, 29 Jan 2020 11:46:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4871s659LGz4V7l for ; Wed, 29 Jan 2020 11:46:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id ABBCFB7D8 for ; Wed, 29 Jan 2020 11:46:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 00TBk2ik013708 for ; Wed, 29 Jan 2020 11:46:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00TBk2GP013707 for virtualization@FreeBSD.org; Wed, 29 Jan 2020 11:46:02 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 215737] [bhyve] utilizing virtio-net truncates jumbo frames at 4084 bytes length Date: Wed, 29 Jan 2020 11:46:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: wjw@digiware.nl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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: Wed, 29 Jan 2020 11:46:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215737 Willem Jan Withagen changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wjw@digiware.nl --- Comment #22 from Willem Jan Withagen --- What did not work for me last time I tried is: Have mtu 9000 on the physical interface, and add bridge to it. The bridge will automagically get an MTU of 9000 Then try to add a plain TAP to it, you'll get "invallid argument". Setting the tap MTU to 9000 fixes that problem. I know this is not a typical bhyve problem, but will fail when using vmrun.= sh --WjW root@zfstest:/tmp # ifconfig re0 re0: flags=3D8843 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3D8209b ether 9c:5c:8e:84:d6:21 inet 192.168.10.78 netmask 0xfffffc00 broadcast 192.168.11.255 inet 192.168.11.78 netmask 0xffffff00 broadcast 192.168.11.255 inet6 fe80::9e5c:8eff:fe84:d621%re0 prefixlen 64 scopeid 0x1 inet6 2001:4cb8:3:1::78 prefixlen 64 inet6 2001:4cb8:3:1::11:78 prefixlen 64 media: Ethernet autoselect (1000baseT ) status: active nd6 options=3D21 root@zfstest:/tmp # ifconfig re0 mtu 9000 root@zfstest:/tmp # ifconfig bridge0 create root@zfstest:/tmp # ifconfig bridge0 addm re0 up root@zfstest:/tmp # ifconfig bridge0 bridge0: flags=3D8843 metric 0 mtu = 9000 ether 02:fe:a0:7f:12:00 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: re0 flags=3D143 ifmaxaddr 0 port 1 priority 128 path cost 20000 groups: bridge nd6 options=3D9 root@zfstest:/tmp # ifconfig tap1213 create root@zfstest:/tmp # ifconfig bridge0 addm tap1213 ifconfig: BRDGADD tap1213: Invalid argument root@zfstest:/tmp # ifconfig bridge0 addm t root@zfstest:/tmp # ifconfig tap1213 mtu 9000 root@zfstest:/tmp # ifconfig bridge0 addm tap1213 root@zfstest:/tmp # --=20 You are receiving this mail because: You are the assignee for the bug.=