Dave,

 

You were right on the ball.  I realized, I didn't have latest DPDK installed
which is the root cause.  I installed latest DPDK on my machine using the
instructions here: https://core.dpdk.org/doc/quick-start/

 

Now the interface are seen in vpp once I shut them down in linux.

 

$ sudo ./build-root/install-vpp-native/vpp/bin/vpp unix interactive

vlib_pci_bind_to_uio: Skipping PCI device 0000:00:19.0 as host interface
eth0 is updpdk             [warn  ]: not enough DPDK crypto resources

dpdk/cryptodev   [warn  ]: dpdk_cryptodev_init: Not enough cryptodevs

vat-plug/load    [error ]: vat_plugin_register: oddbuf plugin not loaded...

    _______    _        _   _____  ___ 

 __/ __/ _ \  (_)__    | | / / _ \/ _ \

_/ _// // / / / _ \   | |/ / ___/ ___/

/_/ /____(_)_/\___/   |___/_/  /_/    

 

vpp# sh interface 

              Name               Idx    State  MTU (L3/IP4/IP6/MPLS)
Counter          Count     

GigabitEthernet1/0/0              1     down         9000/0/0/0     

GigabitEthernet3/0/0              2     down         9000/0/0/0     

GigabitEthernet3/0/1              3     down         9000/0/0/0     

local0                            0     down          0/0/0/0       

vpp#

 

thanks,

 

Hemant

 

From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Dave Barach
Sent: Sunday, December 06, 2020 7:49 AM
To: hem...@mnkcg.com; vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] don't see any interface but local0

 

Most likely, the corresponding Linux interface is up. Try running vpp
manually from the command-line, and look for messages of this form:

 

vlib_pci_bind_to_uio: Skipping PCI device 0000:00:1f.6 as host interface
eno2 is up

vlib_pci_bind_to_uio: Skipping PCI device 0000:02:00.0 as host interface
enp2s0f0 is up

vlib_pci_bind_to_uio: Skipping PCI device 0000:02:00.1 as host interface
enp2s0f1 is up

vlib_pci_bind_to_uio: Skipping PCI device 0000:03:00.0 as host interface
enp3s0f0 is up

 

We should change pci.c to put these messages in the vlib log. 

 

D.

 

P.S. "# <wsroot>/build-root/install-vpp-native/vpp/bin/vpp unix interactive"

 

From: vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io>  <vpp-dev@lists.fd.io
<mailto:vpp-dev@lists.fd.io> > On Behalf Of hemant via lists.fd.io
Sent: Saturday, December 5, 2020 9:21 PM
To: vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io> 
Subject: [vpp-dev] don't see any interface but local0

 

I am using latest VPP on Ubuntu 18.04. I have at least eth0-eth3 interfaces
on my machine.

 

This is a log for what I did and do not see any interface but local0 in the
output of "show interface"?

 

hemant@upper:~/vpp$ sudo make run-release

[sudo] password for hemant: 

WARNING: STARTUP_CONF not defined or file doesn't exist.

         Running with minimal startup config:  unix { interactive cli-listen
/run/vpp/cli.sock gid 0 } dpdk { no-pci } 

 

dpdk             [warn  ]: not enough DPDK crypto resources

dpdk/cryptodev   [warn  ]: dpdk_cryptodev_init: Not enough cryptodevs

vat-plug/load    [error ]:
/home/hemant/vpp/build-root/install-vpp-native/vpp/lib/vpp_api_test_plugins/
upf_test_plugin.so: undefined symbol: upf_main

vat-plug/load    [error ]: vat_plugin_register: oddbuf plugin not loaded...

    _______    _        _   _____  ___ 

 __/ __/ _ \  (_)__    | | / / _ \/ _ \

_/ _// // / / / _ \   | |/ / ___/ ___/

/_/ /____(_)_/\___/   |___/_/  /_/    

 

vpp# sh interface 

              Name               Idx    State  MTU (L3/IP4/IP6/MPLS)
Counter          Count     

local0                            0     down          0/0/0/0       

vpp#

 

I did search for the issue first and found:

 

https://www.mail-archive.com/vpp-dev@lists.fd.io/msg00609.html

 

But the above link does not clue me in.

 

Thanks,

 

Hemant

 

 

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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18259): https://lists.fd.io/g/vpp-dev/message/18259
Mute This Topic: https://lists.fd.io/mt/78747831/21656
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