From nobody Tue May 16 19:43:49 2023 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 4QLRWB2lRnz4BPQZ for ; Tue, 16 May 2023 19:43:50 +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 4QLRW96X7Mz4GnH for ; Tue, 16 May 2023 19:43:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684266229; 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=Jm7YictA4/3iPzhIj/rqpUUOnkB+TFo1irZVzar3Pco=; b=xpAr4VVzjd18rAPtoQihTuFIpVP1c5hX3/QXTRvUsI7fg9ZeNRkJkItndAIqX+wbQUn6bl foBBSEw8SIdq1Nj+n0PcAy8kFzdptubVdJIVGWW7sfUoyVuNakrJ7xxeetTn8BscNxUQrR e3OWBYOzOmEiuokAovzxE/x12GBVry/6xINk6g7XHDzsImBQ6cWIW6aZ8CAKDUecdWQlAd 8SEc4dUw0K6gu0ZTRPypS//Rb5npeBqTcVhqT8lsg8iKg99VQN+6upL7GSVeA5s8e10uQ5 mju2bSZC/2fTGf597IAYpRGZY1H1ag0QHigiY44dJmb/GqQ2UQclAAP6peT3ng== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684266229; a=rsa-sha256; cv=none; b=QNHn2bZ9bzuFuIUL1h+mMDLVzlpHpVmkv0ep+VjZ8w0cnkjk1th4IasTCxaLTK6MXuO6od s6OOCOsV7+ABHnOBs8DWtj+0s0eJVy6odKpwx4SRrirbFICuEt70B8GfzBbXl/NxG8XxWn 6VNHAWoxNfVD1AzO/4RDEhrU8rRlRL7vvMudrNLlfKFIaWNwCtBcwpUhGayPmsMPoz6Xs+ BbXXMEjIGYe+AG873ejmrEEVrSZtBV+Qp30vPvR/eU4ADehbjSRRhd/ecJszAym9gMtCZy 5E+a39JpoXi5E600mSTK0yVijH9CWRjvtxwUFDVzkvhxBVQeaCmSiliwCtUZcA== 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 4QLRW95cB0zZZw for ; Tue, 16 May 2023 19:43:49 +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 34GJhnRe054973 for ; Tue, 16 May 2023 19:43:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34GJhnet054972 for virtualization@FreeBSD.org; Tue, 16 May 2023 19:43:49 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 271456] srv-io mce(4) with bhyve: can't ping the vm Date: Tue, 16 May 2023 19:43:49 +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: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: benoitc@enki-multimedia.eu 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271456 Bug ID: 271456 Summary: srv-io mce(4) with bhyve: can't ping the vm Product: Base System Version: 13.2-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: benoitc@enki-multimedia.eu I have setup sriov on a mellanox ConnectX-4 Lx, mce(4) ``` PF { device: "mlx5_core0"; num_vfs: 8; } DEFAULT { passthrough: true; } VF-0 { passthrough: false; } VF-1 { mac-addr: "2e:79:38:0d:0f:9e"; passthrough: true; } ``` This provide me the `mce2` interface ConnectX-4 Lx and a bridge like this: ``` mce2: flags=3D8963 metric 0= mtu 9000 =20=20=20=20=20=20=20 options=3D7ead00b9 ether ba:88:73:e7:93:7d media: Ethernet 25GBase-SR status: active nd6 options=3D29 vm-public: flags=3D8843 metric 0 mt= u 9000 ether 6a:db:8d:8d:ff:63 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: tap0 flags=3D143 ifmaxaddr 0 port 8 priority 128 path cost 2000000 member: mce2 flags=3D143 ifmaxaddr 0 port 6 priority 128 path cost 55 groups: bridge vm-switch viid-4c918@ nd6 options=3D9 ``` when I start a freebsd vm with vm-bhyve, the vm start and is abble to acqui= re via dhcp the IP but I can't ping it.=20 When I start a vm using passthrough interface this is working as expected. = Any idea what could be the issue? --=20 You are receiving this mail because: You are the assignee for the bug.=