Before you start vpp, please run the following commands and show in an example 
below.  Any interfaces you want to use in VPP must be disabled via ifconfig.



sudo modprobe vfio-pci

sudo ifconfig ens6f0 down

sudo ifconfig ens6f1 down



Hemant



From: [email protected] <[email protected]> On Behalf Of 
[email protected]
Sent: Wednesday, March 17, 2021 10:34 AM
To: [email protected]
Subject: [vpp-dev] virtual interfaces (virtio device) not accesible in the VPP 
21.01 release running on VM



Hi All,

We have deployed VPP 21.01 on centos 8.2 VM , and trying to add virtual 
network devices (virtio devices) into VPP, but the devices are not accessible 
in vpp:
vppctl:

vpp# show int address

local0 (dn):

The devices has been removed from the kernel , and are bind with the dpdk 
driver:

# dpdk-devbind --status



Network devices using kernel driver

===================================

0000:00:03.0 'RTL-8100/8101L/8139 PCI Fast Ethernet Adapter 8139' if=ens3 
drv=8139cp unused=8139too,uio_pci_generic *Active*



Other Network devices

=====================

0000:00:08.0 'Virtio network device 1000' unused=uio_pci_generic

0000:00:09.0 'Virtio network device 1000' unused=uio_pci_generic


where 0000:00:08.0 and 0000:00:09.0 is pci address of the virtio interafaces.

But still we cannot see the devices in show interface command on vppctl cli.

Following is the startup.conf file content related to dpdk device:



dpdk {

dev 0000:00:08.0 dev 0000:00:09.0

}

I am attaching the startup.conf file being used with this post .

Is this an open issue ? How can we fix this problem ?

Thanks and Regards,
Ashish

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18957): https://lists.fd.io/g/vpp-dev/message/18957
Mute This Topic: https://lists.fd.io/mt/81404293/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to