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

--- Comment #10 from David BOYER <[email protected]> ---
(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.

Reply via email to