From nobody Sun Mar 31 00:24:13 2024 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4V6ZdT2SLpz5GMfW for ; Sun, 31 Mar 2024 00:24:13 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V6ZdT0Pzwz58GR for ; Sun, 31 Mar 2024 00:24:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711844653; a=rsa-sha256; cv=none; b=I4hI0e0PG6LEuFutd6UOrsriJoMgP9Cxo0CgqHWTfdKrbnGQghD6p/Y/0t5cnB1aD5Mhnh 0L4wihtxeYScnIw7N6UoDghUPLKgHiEI8rW79oZWteSLPOHJ/BIk1tIG5BqMMh1w2B5r+I W+IRyOZLZwxWFZ2MAPrkZKpaRoOUKC/MN1d5M+r/icuA8kMqGdOrynCuuVT3OIdz78rQD0 iXY/nDOJLkZqGtXrJWWinEvbB10PnBR3EGDtVs0J1FavwYe02gubB00t3GyMwFn6eXEeRK Vsytr0j7YdBeFiprLZdp1w2VtmLQhFcoXfnlx5cuqtBk/Lk5ZMECyfCdzXQR5g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711844653; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HEzLIoXcpHS2zzb/Vk4RI3DmVNY52D0zoJOqtiUXUl0=; b=e+8F+xXlcEtcisdjE4pQp8C5JKGaF7QJuHERVUTIceTMBKVEwM5nswHgInQySBrNp69Z+0 yew3d7wa0xIZgpSlMH7RiMW8GH+9NihaxhOkLWJYeI6NCZPTsVq/FgVQyBAtGACWqN3mnh fORdjYSMbU48BwU6X1UXQpNrraYMOGTX/nRyYpfRw33P0Rci+MH7PRI9TL9zy/oi7Y7FCa +JgGdGbyhyM7Cro21341gvcC7Vsg1ETxzr7Z4w91/TLjmaq2XNNmcrgqpNKK4qcxcSxxhi 52M6umy0JWvK1nvBVxVXShrfi3weMGS3sabp+wMEo/nmSID4T7P1zVyJf1N6Mg== 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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4V6ZdS73YzzGFp for ; Sun, 31 Mar 2024 00:24:12 +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 42V0OCE9027852 for ; Sun, 31 Mar 2024 00:24:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42V0OCMB027851 for virtualization@FreeBSD.org; Sun, 31 Mar 2024 00:24:12 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 278058] Simultaneous use of Bhyve AND vnet on network PCI devices causes network failure Date: Sun, 31 Mar 2024 00:24:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mark@markmcb.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278058 Bug ID: 278058 Summary: Simultaneous use of Bhyve AND vnet on network PCI devices causes network failure Product: Base System Version: 14.0-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: mark@markmcb.com This is a more specific report that follows PR 273372 [1] and a forum post = [2]. Simultaneous use of vnet and byhve will cause networking networking to fail= if both are used on PCI hardware devices. Setup: 2 SR-IOV VFs created from a capable card (the vendor doesn't matter, I've tried Intel, Chelsio, and Mellanox). Fail Scenario: 1 passed through to a bhyve guest (OS doesn't matter). 1 set= up with vnet for a jail. About 90 seconds after both are running, networking d= ies. Only console access is possible. Non-Fail Scenario: 2 byhve guests setup. 1 VF passed to each. One of the gu= ests is FreeBSD, and in that guest give the network device to a jail and set it = up with vnet. No problems. Also Non-Fail: Any number of bhyve passthrough devices OR any number of vnet jails using VFs. Alone they work just fine. It's only when together there i= s an issue. There appears to be a conflict between byhve and vnet when both are in use = "on the same level," but if you separate them with a layer virtualization, no issues arise. 1. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273372 2. https://forums.freebsd.org/threads/pci-passthrough-of-vfs-crash-host-card-i= f-jails-bhyve-in-use.92409/ --=20 You are receiving this mail because: You are the assignee for the bug.=