Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Nov 2025 21:31:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 290793] iovctl on mlx5en won't work
Message-ID:  <bug-290793-7501-9h4mv5CCSa@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-290793-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-290793-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290793

--- Comment #10 from David BOYER <jcduss13@gmail.com> ---
(In reply to Bjoern A. Zeeb from comment #9)

It's hard to tell. 

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                   
        SRIOV_EN                                    True(1)

This can be changed (enabling sriov and setting 4 VFs) : mstconfig -d
pci0:2:0:0 set SRIOV_EN=1 NUM_OF_VFS=4
Maybe your bios is not fully compatible or missing something, maybe something
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-290793-7501-9h4mv5CCSa>