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: <vpp-dev@lists.fd.io> on behalf of "long...@gmail.com" <long...@gmail.com>
Date: Thursday, March 31, 2022 at 5:50 PM
To: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io>
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: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to