virtio device is using Linux Kernel driver “virtio-pci”. You need to rebind it 
to ‘vfio-pci’ be able to use it in user-space.

There is a rebinding script in vpp:
https://git.fd.io/vpp/tree/extras/scripts/pci-nic-bind


-br

mohsin
From: <[email protected]> on behalf of "[email protected]" <[email protected]>
Date: Thursday, March 31, 2022 at 5:50 PM
To: "[email protected]" <[email protected]>
Subject: Re: [vpp-dev] Fastest way to connect application in user space to VPP 
#vpp

Thank Mohsin,

I create interface without DPDK like below:
create int virtio 0000:00:08.0 gso-enabl
but I got error:
create interface virtio: device not bound to 'vfio-pci' or 'uio_pci_generic' 
kernel module
I tried modprobe virtio_pci but still got it.
Do you know how to fix that?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21170): https://lists.fd.io/g/vpp-dev/message/21170
Mute This Topic: https://lists.fd.io/mt/90135014/21656
Mute #vpp:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to