From nobody Sun Nov 5 18:04:40 2023 X-Original-To: freebsd-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 4SNj7B6JWPz4ynRW for ; Sun, 5 Nov 2023 18:04:54 +0000 (UTC) (envelope-from bchesneau@mac.com) Received: from qs51p00im-qukt01072502.me.com (qs51p00im-qukt01072502.me.com [17.57.155.15]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4SNj7B3Xr8z3RW9 for ; Sun, 5 Nov 2023 18:04:54 +0000 (UTC) (envelope-from bchesneau@mac.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=mac.com header.s=1a1hai header.b=RftMe5hY; spf=pass (mx1.freebsd.org: domain of bchesneau@mac.com designates 17.57.155.15 as permitted sender) smtp.mailfrom=bchesneau@mac.com; dmarc=pass (policy=quarantine) header.from=mac.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mac.com; s=1a1hai; t=1699207494; bh=2xfhKIrYr73pZgv2oPyweLgsgT6VR6Ww5dziCUyCpWA=; h=Content-Type:From:Mime-Version:Date:Subject:Message-Id:To; b=RftMe5hYSsunGzVpNsV4iwZFJpcDOzMbKSI9+w/KYrYpvF839NMhELm7JnMygbvVc qup38ijbAPB4V9c4ONRTan5PfftG1HwDVStH3voGIapAJYmwu9yvp8yPEtAvxRGGH7 0qpFnIRl4AxGDxx0gDH7sp5uoqgZ3xWXmvZP9tOoi3fBFcI8SaOmpkgRASFN4TJlyT 83j5arDjitSpxt3O47Oh/QesPyGe2MoA7GFgpobwnduMJ92W/0DrUI6s3V3odvRH6P GZj3OjWd8SZpHIBy6g4Q8/XbMzsXbjjhkkqc89hHg48V/tf30hWVmGN6wJgOG+Z99I wTDWNn1MMvZtw== Received: from smtpclient.apple (qs51p00im-dlb-asmtp-mailmevip.me.com [17.57.155.28]) by qs51p00im-qukt01072502.me.com (Postfix) with ESMTPSA id 5DE7B6EC030E for ; Sun, 5 Nov 2023 18:04:53 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Benoit Chesneau 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 (1.0) Date: Sun, 5 Nov 2023 19:04:40 +0100 Subject: generate mac "unique" mac address on a netzor Message-Id: <989CBD58-0CD9-4CE0-8D78-D540619DDFAF@mac.com> To: freebsd-virtualization@freebsd.org X-Mailer: iPhone Mail (21B80) X-Proofpoint-ORIG-GUID: sOEE4fM8kBJhfHRMb34gMcphJSKPqCxr X-Proofpoint-GUID: sOEE4fM8kBJhfHRMb34gMcphJSKPqCxr X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.425,18.0.572,17.11.62.513.0000000_definitions?= =?UTF-8?Q?=3D2022-01-11=5F01:2022-01-11=5F01,2020-02-14=5F11,2021-12-02?= =?UTF-8?Q?=5F01_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 clxscore=1011 mlxlogscore=410 mlxscore=0 spamscore=0 malwarescore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2308100000 definitions=main-2311050156 X-Spamd-Result: default: False [-3.57 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_MEDIUM(-0.97)[-0.969]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[mac.com,quarantine]; R_SPF_ALLOW(-0.20)[+ip4:17.57.155.0/24:c]; R_DKIM_ALLOW(-0.20)[mac.com:s=1a1hai]; ONCE_RECEIVED(0.10)[]; RCVD_IN_DNSWL_LOW(-0.10)[17.57.155.15:from]; MIME_GOOD(-0.10)[text/plain]; RWL_MAILSPIKE_GOOD(-0.10)[17.57.155.15:from]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; ASN(0.00)[asn:714, ipnet:17.57.155.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DKIM_TRACE(0.00)[mac.com:+]; TO_DN_NONE(0.00)[]; FREEMAIL_FROM(0.00)[mac.com]; DWL_DNSWL_NONE(0.00)[mac.com:dkim]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-virtualization@freebsd.org]; FREEMAIL_ENVFROM(0.00)[mac.com]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4SNj7B3Xr8z3RW9 X-Spamd-Bar: --- ip plan to setup multiple vms that are using sr-iov. is there any way to man= age private mac adresses that can be assignated to them?=20 Any good pattern/script that allows it? Do we have provate mac address block= s like for ips? Beno=C3=AEt= From nobody Sun Nov 5 18:23: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 4SNjYD6jnXz4ys90 for ; Sun, 5 Nov 2023 18:24:00 +0000 (UTC) (envelope-from shuriku@shurik.kiev.ua) Received: from mail.flex-it.com.ua (mail.flex-it.com.ua [193.239.74.7]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4SNjYC6zmgz3V7S for ; Sun, 5 Nov 2023 18:23:59 +0000 (UTC) (envelope-from shuriku@shurik.kiev.ua) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of shuriku@shurik.kiev.ua designates 193.239.74.7 as permitted sender) smtp.mailfrom=shuriku@shurik.kiev.ua; dmarc=none Received: from 93.183.208.50.ipv4.datagroup.ua ([93.183.208.50] helo=[192.168.200.105]) by mail.flex-it.com.ua with esmtpsa (TLS1.3) tls TLS_AES_128_GCM_SHA256 (Exim 4.96.2 (FreeBSD)) (envelope-from ) id 1qzhmo-0006Zu-2Z for virtualization@freebsd.org; Sun, 05 Nov 2023 20:23:50 +0200 Content-Type: multipart/alternative; boundary="------------4Nkxut0C0DbqjQ6v2J9HfmvT" Message-ID: <37b9c6c8-54d1-4978-abec-553d1694dc25@shurik.kiev.ua> Date: Sun, 5 Nov 2023 20:23:49 +0200 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 User-Agent: Mozilla Thunderbird Subject: Re: generate mac "unique" mac address on a netzor To: virtualization@freebsd.org References: <989CBD58-0CD9-4CE0-8D78-D540619DDFAF@mac.com> Content-Language: uk-UA From: Oleksandr Kryvulia In-Reply-To: <989CBD58-0CD9-4CE0-8D78-D540619DDFAF@mac.com> X-ACL-Warn: SPF failed. 93.183.208.50 is not allowed to send mail from shurik.kiev.ua. X-Spamd-Result: default: False [-3.28 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.99)[-0.988]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; XM_UA_NO_VERSION(0.01)[]; MLMMJ_DEST(0.00)[virtualization@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:35297, ipnet:193.239.72.0/22, country:UA]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[shurik.kiev.ua]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4SNjYC6zmgz3V7S X-Spamd-Bar: --- This is a multi-part message in MIME format. --------------4Nkxut0C0DbqjQ6v2J9HfmvT Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 05.11.23 20:04, Benoit Chesneau: > ip plan to setup multiple vms that are using sr-iov. is there any way to manage private mac adresses that can be assignated to them? > > Any good pattern/script that allows it? Do we have provate mac address blocks like for ips? > > Benoît In our virtual environment we generate unique mac addresses with hexdump -n3 -e'/3 "58:9c:fc" 3/1 ":%02x"' /dev/random --------------4Nkxut0C0DbqjQ6v2J9HfmvT Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit 05.11.23 20:04, Benoit Chesneau:
ip plan to setup multiple vms that are using sr-iov. is there any way to manage private mac adresses that can be assignated to them? 

Any good pattern/script that allows it? Do we have provate mac address blocks like for ips?

Benoît
In our virtual environment we generate unique mac addresses with

hexdump -n3 -e'/3 "58:9c:fc" 3/1 ":%02x"' /dev/random
--------------4Nkxut0C0DbqjQ6v2J9HfmvT-- From nobody Sun Nov 5 21:00:37 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 4SNn1y2kP8z50RRq for ; Sun, 5 Nov 2023 21:00:38 +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 4SNn1y0PPqz4P4f for ; Sun, 5 Nov 2023 21:00:38 +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=1699218038; 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=F/kJTiTWwZMrko2wwvN3dk5nexlpsFF6JYQ0UZRowQM=; b=wCDhdPCfhOAAHZW+GWG2GuhBmc8K1E3l6rGDLssgMqbsx/XRh6X0oeXN0QEyK6Xer6a2Lh P0C1e1MgjG2ozNlYMgm2Knc/BYvp0Xtdb7XFP+aT/68nIAStRgnaPklgJf4uvWK9tF2Go4 YbjrLN+pQblFXgCdtEmEf7PuB8WNDmFPaclvz398SXEyuuTaau06Mb8V7uFJL4C01zFql7 //4mfxPXm8zNhuJ5y7thjV0Y4TKBm5yaeS0IvpN6pqiyICQ6L91PJxR+v5aIt/PjRsA39J l6rtCgOKqaIx+xS5rBu0oVxWjqFvdVfht/LFNSbwFljH7pa2VAMLMnJ646Ughw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699218038; a=rsa-sha256; cv=none; b=QoDKxzVofdlfEtz1kL+1pX5OqjuaYm2MBHTgxLGoS6G3oKBdDOefo+CDoEoA0bXQbaCoFH /hwJNz2KPJ21LFLMxfRGGlQ6U9GXmDga+IaTSAgedMjQPYCbDZXLOwZn0ORsGjJ4zb6VWv Hk4XUS3VsgZ9HB7w58D9VkbhcJ3hksY24SvNiGl4efity3MpvV0SMiCRYoB4FrIeGAiywZ uESHa+aCTxws89OjK05zw++5jg+Txyssrf2epiMFnuxqLXUgWPEBwY0M52Wiatwu5dLCya WbbyLUCvIkCfZSU7L0aazWV1XWUOIKtRKPb5tUPtcTXe6XyqLz0yP0eoMbIzrg== 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 4SNn1x49pyzgBq for ; Sun, 5 Nov 2023 21:00:37 +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 3A5L0blT011603 for ; Sun, 5 Nov 2023 21:00:37 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3A5L0bGG011602 for virtualization@FreeBSD.org; Sun, 5 Nov 2023 21:00:37 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202311052100.3A5L0bGG011602@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: virtualization@FreeBSD.org Subject: Problem reports for virtualization@FreeBSD.org that need special attention Date: Sun, 5 Nov 2023 21:00:37 +0000 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 Content-Type: multipart/alternative; boundary="16992180375.d0Af.9223" Content-Transfer-Encoding: 7bit --16992180375.d0Af.9223 Date: Sun, 5 Nov 2023 21:00:37 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 247208 | mpt(4): VMWare virtualized LSI controller panics New | 240945 | [hyper-v] [netvsc] hn network driver incorrectly Open | 244838 | "bectl activate -t" does not honor the -t flag in 3 problems total for which you should take action. --16992180375.d0Af.9223 Date: Sun, 5 Nov 2023 21:00:37 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and obsolete releases.

Status      |    Bug Id | Description
------------+-----------+---------------------------------------------------
In Progress |    247208 | mpt(4): VMWare virtualized LSI controller panics 
New         |    240945 | [hyper-v] [netvsc] hn network driver incorrectly 
Open        |    244838 | "bectl activate -t" does not honor the -t flag in

3 problems total for which you should take action.
--16992180375.d0Af.9223-- From nobody Mon Nov 6 22:44:30 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 4SPRHL3byWz50VBT for ; Mon, 6 Nov 2023 22:44:30 +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 4SPRHL2Ztrz4Jhj for ; Mon, 6 Nov 2023 22:44:30 +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=1699310670; 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: in-reply-to:in-reply-to:references:references; bh=N+OaJ1Mi23C3wIogBmEySDfxQLaSU/WV4pHqFl5HEJY=; b=TzEurpiZsaUKDa+ZB/C4HI5T7jMH5U6suqZaeJjMIZRsgxdGmaetljPB09byRdSCI41GAD k7QqsNafmT9CgGeXXmzt3lKsM48IR8opWWvLVA+vahWsOd1utlsLPOjN3ySPvhT5OEWosh USoy6NNyvoQSTcISUNgViUnmv31TVXNiDpmWerypRaeE3VX3P9IOED/a/1Txhi0l47bMOV VI+naPYFJ8Homa/w1tB2uDb4DA+rp/QQpSwDnNMqGT7jXZ3KrIb756xRjbA55SWvgJZhrh iiA7Em3U5AKNuws8g59fdqQYWgANDJ0PW9nBxGS3hOGYEqf1V9YVT9dVhfDYOg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699310670; a=rsa-sha256; cv=none; b=a6QFwMu3ofXp8E8Rcy5rDWVO+XzBASH1KcP4YBeQ27+ZQOrGAB6t0ZzE1lg0GKcjMMbf5a 7Qe9ZZ5QZR2i2PAizNwEdhVm4HX+rupByNxcUvFtQv4b5OCPpvAO3gcWRN6msitPEz2ew4 kY6gph7sioD4mLpaFdo9ozxLfNU6Yvk77OmEijc2YLQ+5+znm+r9qbSFzFZg4fe4oM2TDx 5y/64EAAP7X75eP+SCQH5LPuGjHaN7OtEVy9vdRIJIvp+bPpvVh4AnLvbdC4vnCmBBzKqi Z0ZWO0LEBzX03gilmWOy4X02/8fJbQ9Y+vjupCfcOh9ua3eAhWTg7zotM/aZoQ== 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 4SPRHL1YCbzBFX for ; Mon, 6 Nov 2023 22:44:30 +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 3A6MiUNS047168 for ; Mon, 6 Nov 2023 22:44:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3A6MiUqZ047167 for virtualization@FreeBSD.org; Mon, 6 Nov 2023 22:44:30 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 273372] SR-IOV Networking in Bhyve Causes Chelsio T520-SO-CR to Fail on Host, Kernel Panic if Reset Date: Mon, 06 Nov 2023 22:44:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: bhyve, crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mark@markmcb.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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 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=3D273372 --- Comment #8 from Mark McBride --- ... the plot thickens. Out of curiosity I put a 2nd network card in the system and set it up with SR-IOV (and Intel X710-DA2). I enable 4 VFs, all passthrough. I booted up a virtual machine, got an IP just fine using one of the X710 vfs.=20 And then the Chelsio died!=20 To be sure, I connected to the system using serial-over-lan. Sure enough, I could connect to the virtual machine's console just fine and ping things ov= er the X710 vf, but the Chelsio card, which was not being used at all by the virtual machine was unresponsive. In short, enabling SR-IOV on an Intel X710 kills my Chelsio card that has 6= vfs for jails. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Nov 7 13:17:30 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 4SPpfg0XmCz502hf for ; Tue, 7 Nov 2023 13:17:31 +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 4SPpff6cNqz4NRv for ; Tue, 7 Nov 2023 13:17:30 +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=1699363050; 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: in-reply-to:in-reply-to:references:references; bh=8BVeG5q+nlKoLug/QHsJRRrsjInmKM83oUStNe56J6M=; b=ayQJaOjL31cE8ujhLY4YoRVQLqqW8lJRBSvvMmjJyIsqHKkFJN8x9HZQFzJ3yHdRMkmjWK 0demTvUnWhmM0f9veEhRsYZqqeJp5RBLrWg3iaU3tyMnSD91BDBaRgqcOmqM+nB5uqH8Lu w5NgpNWcF3ntp8/Zpq4YpUmqIdmLCHzdqaL8eHZ6yzn5IE7T9pHAOTSlBLWtlGRzmJ7h4s h5diJCMNmcTyZ8WgTCAqBNeysGbJyDjovddvK3lzauU9ThK2UaGzOfJpg4+dXYp+d07eRW tFowMqq3PFt7IyZdv4APouetwNWpCaxeryHYdGP1VdSFOKf8crj5RjuZgQ3ekw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699363050; a=rsa-sha256; cv=none; b=hXkkdU7/TWZ6ry4fgH8KOOU41Wit0snJl2si8HaqzP8K7J3EmiB95xvhxx5318puanrR8J L+S36x08jwkDvrxSObSl/skPCTgsp9qChOAE+8iLTxY2I+bGIM5ZWaemrPUTU6gwnPlTPF tCA4OZPRoQKdHhrwQaBknt6Tt1KHYVWNffkmb9nnrCZbD9g8SuAaInKkSpKhWezyhAGwx5 loR7cUfhWzulJe2ZAEGmNG/XxK9m48WLhHTr+7r6U+Nvqz6VEImXFFwGHOW1SKajErEJk2 abQDYf/QIPZ5sgGURGKx/ExcvfASC56wh5b/z7FD2YrJXzPvuJViIVt7K7PPoA== 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 4SPpff5gyQzs23 for ; Tue, 7 Nov 2023 13:17:30 +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 3A7DHU46084148 for ; Tue, 7 Nov 2023 13:17:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3A7DHUDn084146 for virtualization@FreeBSD.org; Tue, 7 Nov 2023 13:17:30 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 266325] vm ivhd bhyve nic passthru completely broken in 13.1 Date: Tue, 07 Nov 2023 13:17:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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 Many People X-Bugzilla-Who: attila.kover@guardian.co.uk X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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 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=3D266325 --- Comment #7 from attila.kover@guardian.co.uk --- This problem is still present in 14.0-RC4. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Nov 8 18:14:43 2023 X-Original-To: freebsd-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 4SQYCD6hqbz50kQP for ; Wed, 8 Nov 2023 18:14:48 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SQYCD2P26z3Rgn for ; Wed, 8 Nov 2023 18:14:48 +0000 (UTC) (envelope-from markjdb@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b="i/b2P7L+"; spf=pass (mx1.freebsd.org: domain of markjdb@gmail.com designates 2607:f8b0:4864:20::733 as permitted sender) smtp.mailfrom=markjdb@gmail.com; dmarc=none Received: by mail-qk1-x733.google.com with SMTP id af79cd13be357-77891f362cfso910585a.1 for ; Wed, 08 Nov 2023 10:14:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699467286; x=1700072086; darn=freebsd.org; h=content-disposition:mime-version:message-id:subject:to:from:date :sender:from:to:cc:subject:date:message-id:reply-to; bh=azPRpbDyR2R8jIt8TLUfXVUIDjEc2rGnjmlT4r2OUk8=; b=i/b2P7L+U3QH13Maxtn9JdCctncDhg8YjWcu402X8iW9eRhjUUmNY/FQBOV0uADn9C RTPJDEm3vgGtrKvD6WjlgZgFM7138PgNXLj6w3qZHonnXcu3zy2EuoSuCaGxYEzJQvI3 qksvxAYq6KstTtM08RihcqyVf81CL82vMwJT8VknqhxXNf6wbDU2R1rxFep6b2SDZ8EB lV/hVRcGMTC8zoIvHMVA/LFzF+x67y4bpmLI0f3GsEXDIoQsMRRpBdzsAIrZdMs5A/Wt xlDwjQN3zfG0G0/Sn1WUDFt9P+nDLUCbUp79lO3i1nPFaNXnllAjXXpXin3A5UgtdiVF D75Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699467286; x=1700072086; h=content-disposition:mime-version:message-id:subject:to:from:date :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=azPRpbDyR2R8jIt8TLUfXVUIDjEc2rGnjmlT4r2OUk8=; b=UwIjvdU4olYJzPQKML58tWHbxJbX3v/1RvIj9FRnADPFZ5WkxZEo08Q66OPmHJ6qDc z2FL6rbD5sIxoPvNiDshAy3ghm/5dh7s3uVQXzRzWFOScbkHNpi7FUgGAEk+qQjFme16 /0PsZOUIwI562Gz48vg9zvxLIP4CPOBwS2xntcBFo+GPCJDXbIHPZHwhTIkIejwzIqrv 8fX9WmPpCxjlW4uogXLpj7dVbxqxKWRY4znRqMcY9knBVh8catOFCAQCOxpjhk8SPhIX Kk1gXGdieQbDOdkbMzNQb0zzRbNKpPN1oxaPt3r8JifC1d0TcFbmkyAEvJp84yuFf120 sU+Q== X-Gm-Message-State: AOJu0Yy2pAqfQDcqjn3bV7AlY9zTX0GDpmupFVan4ff8WzaHeta4LwXp FXNM1n/5YxpO6hrMzWoWelSgbemRmEE= X-Google-Smtp-Source: AGHT+IHDgGBl918WvV3VeW5j9FBAXl6WSEEAgMobbvxMG2VhMJiFHeL+xlQ7xHvsJrvNRpDjuIMmDQ== X-Received: by 2002:a05:620a:172b:b0:76e:f73d:65ae with SMTP id az43-20020a05620a172b00b0076ef73d65aemr9183527qkb.6.1699467286511; Wed, 08 Nov 2023 10:14:46 -0800 (PST) Received: from nuc (192-0-220-237.cpe.teksavvy.com. [192.0.220.237]) by smtp.gmail.com with ESMTPSA id f16-20020ae9ea10000000b0076ee973b9a7sm1300704qkg.27.2023.11.08.10.14.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Nov 2023 10:14:46 -0800 (PST) Date: Wed, 8 Nov 2023 13:14:43 -0500 From: Mark Johnston To: freebsd-virtualization@freebsd.org Subject: user networking for bhyve Message-ID: 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spamd-Result: default: False [-2.69 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.993]; MID_RHS_NOT_FQDN(0.50)[]; FORGED_SENDER(0.30)[markj@freebsd.org,markjdb@gmail.com]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[]; DMARC_NA(0.00)[freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-virtualization@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::733:from]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FROM_NEQ_ENVFROM(0.00)[markj@freebsd.org,markjdb@gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4SQYCD2P26z3Rgn X-Spamd-Bar: -- Hello, I implemented a network backend for bhyve which uses libslirp to provide NAT on a virtual network. This enables some of the functionality one can get with "user" network devices in QEMU. I have a few use cases and particularly want to be able to ssh into guests without requiring any network configuration on the host. This will be handy when using bhyve to run CI jobs for FreeBSD. The patch along with a more detailed description is here: https://reviews.freebsd.org/D42510 Feedback and testing would be welcome. The main issue currently is that I'd like to be able to specify the same configuration parameter ("hostfwd") more than once, but the current config scheme appears to make that difficult. If anyone's interested in having guestfwd support for some purpose, please say so.