From nobody Sun Nov 23 21:31:06 2025 X-Original-To: net@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 4dF2FR1Fn0z6HS3c for ; Sun, 23 Nov 2025 21:31:07 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dF2FR0hphz3nFl for ; Sun, 23 Nov 2025 21:31:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1763933467; 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=Vh1ZuUHVg0zZ6mBq9r5ONPV1bNHsNMIG8d4kp6WNn0Y=; b=vd67PqFqWHVHtnAwEQWWnLlG7K0QREvqpt+a1rwkUzLFMUr7fiFqDSLkQ7UITbTV1g2Cs/ hzcw4pczuv5707vlbBpEyN+y2izceFX1nPUQfuXmO1HGE3TKqmWdllbmlyIRU3b+TgKjlP jex+KF4DD9jixHLDQug/pBivJNs5oXUVvZJI/w+9Q7R8OStV7odIb+jzh6g0Tqmox6yDEa U7pPnJ1AxGJyk4842K8JFv9UuMfmx1xtfXkj+NkMVSxUXpSAIMHwgWk2p7fmTS4p8pUgN3 DRAUMplQ8X2sbrMHQkP50qXjr2x+UxPoNufZdsWt2QNSRu++Sj91qUs19ow+Qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1763933467; 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=Vh1ZuUHVg0zZ6mBq9r5ONPV1bNHsNMIG8d4kp6WNn0Y=; b=OX+NBU2mLw1N6GVgvFVEpAU4JeXrdvK7m6orOJIBIm6RuD08XT+AZjK6yGoKcVLEkWMr14 lMjSUQhim8iCwH3qqKWKCOlu3DkkqkDEsApHZ1MD9FdfWw5AMqGD+DudZYayubpBBGFZIS qwt2cPFs2uG7YjNbn5GNoGFUF+clY16WhrMJUCcRrvIJ8kigj1IeOVHLYalulRiwsNqCG4 L5SRqzW0GbH06nVLs/hInnPMhnovJCFgEJasrMal2SQvI4twm2CcjHXB9MJZtLvzXv/TEq 2wz+51V2q/k5jGl/F81D0+mMSIOi9IVsY9xSYCMa7o52MTiGMUHR7mgLCdoX7w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1763933467; a=rsa-sha256; cv=none; b=spBonFgPaIgBntpGW7L7hAPJkYEuXDjfexf9x/8+78KGqFJdrNFDMtfWRDxProZI6MN7ts 527MrsddDPwiKnfzKgUtdt4krlliH9Z3NoK22zSpD/luqWceufOscOH6b2w/zF7CtYsNJi PGmMcf0cWksLzXQd5U8mEN0T+5Ylkw2gJq12TmJntYOKr0QYJE5hpgbi4IswS9E/8R0nJG sGwmFTVvENdYWrt6v0PO+gfPvnB46CFu+OiNQWtvfn8oufz3m4PBQOeIDK71ZjELTeD8vf lgnAiR/OBjg06QuWXZOsP0GDsm1utGIX88EFV8Z/G1eFWxtphA39ctoEaLfNxg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4dF2FR01MZzmHh for ; Sun, 23 Nov 2025 21:31:07 +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 5ANLV6xf010723 for ; Sun, 23 Nov 2025 21:31:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5ANLV6pe010722 for net@FreeBSD.org; Sun, 23 Nov 2025 21:31:06 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: net@FreeBSD.org Subject: [Bug 290793] iovctl on mlx5en won't work Date: Sun, 23 Nov 2025 21:31:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jcduss13@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D290793 --- Comment #10 from David BOYER --- (In reply to Bjoern A. Zeeb from comment #9) It's hard to tell.=20 You can install mstflint: pkg install -y mstflint Then execute: mstconfig -d pci0:2:0:0 q | grep -E 'NUM_OF_VFS|SRIOV_EN' NUM_OF_VFS -> number of VFS allowed SRIOV_EN -> sr-iov enabled On my computer: mstconfig -d pci0:1:0:0 q | grep -E 'NUM_OF_VFS|SRIOV_EN' NUM_OF_VFS 8=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 SRIOV_EN True(1) This can be changed (enabling sriov and setting 4 VFs) : mstconfig -d pci0:2:0:0 set SRIOV_EN=3D1 NUM_OF_VFS=3D4 Maybe your bios is not fully compatible or missing something, maybe somethi= ng else. From https://docs.nvidia.com/networking/display/mlnxofedv53100143/single+root+io= +virtualization+(sr-iov) "SR-IOV" must be enabled (obviously) but virtualization too. For AMD: > dmesg | grep --color -i svm For Intel: the freebsd forum says it shoudld be : dmesg | grep VT-x. But I cannot confirm. I know for sure that iommu must be enabled, but you already know. If that does not help, I might need more information. The models of your motherboard and cpu could help. --=20 You are receiving this mail because: You are the assignee for the bug.=