-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can the mtl library run on a ubantu virtual machine #1010
Comments
Hi! Thank you for reaching out. Usually IOMMU enabled by default in BIOS, but it worth to check it.
Enable IOMMU or AMD-V: If you find this option, enable it, save the bios settings and exit.
Here is an example for VirtualBox:
If it won't help please share with us more details of your HW and SW:
|
I found that after I started Iommu, I still couldn't bind the vfio-pci driver. The error was as follows: dpdk-devbind.py -b vfio-pci 0000:02:06.0 Do you know why? |
Hi! Could you please share the output of Please don't forget to use sudo/root when you use dpdk-devbind.py script. |
root@ubantu22:~# dpdk-devbind.py -s Network devices using kernel driver0000:02:01.0 '82545EM Gigabit Ethernet Controller (Copper) 100f' if=ens33 drv=e1000 unused=vfio-pci Active Other Network devices0000:02:06.0 '82545EM Gigabit Ethernet Controller (Copper) 100f' unused=e1000,vfio-pci No 'Baseband' devices detectedNo 'Crypto' devices detectedNo 'DMA' devices detectedNo 'Eventdev' devices detectedNo 'Mempool' devices detectedNo 'Compress' devices detectedNo 'Misc (rawdev)' devices detectedNo 'Regex' devices detectedNo 'ML' devices detectedroot@ubantu22:~# dpdk-devbind.py -b vfio-pci 0000:02:06.0 |
Hi, it seems that the issue is Not having the dpdk device bound to the interface. The dpdk backend needs you to bind your VF / PF function to the dpdk driver So what you are looking for in your setup is to have
For it to work please try
the fact that the interfaces are not showing up with dpdk-devbind.py -s means that something is wrong with the environment If this does not work Does it work on the bare-metal machine? |
Closing due to inactivity |
I tried to turn on iommu on the virtual machine but failed. I don't know if I need to turn on some setting in the BIOS on my host machine. My host machine is a laptop with an AMD CPU.
The text was updated successfully, but these errors were encountered: